Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for mytext3 (0.16 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TestProgressCrossVersionSpec.groovy

            def testClass = events.operation("Test class example.MyTest")
            testClass.descriptor.jvmTestKind == JvmTestKind.SUITE
            testClass.descriptor.name == 'example.MyTest'
            testClass.descriptor.displayName == 'Test class example.MyTest'
            testClass.descriptor.suiteName == 'example.MyTest'
            testClass.descriptor.className == 'example.MyTest'
            testClass.descriptor.methodName == null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/sameCallableIdFromDependencies.kt

    // FILE: util11.kt
    package my.pack
    
    fun Any.myExt() {}
    
    // FILE: util12.kt
    package my.pack
    
    val Any.myExt: Int get() = 10
    
    // MODULE: dep2
    // FILE: util21.kt
    package my.pack
    
    fun Any.myExt2() {}
    
    // FILE: util22.kt
    package my.pack
    
    val Any.myExt2: Int get() = 10
    
    // MODULE: main(dep1, dep2)
    // FILE: usage.kt
    package usage
    
    import my.pack.myExt
    import my.pack.myExt2
    
    fun test(a: Any) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Apr 29 19:19:13 UTC 2024
    - 476 bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/TestLauncherCrossVersionSpec.groovy

                launcher.withTaskAndTestClasses(':secondTest',["example.MyTest2"])
            }
            then:
            assertTaskNotExecuted(":test")
            assertTaskExecuted(":secondTest")
            assertTestExecuted(className: "example.MyTest2", methodName: "bar", task: ":secondTest")
            assertTestNotExecuted(className: "example.MyTest")
        }
    
        def "can target specific test task and methods"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/BuildScanPluginSmokeTest.groovy

            then:
            scanRunner("-Dorg.gradle.unsafe.isolated-projects=true")
                .build().output.contains("Build scan written to")
    
            when:
            createTest(file("project1"), "MyTest1")
            createTest(file("project2"), "MyTest1")
    
            then:
            with(scanRunner("-Dorg.gradle.unsafe.isolated-projects=true")
                .build()) {
                output.contains("Build scan written to")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r27/TestLauncherCrossVersionSpec.groovy

                launcher.withJvmTestClasses("example.MyTest")
                launcher.withJvmTestMethods("example.MyTest", "foo")
            }
    
            then:
            assertTestExecuted(className: "example.MyTest", methodName: "foo", task: ":test")
            assertTestExecuted(className: "example.MyTest", methodName: "foo", task: ":secondTest")
            assertTestExecuted(className: "example.MyTest", methodName: "foo2", task: ":secondTest")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/AbstractConsoleJvmTestLoggingFunctionalTest.groovy

                assert !taskOutput.contains("""MyTest > testExpectation ${TestLogEvent.STANDARD_OUT.consoleMarker}
        standard output""")
                assert !taskOutput.contains("""MyTest > testExpectation ${TestLogEvent.STANDARD_ERROR.consoleMarker}
        standard error""")
            } else {
                outputDoesNotContain("""MyTest > testExpectation ${TestLogEvent.STANDARD_OUT.consoleMarker}
        standard output""")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 14:21:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheToolingApiInvocationIntegrationTest.groovy

                println("script log statement")
            """
            file("src/test/java/my/MyTest.java") << """
                package my;
                import org.junit.Test;
                public class MyTest {
                    @Test public void test() {}
                }
            """
    
            when:
            runTestClasses("my.MyTest")
    
            then:
            outputContains("script log statement")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCrossVersionSpec.groovy

            when:
            launchTests(testDescriptors("example.MyTest"));
            then:
            assertTaskExecuted(":test")
            assertTaskExecuted(":secondTest")
    
            assertTestExecuted(className: "example.MyTest", methodName: "foo", task: ":test")
            assertTestExecuted(className: "example.MyTest", methodName: "foo", task: ":secondTest")
            assertTestExecuted(className: "example.MyTest", methodName: "foo2", task: ":test")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  9. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/FullExceptionFormatterTest.groovy

            exception.stackTrace = stacktrace
    
            expect:
            formatter.format(testDescriptor, [exception]) == '''\
        java.lang.Exception: ouch
            at org.ClassName1.methodName1(FileName1.java:11)
            at org.ClassName2.methodName2(FileName2.java:22)
            at ClassName$1$1.whatever(MyTest.java:22)
    '''
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGUpToDateCheckIntegrationTest.groovy

                }
            '''.stripIndent()
            file('suite.xml') << '''
                <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
                <suite name="MySuite">
                  <test name="MyTest">
                    <classes>
                      <class name="SomeTest" />
                    </classes>
                  </test>
                </suite>
            '''.stripIndent()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 18 12:30:10 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top