Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,038 for example2 (0.64 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r27/TestLauncherCrossVersionSpec.groovy

            assertTestNotExecuted(className: "example2.MyOtherTest", methodName: "bar", task: ":test")
            assertTestNotExecuted(className: "example2.MyOtherTest2", methodName: "baz", task: ":test")
            assertTestNotExecuted(className: "example2.MyOtherTest", methodName: "bar", 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)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/TestLauncherTestSpecCrossVersionSpec.groovy

                }
            }
    
            then:
            events.testClassesAndMethods.size() == 7
            assertTestExecuted(className: 'example.MyTest', methodName: 'foo', task: ':test')
            assertTestExecuted(className: 'example.MyTest', methodName: 'foo2', task: ':test')
            assertTestExecuted(className: 'example2.MyOtherTest', methodName: 'bar', 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)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCrossVersionSpec.groovy

                assertTestNotExecuted(className: "example2.MyOtherTest")
            } else {
                assert events.tests.size() == 12
                assertTestExecuted(className: "example2.MyOtherTest")
            }
    
            assertTestNotExecuted(className: "example2.MyOtherTest", methodName: "bar", task: ":test")
            assertTestNotExecuted(className: "example2.MyOtherTest", methodName: "bar", task: ":secondTest")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  4. tests/test_schema_extra_examples.py

                return item
    
        @app.post("/examples/")
        def examples(
            item: Item = Body(
                examples=[
                    {"data": "Data in Body examples, example1"},
                    {"data": "Data in Body examples, example2"},
                ],
            ),
        ):
            return item
    
        with pytest.warns(DeprecationWarning):
    
            @app.post("/example_examples/")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 37.7K bytes
    - Viewed (0)
  5. tests/test_openapi_examples.py

        data: str
    
    
    @app.post("/examples/")
    def examples(
        item: Item = Body(
            examples=[
                {"data": "Data in Body examples, example1"},
            ],
            openapi_examples={
                "Example One": {
                    "summary": "Example One Summary",
                    "description": "Example One Description",
                    "value": {"data": "Data in Body examples, example1"},
                },
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 17K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/conversion_test.go

    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apiserver/pkg/apis/example"
    	examplev1 "k8s.io/apiserver/pkg/apis/example/v1"
    	example2v1 "k8s.io/apiserver/pkg/apis/example2/v1"
    )
    
    func initiateScheme(t *testing.T) *runtime.Scheme {
    	s := runtime.NewScheme()
    	require.NoError(t, example.AddToScheme(s))
    	require.NoError(t, examplev1.AddToScheme(s))
    	require.NoError(t, example2v1.AddToScheme(s))
    	return s
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/example2/v1/generated.pb.go

    func init() {
    	proto.RegisterType((*ReplicaSet)(nil), "k8s.io.apiserver.pkg.apis.example2.v1.ReplicaSet")
    	proto.RegisterType((*ReplicaSetSpec)(nil), "k8s.io.apiserver.pkg.apis.example2.v1.ReplicaSetSpec")
    	proto.RegisterType((*ReplicaSetStatus)(nil), "k8s.io.apiserver.pkg.apis.example2.v1.ReplicaSetStatus")
    }
    
    func init() {
    	proto.RegisterFile("k8s.io/apiserver/pkg/apis/example2/v1/generated.proto", fileDescriptor_c0d8f6d73eb5bf83)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy

                }
            """
    
            file("src/test/java/example2/MyOtherTest.java") << """
                package example2;
                public class MyOtherTest {
                    @org.junit.Test public void bar() throws Exception {
                         org.junit.Assert.assertEquals(2, 2);
                    }
                }
            """
            file("src/test/java/example2/MyOtherTest2.java") << """
                package example2;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    http::b@www.example.com  s:http pass:b h:www.example.com p:/
    http:/:b@www.example.com  s:http pass:b h:www.example.com p:/
    http://:b@www.example.com  s:http pass:b h:www.example.com p:/
    http:/:@/www.example.com
    http://user@/www.example.com
    http:@/www.example.com
    http:/@/www.example.com
    http://@/www.example.com
    https:@/www.example.com
    http:a:b@/www.example.com
    http:/a:b@/www.example.com
    http://a:b@/www.example.com
    http::@/www.example.com
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/logging/GroupedOutputFixtureTest.groovy

            def consoleOutput = """> Task :example1
    toast
    bacon
    eggs
    toast
    ham
    eggs
    > Task :example2
    toast
    ham
    eggs
    toast
    eggs
    """
            GroupedOutputFixture groupedOutput = new GroupedOutputFixture(LogContent.of(consoleOutput))
    
            when:
            groupedOutput.task(':example1').assertOutputContains("waffles")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 28.3K bytes
    - Viewed (0)
Back to top