Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 60 for mytext3 (0.11 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/DependencyHandlerApiResolveIntegrationTest.groovy

                    into libsDir
                }
    
                task verifyTestKitJars {
                    dependsOn resolveLibs
                }
            """
    
            file('src/test/java/com/gradle/example/MyTest.java') << javaClassReferencingTestKit()
        }
    
        def "gradleTestKit dependency API adds test-kit classes and can compile against them"() {
            given:
            buildFile << """
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 06:59:30 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. subprojects/build-events/src/integTest/groovy/org/gradle/build/event/BuildEventsIntegrationTest.groovy

                gradle.services.get(${BuildEventsListenerRegistry.name}).onTaskCompletion(listener)
            """
            file("src/test/groovy/my/MyTest.groovy") << """
                package my
                import org.gradle.testfixtures.*
                import org.junit.Test
                class MyTest {
                    @Test void test() {
                        def project = ProjectBuilder.builder().build()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r60/TestOutputCrossVersionSpec.groovy

                dependencies.${testImplementationConfiguration} 'junit:junit:4.13'
                test.ignoreFailures = true
            """
            file("src/test/java/example/MyTest.java") << """
                package example;
                public class MyTest {
                    @org.junit.Test public void works() throws Exception {
                        System.out.print("out1");
                        System.err.print("err1");
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/ObjectExtensionInstantiationIntegrationTest.groovy

                tasks.register("mytask") {
                    extensions.create("myext", MyExtension)
                    myext.prop = "foobar"
                    doLast {
                        println("myext.prop = " + myext.prop.get())
                    }
                }
            """
    
            expect:
            succeeds("mytask")
            outputContains("myext.prop = foobar")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 16.9K bytes
    - Viewed (0)
  5. pkg/test/framework/suite_test.go

    		{
    			caller:   "/home/me/go/src/istio.io/istio/some/path/mytest.go",
    			expected: "some_path",
    		},
    		{
    			caller:   "/home/me/go/src/istio.io/istio.io/some/path/mytest.go",
    			expected: "some_path",
    		},
    		{
    			caller:   "/home/me/go/src/istio.io/istio/tests/integration/some/path/mytest.go",
    			expected: "some_path",
    		},
    		{
    			caller:   "/work/some/path/mytest.go",
    			expected: "some_path",
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. src/cmd/internal/test2json/testdata/issue23036.json

    {"Action":"output","Test":"TestActualCase","Output":"        foo_test.go:14: Differed.\n"}
    {"Action":"output","Test":"TestActualCase","Output":"                Expected: MyTest:\n"}
    {"Action":"output","Test":"TestActualCase","Output":"                --- FAIL: Test output from other tool\n"}
    {"Action":"output","Test":"TestActualCase","Output":"                Actual: not expected\n"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 847 bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TestProgressDaemonErrorsCrossVersionSpec.groovy

                test.doLast {
                    ${server.callFromBuild('sync')}
                    Thread.sleep(120000)
                }
            """
    
            file("src/test/java/example/MyTest.java") << """
                package example;
                public class MyTest {
                    @org.junit.Test public void foo() throws Exception {
                         org.junit.Assert.assertEquals(1, 1);
                    }
                }
            """
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryFeaturePublishingIntegrationTest.groovy

                            requireCapability 'com.acme:mylib-integ-test-fixtures'
                        }
                    }
                }
            """
    
            file("src/integTest/java/MyTest.java") << """
                public class MyTest {
                    @org.junit.jupiter.api.Test
                    public void testSomething() {
                        assert MyFixture.answer() == 42;
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 13:02:41 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. src/cmd/internal/test2json/testdata/issue23036.test

    === RUN   TestActualCase
    --- FAIL: TestActualCase (0.00s)
            foo_test.go:14: Differed.
                    Expected: MyTest:
                    --- FAIL: Test output from other tool
                    Actual: not expected
    FAIL
    exit status 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 20:12:12 UTC 2018
    - 286 bytes
    - Viewed (0)
  10. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/KotlinPluginSmokeTest.groovy

                        implementation("org.jetbrains.kotlin:kotlin-test-junit5")
                    }
                }
            """
    
            ["test", "integTest"].each {
                file("src/$it/kotlin/MyTest.kt") << """
                    class MyTest {
                        @kotlin.test.Test
                        fun testSum() {
                            assert(2 + 2 == 4)
                        }
                    }
                """
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top