Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for test_script (0.17 sec)

  1. testing/internal-integ-testing/src/test/groovy/org/gradle/internal/scan/config/fixtures/ApplyDevelocityPluginFixtureTest.groovy

    class ApplyDevelocityPluginFixtureTest extends Specification {
    
        def "no special blocks"() {
            given:
            File file = File.createTempFile("test_script", ".tmp")
            file.write("includeBuild '../lib'")
            file.deleteOnExit()
    
            when:
            ApplyDevelocityPluginFixture.applyDevelocityPlugin(file)
    
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:24:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/cmd/go/scriptreadme_test.go

    well. Thus the example above runs in $WORK/gopath/src with GOPATH=$WORK/gopath
    and $WORK/gopath/src/hello.go containing the listed contents.
    
    {{.Language}}
    
    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
    - 7.9K bytes
    - Viewed (0)
  3. 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)
  4. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/containingDeclarationProvider/FirIdeNormalAnalysisScriptSourceModuleContainingModuleByFileTestGenerated.java

      }
    
      @Test
      @TestMetadata("script.kts")
      public void testScript() {
        runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingModuleByFile/script.kts");
      }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Mar 22 16:00:27 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. 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)
  6. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/containingDeclarationProvider/FirIdeDependentAnalysisScriptSourceModuleContainingModuleByFileTestGenerated.java

      }
    
      @Test
      @TestMetadata("script.kts")
      public void testScript() {
        runTest("analysis/analysis-api/testData/components/containingDeclarationProvider/containingModuleByFile/script.kts");
      }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Mar 22 16:00:27 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/symbols/FirIdeNormalAnalysisScriptSourceModuleSymbolByPsiTestGenerated.java

      }
    
      @Test
      @TestMetadata("script.kts")
      public void testScript() {
        runTest("analysis/analysis-api/testData/symbols/symbolByPsi/script.kts");
      }
    
      @Nested
      @TestMetadata("analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers")
      @TestDataPath("$PROJECT_ROOT")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Feb 16 12:48:24 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/cmd/go/go_test.go

    	// Enable the special behavior needed in cmd/go/internal/work,
    	// run the main func exported via export_test.go, and exit.
    	// We set CMDGO_TEST_RUN_MAIN via os.Setenv and testScript.setup.
    	if os.Getenv("CMDGO_TEST_RUN_MAIN") != "" {
    		cfg.SetGOROOT(cfg.GOROOT, true)
    		gover.TestVersion = os.Getenv("TESTGO_VERSION")
    		toolchain.TestVersionSwitch = os.Getenv("TESTGO_VERSION_SWITCH")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
Back to top