Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,099 for myHost (0.24 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/TestLauncherTestSpecCrossVersionSpec.groovy

                         .includeClass('example.MyTest')
                         .includeClass('example2.MyOtherTest2')
                }
            }
    
            then:
            events.testClassesAndMethods.size() == 5
            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
    - 12.2K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/compile/internal/test/testdata/ptrsort.go

    // make sure only one instantiation is created.
    
    import (
    	"fmt"
    
    	"cmd/compile/internal/test/testdata/mysort"
    )
    
    type MyString struct {
    	string
    }
    
    func (a *MyString) Less(b *MyString) bool {
    	return a.string < b.string
    }
    
    func main() {
    	mysort.F()
    
    	sl1 := []*mysort.MyInt{{7}, {1}, {4}, {6}}
    	mysort.Sort(sl1)
    	fmt.Printf("%v %v %v %v\n", sl1[0], sl1[1], sl1[2], sl1[3])
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 16 19:10:58 UTC 2022
    - 633 bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestTaskIntegrationTest.groovy

            given:
            buildFile << java9Build()
    
            file('src/test/java/MyTest.java') << standaloneTestClass
    
            when:
            succeeds 'test'
    
            then:
            noExceptionThrown()
    
            and:
            classFormat(classFile('java', 'test', 'MyTest.class')) == 53
    
        }
    
        @Requires(UnitTestPreconditions.Jdk9OrLater)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/test/integration/yaml_test.go

    			DoRaw(context.TODO())
    		if err != nil {
    			t.Fatal(err)
    		}
    		obj, err := decodeYAML(result)
    		if err != nil {
    			t.Fatal(err, string(result))
    		}
    		if obj.GetName() != "mytest" {
    			t.Fatalf("expected mytest, got %s", obj.GetName())
    		}
    		if obj.GetAPIVersion() != apiVersion {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 02 19:34:41 UTC 2021
    - 16.5K bytes
    - Viewed (0)
  8. 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)
  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/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/TestLauncherCrossVersionSpec.groovy

            assertTestNotExecuted(className: "example.MyTest")
        }
    
        def "can target specific test task and methods"() {
            when:
            launchTests { TestLauncher launcher ->
                launcher.withTaskAndTestMethods(':secondTest', "example.MyTest", ["foo2"])
            }
            then:
            assertTaskNotExecuted(":test")
            assertTaskExecuted(":secondTest")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top