- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 907 for testUtil (0.16 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/AbstractTypeMetadataWalkerTest.groovy
} def "instance walker should visit all nested nodes and properties"() { given: def firstProperty = TestUtil.propertyFactory().property(String).value("first-property") def secondProperty = TestUtil.propertyFactory().property(String).value("second-property") def thirdProperty = TestUtil.propertyFactory().property(String).value("third-property") def myTask = new MyTask() def nestedType = new NestedType()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 24.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/CopySpecMatchingTest.groovy
import org.gradle.api.internal.file.TestFiles import org.gradle.internal.Actions import org.gradle.util.TestUtil import spock.lang.Specification class CopySpecMatchingTest extends Specification { DefaultCopySpec copySpec = new DefaultCopySpec(TestFiles.fileCollectionFactory(), TestUtil.objectFactory(), TestUtil.instantiatorFactory().decorateLenient(), TestFiles.patternSetFactory) def canMatchFiles() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 28 12:39:32 UTC 2023 - 5K bytes - Viewed (0) -
platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/cpp/internal/DefaultCppTestSuiteTest.groovy
import org.gradle.util.TestUtil import org.gradle.util.UsesNativeServices import org.junit.Rule import spock.lang.Specification @UsesNativeServices class DefaultCppTestSuiteTest extends Specification { @Rule TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()) def project = TestUtil.createRootProject(tmpDir.testDirectory)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/internal/DefaultCppApplicationTest.groovy
import org.gradle.util.TestUtil import org.gradle.util.UsesNativeServices import org.junit.Rule import spock.lang.Specification @UsesNativeServices class DefaultCppApplicationTest extends Specification { @Rule TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()) def project = TestUtil.createRootProject(tmpDir.testDirectory)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/notations/ProjectDependencyFactoryTest.groovy
def capabilityNotationParser = new CapabilityNotationParserFactory(false).create() def depFactory = new DefaultProjectDependencyFactory( TestUtil.instantiatorFactory().decorateLenient(), true, capabilityNotationParser, TestUtil.objectFactory(), AttributeTestUtil.attributesFactory(), TestFiles.taskDependencyFactory() ) def factory = new ProjectDependencyFactory(depFactory)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 15 16:36:23 UTC 2023 - 2.7K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/dependencies/DefaultProjectDependencyConstraintTest.groovy
getVersion() >> "0.0.1" } def dependencyFactory = new DefaultProjectDependencyFactory( TestUtil.instantiatorFactory().decorateLenient(), true, new CapabilityNotationParserFactory(false).create(), TestUtil.objectFactory(), AttributeTestUtil.attributesFactory(), TestFiles.taskDependencyFactory() )
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 15 16:36:23 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/PreferJavaRuntimeVariantTest.groovy
import org.gradle.api.attributes.Usage import org.gradle.api.internal.attributes.MultipleCandidatesResult import org.gradle.util.TestUtil import spock.lang.Specification class PreferJavaRuntimeVariantTest extends Specification { final PreferJavaRuntimeVariant schema = new PreferJavaRuntimeVariant(TestUtil.objectInstantiator())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/TargetJvmVersionRulesTest.groovy
import org.gradle.util.SnapshotTestUtil import org.gradle.util.TestUtil import spock.lang.Specification import spock.lang.Unroll class TargetJvmVersionRulesTest extends Specification { private CompatibilityRule<Object> compatibilityRules private DisambiguationRule<Object> disambiguationRules def setup() { AttributesSchema schema = new DefaultAttributesSchema(TestUtil.instantiatorFactory(), SnapshotTestUtil.isolatableFactory())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 03 17:43:36 UTC 2023 - 3.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/NestedConfigureAutoCreateNamedDomainObjectContainerSpec.groovy
* limitations under the License. */ package org.gradle.api.internal import org.gradle.util.TestUtil import spock.lang.Specification class NestedConfigureAutoCreateNamedDomainObjectContainerSpec extends Specification { def instantiator = TestUtil.instantiatorFactory().decorateLenient() static class Container extends FactoryNamedDomainObjectContainer { String parentName
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 26 05:36:10 UTC 2018 - 3.5K bytes - Viewed (0) -
platforms/jvm/plugins-groovy/src/test/groovy/org/gradle/api/internal/tasks/DefaultGroovySourceSetTest.groovy
import org.gradle.util.TestUtil import org.gradle.util.internal.CollectionUtils import org.junit.Rule import spock.lang.Specification import static org.gradle.api.reflect.TypeOf.typeOf class DefaultGroovySourceSetTest extends Specification { @Rule TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 12 18:44:49 UTC 2023 - 2.7K bytes - Viewed (0)