Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for TestUsage (0.11 sec)

  1. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenGradleModuleMetadataPublishIntegrationTest.groovy

                def comp = new TestComponent()
                comp.usages.add(new TestUsage(
                        name: 'api',
                        usage: objects.named(Usage, 'api'),
                        dependencies: configurations.implementation.allDependencies,
                        attributes: testAttributes))
    
                comp.usages.add(new TestUsage(
                        name: 'impl',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 07:21:42 UTC 2023
    - 29.4K bytes
    - Viewed (0)
  2. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyGradleModuleMetadataPublishIntegrationTest.groovy

                def comp = new TestComponent()
                comp.usages.add(new TestUsage(
                        name: 'api',
                        usage: objects.named(Usage, 'api'),
                        dependencies: configurations.implementation.allDependencies,
                        attributes: testAttributes))
    
                comp.usages.add(new TestUsage(
                        name: 'impl',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 07:21:42 UTC 2023
    - 30.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/go/internal/test/test.go

    	"golang.org/x/mod/module"
    )
    
    // Break init loop.
    func init() {
    	CmdTest.Run = runTest
    }
    
    const testUsage = "go test [build/test flags] [packages] [build/test flags & test binary flags]"
    
    var CmdTest = &base.Command{
    	CustomFlags: true,
    	UsageLine:   testUsage,
    	Short:       "test packages",
    	Long: `
    'Go test' automates testing the packages named by the import paths.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top