Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for mytext3 (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/filters/warning_test.go

    		{
    			name: "multiple",
    			args: []args{
    				{agent: "", text: "mytext1"},
    				{agent: "", text: "mytext2"},
    				{agent: "", text: "mytext3"},
    			},
    			expect: []string{
    				`299 - "mytext1"`,
    				`299 - "mytext2"`,
    				`299 - "mytext3"`,
    			},
    		},
    
    		{
    			name:   "invalid agent",
    			args:   []args{{agent: "my agent", text: "mytext"}},
    			expect: nil,
    		},
    		{
    			name:   "invalid text",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 01 16:14:06 UTC 2020
    - 4K 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. src/go/doc/comment/testdata/text3.txt

    Russ Cox <******@****.***> 1649017278 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:45 UTC 2022
    - 937 bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/TestLauncherTaskExecutionCrossVersionSpec.groovy

                ${mavenCentralRepository()}
    
                dependencies {
                    testImplementation 'junit:junit:4.13'
                }
            """
            file('src/test/java/MyTest.java') << '''
                public class MyTest {
    
                    @org.junit.Test
                    public void pass() {
                    }
    
                    // if the test task is executed without a filter then the build fails
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 7.3K 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. mockwebserver-junit5/README.md

    method parameter. It will be shut down automatically after the test runs.
    
    ```
    class MyTest {
      @Test
      void test(MockWebServer server) {
        ...
      }
    }
    ```
    
    Alternately you may add the [MockWebServer] as a constructor parameter:
    
    ```
    class MyTest {
      private final MockWebServer server;
    
      MyTest(MockWebServer server) {
        this.server = server;
      }
    
      @Test
      void test() {
        ...
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. 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)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r82/TestLauncherTestSpecCrossVersionSpec.groovy

                }
            }
    
            then:
            // 1 test class + 2 test method events
            stdout.toString().contains("Reusing configuration cache.")
            events.testClassesAndMethods.size() == 3
            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: Tue Sep 26 14:49:20 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  10. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsConcurrencyIntegrationTest.groovy

            given:
            setupProjects(CONCURRENT_BUILDS_PROJECT_COUNT) { projectDirName, buildFile ->
                buildFile << testablePluginProject()
                file("$projectDirName/src/test/groovy/MyTest.groovy") << gradleApiAndTestKitClassLoadingTestClass()
            }
    
            expect:
            concurrentBuildSucceed(CONCURRENT_BUILDS_PROJECT_COUNT, 'test')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top