Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 161 for testJar (0.15 sec)

  1. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/internal/tooling/eclipse/RunBuildDependenciesTaskBuilderTest.groovy

            [child1, child2].each {
                it.plugins.apply(JavaPlugin)
            }
    
            child1.configurations.create("testArtifacts")
            def task = child1.tasks.create("testJar", Jar) {
                archiveClassifier.set("tests")
                from(project.sourceSets.test.output)
            }
            child1.artifacts.add("testArtifacts", task)
            child2.dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pkg/env/var_test.go

    	}
    }
    
    func TestDesc(t *testing.T) {
    	reset()
    
    	_ = RegisterDurationVar(testVar+"5", 123*time.Second, "A duration")
    	_ = RegisterStringVar(testVar+"1", "123", "A string")
    	_ = RegisterIntVar(testVar+"2", 456, "An int")
    	_ = RegisterBoolVar(testVar+"3", true, "A bool")
    	_ = RegisterFloatVar(testVar+"4", 789.0, "A float")
    
    	vars := VarDescriptions()
    	if vars[0].Name != "TESTXYZ1" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  8. src/testing/match_test.go

    		{"TestFoo/bar/baz", "", "", "TestFoo", true, true},
    		{"TestFoo", "", "", "TestBar", false, false},
    		{"TestFoo/", "", "", "TestBar", false, false},
    		{"TestFoo/bar/baz", "", "", "TestBar/bar/baz", false, false},
    		{"", "TestBar", "", "TestFoo", true, false},
    		{"", "TestBar", "", "TestBar", false, false},
    
    		// Skipping a non-existent test doesn't change anything.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 14:48:54 UTC 2022
    - 8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top