Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for testJar (0.26 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/ClosedProjectSubstitutionCrossVersionSpec.groovy

                project(":child1") {
                    configurations {
                        testArtifacts
                    }
                    task testJar(type: Jar) {
                        archiveClassifier = "tests"
                    }
                    artifacts {
                        testArtifacts testJar
                    }
                }
                project(":child2") {
                    dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/internal/tooling/eclipse/EclipseModelBuilderDependenciesTest.groovy

                it.repositories.flatDir {
                    dirs libsDir
                }
            }
    
            child1.configurations.create("testArtifacts")
            def task = child1.tasks.create("testJar", Jar) {
                archiveClassifier.set("tests")
                from(project.sourceSets.test.output)
            }
            child1.dependencies {
                implementation "fakegroup:test:1.0"
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 24 15:55:52 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. src/net/http/client_test.go

    // scope of all cookies.
    type TestJar struct {
    	m      sync.Mutex
    	perURL map[string][]*Cookie
    }
    
    func (j *TestJar) SetCookies(u *url.URL, cookies []*Cookie) {
    	j.m.Lock()
    	defer j.m.Unlock()
    	if j.perURL == nil {
    		j.perURL = make(map[string][]*Cookie)
    	}
    	j.perURL[u.Host] = cookies
    }
    
    func (j *TestJar) Cookies(u *url.URL) []*Cookie {
    	j.m.Lock()
    	defer j.m.Unlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  4. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/MavenConversionIntegrationTest.groovy

                val testsJar by tasks.registering(Jar::class) {
                    archiveClassifier = "tests"
                    from(sourceSets["test"].output)
                }
                '''.stripIndent().trim()))
            assertContainsPublishingConfig(rootBuildFile, scriptDsl, '', ['testsJar'])
    
            when: 'the generated task is executed'
            run 'clean', 'build', 'testJar'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 14 15:23:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

            assertThat(hoge.getStaticFieldValue(), is((Object) "hoge"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testAaa() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final FieldDesc aaa = beanDesc.getFieldDesc("aaa");
            assertThat(aaa.getBeanDesc(), is(sameInstance(beanDesc)));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

            given:
            def dir = testDir.file("thing.dir")
            classesDir(dir)
            def file = testDir.file("thing.jar")
            jar(file)
            def dir2 = testDir.file("thing2.dir")
            classesDir(dir2)
            def file2 = testDir.file("thing2.jar")
            jar(file2)
            def dir3 = testDir.file("thing3.dir")
            classesDir(dir3)
            def file3 = testDir.file("thing3.jar")
            jar(file3)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  7. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/fixtures/StaleOutputJavaProject.groovy

            this(testDir, buildDirName, null)
        }
    
        StaleOutputJavaProject(TestFile testDir, String buildDirName, String projectDir) {
            this.testDir = testDir
            this.projectDir = projectDir
            this.buildDirName = buildDirName
            this.projectPath = projectDir ? ":" + projectDir : ""
            mainSourceFile = writeJavaSourceFile('Main')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/internal/classpath/transforms/ClasspathElementTransformTest.groovy

            def outputJar = testDir.file("transformed.jar")
            return new JarTestFixture(transform(factory, originalJar, outputJar), 'UTF-8', null, /* checkManifest */ false)
        }
    
        private TestFile transformDirectory(TransformFactoryType factory, File originalDir) {
            def outputDir = testDir.file("transformed")
            return new TestFile(transform(factory, originalDir, outputDir))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 14 09:24:02 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/PerformanceTestGradleDistribution.groovy

        final GradleDistribution delegate
        final File testDir
    
        private TestFile gradleHome
    
        PerformanceTestGradleDistribution(GradleDistribution delegate, File testDir) {
            this.delegate = delegate
            this.testDir = testDir
        }
    
        TestFile getGradleHomeDir() {
            if (!gradleHome) {
                gradleHome = new TestFile(testDir.parentFile, testDir.name + "-gradle-home")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/NativeCompilerTest.groovy

            def testDir = tmpDirProvider.testDirectory
            def objectFileDir = testDir.file("output/objects")
            def sourceFiles = [testDir.file("source1.ext"), testDir.file("source2.ext")]
    
            when:
            def compileSpec = Stub(getCompileSpecType()) {
                getTempDir() >> testDir
                getObjectFileDir() >> objectFileDir
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top