INITIALIZATION CONFIGURATION EXECUTION
include ':app', ':bypass'
include ':about', ':core', ':dribbble', ':designernews', ':search'
include ':test_shared'
project(':bypass').projectDir = new File(rootDir, 'third_party/bypass')
Slide 43
Slide 43 text
INITIALIZATION CONFIGURATION EXECUTION
include ':app', ':bypass'
include ':about', ':core', ':dribbble', ':designernews', ':search'
include ':test_shared'
project(':bypass').projectDir = new File(rootDir, 'third_party/bypass')
Slide 44
Slide 44 text
INITIALIZATION CONFIGURATION EXECUTION
include ':app', ':bypass'
include ':about', ':core', ':dribbble', ':designernews', ':search'
include ':test_shared'
project(':bypass').projectDir = new File(rootDir, 'third_party/bypass')
`when`("OutputPublisher is included") {
val project = ProjectBuilder.builder().build()
val talaiotExtension = project.extensions.create("ext", Extension::class.java, project)
talaiotExtension.publishers {
outputPublisher {
}
}
val publishers = PublishersProvider(project, logger).get()
then("instance of OutputPublisher is created") {
publishers.forAtLeastOne {
it is OutputPublisher
}
}
}
ProjectBuilder
Slide 57
Slide 57 text
ProjectBuilder
`when`("OutputPublisher is included") {
val project = ProjectBuilder.builder().build()
val talaiotExtension = project.extensions.create("talaiot", TalaiotExtension::class.java, project)
talaiotExtension.publishers {
outputPublisher {
}
}
val publishers = PublishersProvider(project, logger).get()
then("instance of OutputPublisher is created") {
publishers.forAtLeastOne {
it is OutputPublisher
}
}
}
Slide 58
Slide 58 text
`when`("OutputPublisher is included") {
val project = ProjectBuilder.builder().build()
val talaiotExtension = project.extensions.create("ext", Extension::class.java, project)
talaiotExtension.publishers {
outputPublisher {
}
}
val publishers = PublishersProvider(project, logger).get()
then("instance of OutputPublisher is created") {
publishers.forAtLeastOne {
it is OutputPublisher
}
}
}
ProjectBuilder
Slide 59
Slide 59 text
`when`("OutputPublisher is included") {
val project = ProjectBuilder.builder().build()
val talaiotExtension = project.extensions.create("ext", Extension::class.java, project)
talaiotExtension.publishers {
outputPublisher {
}
}
val publishers = PublishersProvider(project, logger).get()
then("instance of OutputPublisher is created") {
publishers.forAtLeastOne {
it is OutputPublisher
}
}
}
ProjectBuilder