Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for testJar (0.17 sec)

  1. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseClasspathIntegrationSpec.groovy

            """
    
            file('producer/build.gradle').text = """
    
                task testJar(type: Jar) {
                    archiveClassifier = "test"
                }
    
                configurations {
                    testArtifacts
                }
    
                configurations.testArtifacts.outgoing.artifact(testJar)
            """
    
            file('consumer/build.gradle').text = """
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileTreeTest.groovy

        }
    
        def testCanFilterAndSelectFiles() {
            File included1 = new File(testDir, 'subDir/included1')
            File included2 = new File(testDir, 'subDir2/included2')
            File excluded1 = new File(testDir, 'subDir/notincluded')
            File excluded2 = new File(testDir, 'subDir/excluded')
            File ignored1 = new File(testDir, 'ignored')
            [included1, included2, excluded1, excluded2, ignored1].each { File file ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  10. 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)
Back to top