Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TestUsage (0.12 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIvyPublishIntegrationTest.groovy

                class TestComponent implements SoftwareComponentInternal, ComponentWithVariants {
                    String name
                    Set usages = []
                    Set variants = []
                }
    
                class TestUsage implements UsageContext {
                    String name
                    Usage usage
                    Set dependencies = []
                    Set dependencyConstraints = []
                    Set artifacts = []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheMavenPublishIntegrationTest.groovy

                class TestComponent implements SoftwareComponentInternal, ComponentWithVariants {
                    String name
                    Set usages = []
                    Set variants = []
                }
    
                class TestUsage implements UsageContext {
                    String name
                    Usage usage
                    Set dependencies = []
                    Set dependencyConstraints = []
                    Set artifacts = []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. src/flag/flag_test.go

    				ok = g.Get() == time.Duration(7)
    			}
    			if !ok {
    				t.Errorf("Visit: bad value %T(%v) for %s", g.Get(), g.Get(), f.Name)
    			}
    		}
    	}
    	VisitAll(visitor)
    }
    
    func TestUsage(t *testing.T) {
    	called := false
    	ResetForTesting(func() { called = true })
    	if CommandLine.Parse([]string{"-x"}) == nil {
    		t.Error("parse did not fail for unknown flag")
    	}
    	if !called {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 22K bytes
    - Viewed (0)
Back to top