- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 248 for testLib (0.12 sec)
-
platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/plugins/CppBasePluginTest.groovy
"testDebug" | "linkTestDebug" | "installTestDebug" | "test/debug/" } def "adds link task for shared library"() { def baseName = project.objects.property(String) baseName.set("test_lib") def library = Stub(DefaultCppSharedLibrary) library.name >> name library.names >> Names.of(name) library.baseName >> baseName library.targetMachine >> Stub(CppPlatform)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 6.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ProgressLoggingFixture.groovy
private TestFile fixtureData ProgressLoggingFixture(GradleExecuter executer, TestDirectoryProvider testDir) { super(executer, testDir) } List<String> progressContent @Override String initScriptContent() { fixtureData = testDir.testDirectory.file("progress-fixture.log") """ import ${OutputEventListener.name} import ${OutputEvent.name}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 7.2K bytes - Viewed (0) -
platforms/software/platform-base/src/testFixtures/groovy/org/gradle/platform/base/PlatformBaseSpecification.groovy
import spock.lang.Specification abstract class PlatformBaseSpecification extends Specification { @Rule TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass()) final def project = TestUtil.create(testDir).rootProject() @Rule SetRuleContext setContext = new SetRuleContext() def realize(String name) { project.modelRegistry.find(name, ModelType.UNTYPED) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/ide/ide-native/src/test/groovy/org/gradle/ide/visualstudio/tasks/internal/RelativeFileNameTransformerTest.groovy
import static org.gradle.util.internal.TextUtil.normaliseFileSeparators class RelativeFileNameTransformerTest extends Specification { static rootDir = new File("root") @Rule TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass()) def "returns canonical path where file outside of root"() { expect: transform(relative, file) == normaliseFileSeparators(file.canonicalPath)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 5.7K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/initialization/InstantiatingBuildLoaderTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 24 13:56:30 UTC 2022 - 5.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ArtifactDependenciesIntegrationTest.groovy
repositories { maven { url '${repo.uri}' } } configurations { compile; missingExt; missingClassifier } dependencies { compile "org.gradle.test:lib:1.0" missingExt "org.gradle.test:lib:1.0@zip" missingClassifier "org.gradle.test:lib:1.0:classifier1" } task listJar { def files = configurations.compile doLast { files.each { } } } task listMissingExt {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 09 01:09:32 UTC 2024 - 23.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_vendor.txt
package b import ( "os" "testing" ) func TestDir(t *testing.T) { if _, err := os.Stat("../testdata/1"); err != nil { t.Fatalf("testdata: %v", err) } } -- a/foo/bar/c/main.go -- package c import _ "a/foo/bar/b" -- a/foo/bar/c/main_test.go -- package c import ( "os" "testing" ) func TestDir(t *testing.T) { if _, err := os.Stat("../../../testdata/1"); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 15 16:24:01 UTC 2023 - 7.5K bytes - Viewed (0) -
platforms/native/language-native/src/testFixtures/groovy/org/gradle/language/AbstractNativeProductionComponentDependenciesIntegrationTest.groovy
buildFile << """ ${componentUnderTestDsl} { binaries.getByName('mainDebug').configure { dependencies { implementation 'org.gradle.test:lib:1.0' } } } """ when: run(':assembleDebug') then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3K bytes - Viewed (0) -
platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/internal/DefaultNativeTestSuiteBinarySpecTest.groovy
import spock.lang.Specification @UsesNativeServices class DefaultNativeTestSuiteBinarySpecTest extends Specification { @Rule TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass()) final def testUtil = TestUtil.create(testDir) def tasks = new DefaultNativeTestSuiteBinarySpec.DefaultTasksCollection(new DefaultBinaryTasksCollection(null, null, CollectionCallbackActionDecorator.NOOP))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseScopeAttributeIntegrationTest.groovy
testImplementation 'junit:junit:4.13' } eclipse.classpath.file.whenMerged { def testDir = entries.find { entry -> entry.path == 'src/test/java' } def guavaDep = entries.find { entry -> entry.path.contains 'guava-18.0.jar' } testDir.entryAttributes['gradle_used_by_scope'] = 'test,integTest' guavaDep.entryAttributes['gradle_used_by_scope'] = 'main,test,integTest'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Nov 10 13:19:47 UTC 2023 - 8.8K bytes - Viewed (0)