Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,417 for example2 (0.3 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. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AnnotationProcessingSmokeTest.groovy

                import lombok.val;
    
                public class ValExample {
                  public String example() {
                    val example = new ArrayList<String>();
                    example.add("Hello, World!");
                    val foo = example.get(0);
                    return foo.toLowerCase();
                  }
    
                  public void example2() {
                    val map = new HashMap<Integer, String>();
                    map.put(0, "zero");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/listers/cr/v1/example.go

    }
    
    // Examples returns an object that can list and get Examples.
    func (s *exampleLister) Examples(namespace string) ExampleNamespaceLister {
    	return exampleNamespaceLister{listers.NewNamespaced[*v1.Example](s.ResourceIndexer, namespace)}
    }
    
    // ExampleNamespaceLister helps list and get Examples.
    // All objects returned here must be treated as read-only.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 11:15:04 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go

    	ExampleExpansion
    }
    
    // examples implements ExampleInterface
    type examples struct {
    	client rest.Interface
    	ns     string
    }
    
    // newExamples returns a Examples
    func newExamples(c *CrV1Client, namespace string) *examples {
    	return &examples{
    		client: c.RESTClient(),
    		ns:     namespace,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/route/route_test.go

    		serviceRegistry := map[host.Name]*model.Service{
    			"*.example.org":             exampleWildcardService,
    			"goodbye.hello.example.org": exampleNestedWildcardService,
    		}
    
    		wildcardIndex := map[host.Name]types.NamespacedName{
    			"*.example.org":       virtualServiceWithWildcardHost.NamespacedName(),
    			"*.hello.example.org": virtualServiceWithNestedWildcardHost.NamespacedName(),
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/listener_test.go

    	autoSvc.Resolution = model.Passthrough
    	autoSvc.Attributes.ServiceRegistry = provider.Kubernetes
    
    	extSvc := buildServiceWithPort("example1.com", 9999, protocol.TCP, tnow)
    	extSvc.Resolution = model.Passthrough
    	extSvc.Attributes.ServiceRegistry = provider.External
    
    	extSvcSelector := buildServiceWithPort("example2.com", 9999, protocol.TCP, tnow)
    	extSvcSelector.Resolution = model.Passthrough
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
Back to top