Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 680 for example2 (0.25 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/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)
  3. 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)
  4. pkg/kubelet/cm/devicemanager/pod_devices_test.go

    	}
    }
    
    func TestDeviceRunContainerOptions(t *testing.T) {
    	const (
    		podUID        = "pod"
    		containerName = "container"
    		resource1     = "example1.com/resource1"
    		resource2     = "example2.com/resource2"
    	)
    	testCases := []struct {
    		description          string
    		gate                 bool
    		responsesPerResource map[string]*pluginapi.ContainerAllocateResponse
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. src/go/doc/example.go

    //     or Foo (with a "bar" suffix).
    //
    // Examples with malformed names are not associated with anything.
    func classifyExamples(p *Package, examples []*Example) {
    	if len(examples) == 0 {
    		return
    	}
    	// Mapping of names for funcs, types, and methods to the example listing.
    	ids := make(map[string]*[]*Example)
    	ids[""] = &p.Examples // package-level examples have an empty name
    	for _, f := range p.Funcs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/schema-extra-example.md

    This **OpenAPI-specific** `examples` goes in another section in the OpenAPI specification. It goes in the **details for each *path operation***, not inside each JSON Schema.
    
    And Swagger UI has supported this particular `examples` field for a while. So, you can use it to **show** different **examples in the docs UI**.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. fastapi/params.py

            **extra: Any,
        ):
            if example is not _Unset:
                warnings.warn(
                    "`example` has been deprecated, please use `examples` instead",
                    category=DeprecationWarning,
                    stacklevel=4,
                )
            self.example = example
            self.include_in_schema = include_in_schema
            self.openapi_examples = openapi_examples
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/concepts.md

    ### Example Tools to Run at Startup
    
    Some examples of the tools that can do this job are:
    
    * Docker
    * Kubernetes
    * Docker Compose
    * Docker in Swarm Mode
    * Systemd
    * Supervisor
    * Handled internally by a cloud provider as part of their services
    * Others...
    
    I'll give you more concrete examples in the next chapters.
    
    ## Restarts
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 18K bytes
    - Viewed (0)
  9. fastapi/openapi/models.py

        allowReserved: Optional[bool] = None
    
    
    class MediaType(BaseModelWithConfig):
        schema_: Optional[Union[Schema, Reference]] = Field(default=None, alias="schema")
        example: Optional[Any] = None
        examples: Optional[Dict[str, Union[Example, Reference]]] = None
        encoding: Optional[Dict[str, Encoding]] = None
    
    
    class ParameterBase(BaseModelWithConfig):
        description: Optional[str] = None
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/build_environment.adoc

    === Using system properties
    
    The following examples demonstrate how to use system properties:
    
    *Example 1:* Setting system properties with a `gradle.properties` file:
    ====
    include::sample[dir="snippets/tutorial/systemProperties/groovy",files="gradle.properties[]"]
    ====
    
    *Example 2:* Reading system properties at configuration time:
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 20.1K bytes
    - Viewed (0)
Back to top