- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 226 for expect (0.09 sec)
-
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileTreeTest.groovy
file.parentFile.mkdirs() file.text = 'some text' } expect: assertSetContainsForAllTypes(fileTree, 'subDir/included1', 'subDir2/included2') } def testIsEmptyWhenBaseDirDoesNotExist() { fileTree.dir = new File(testDir, 'does not exist') expect: fileTree.files.empty fileTree.empty assertSetContainsForAllTypes(fileTree)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 11.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/r54/KotlinBuildScriptModelCrossVersionSpec.groovy
expect: assertCanFetchClassPathOfScriptPlugin("") } def "can fetch classpath of script plugin with compilation errors"() { expect: assertCanFetchClassPathOfScriptPlugin("val p = ") } def "can fetch classpath of script plugin with buildscript block compilation errors"() { expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 08:52:51 UTC 2023 - 17.5K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultFileCollectionFactoryTest.groovy
} def "constructs a configurable collection"() { expect: def collection = factory.configurableFiles("some collection") collection.files.empty collection.buildDependencies.getDependencies(null).empty collection.toString() == "some collection" } def "constructs an empty collection"() { expect: def collection = FileCollectionFactory.empty()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 13.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelMapIntegrationTest.groovy
} apply plugin: Rules model { components { main(NonRegisteredComponent) {} } } """ expect: fails "components" failure.assertHasCause("Cannot create an instance of type 'NonRegisteredComponent' as this type is not known. Known types: ${ComponentSpec.name}, SampleComponent.") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 11.1K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/AbstractFileCollectionTest.groovy
def collection = new TestFileCollection(file) expect: collection.getSingleFile().is(file) } void failsToGetSingleFileWhenCollectionContainsMultipleFiles() { File file1 = new File("f1") File file2 = new File("f2") TestFileCollection collection = new TestFileCollection(file1, file2) expect: try { collection.getSingleFile() fail()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 13.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/MapPropertyIntegrationTest.groovy
} '''.stripIndent() expect: succeeds('verify') } def "has no value when providing a null map to a map property"() { given: buildFile << ''' verify { prop.putAll(project.provider { null }) expected = null } '''.stripIndent() expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 04 15:28:53 UTC 2024 - 24.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedByRuleMethodIntegrationTest.groovy
} } class OtherRules extends RuleSource { } apply plugin: MyPlugin ''' expect: fails("model") failure.assertHasCause("Exception thrown while executing model rule: MyPlugin#rules") failure.assertHasCause("broken") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 18.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/CollectionPropertyIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 19:57:00 UTC 2024 - 15K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParallelConfigurationIntegrationTest.groovy
""" apply(testDirectory) apply(file("a")) apply(file("b")) // Prebuild buildSrc server.expect("configure-root") server.expect("configure-a") server.expect("configure-b") run() given: server.expect("configure-root") server.expectConcurrent("model-root", "configure-a", "configure-b") server.expectConcurrent("model-a", "model-b")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 10.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyAssignmentIntegrationTest.groovy
def "test Groovy eager object types assignment for #description"() { def inputDeclaration = "$inputType input" groovyBuildFile(inputDeclaration, inputValue, "=") expect: runAndAssert("myTask", expectedResult) where: description | inputType | inputValue | expectedResult
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 28 14:39:49 UTC 2023 - 36.6K bytes - Viewed (0)