Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TestScript (0.26 sec)

  1. src/cmd/go/testdata/script/README

    the user is not root. Multiple conditions may be given for a single command,
    for example, '[linux] [amd64] skip'. The command will run if all conditions are
    satisfied.
    
    When TestScript runs a script and the script fails, by default TestScript shows
    the execution of the most recent phase of the script (since the last # comment)
    and only shows the # comments for earlier phases. For example, here is a
    multi-phase script with a bug in it:
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. src/cmd/go/script_test.go

    	"golang.org/x/telemetry/counter/countertest"
    )
    
    var testSum = flag.String("testsum", "", `may be tidy, listm, or listall. If set, TestScript generates a go.sum file at the beginning of each test and updates test files if they pass.`)
    
    // TestScript runs the tests in testdata/script/*.txt.
    func TestScript(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	testenv.SkipIfShortAndSlow(t)
    
    	srv, err := vcstest.NewServer()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy

            }
        }
    
        def "value source can use standard process API"() {
            given:
            def configurationCache = newConfigurationCacheFixture()
            ShellScript testScript = ShellScript.builder().printText("Hello, world").writeTo(testDirectory, "script")
    
            buildFile.text = """
                import ${ByteArrayOutputStream.name}
                import org.gradle.api.provider.*
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectTest.groovy

        ProjectEvaluator projectEvaluator = Mock(ProjectEvaluator)
    
        ProjectRegistry projectRegistry
    
        File rootDir
        File buildFile
    
        groovy.lang.Script testScript
    
        ScriptSource script = Stub(ScriptSource)
    
        ServiceRegistry serviceRegistryMock
        ServiceRegistryFactory projectServiceRegistryFactoryMock
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top