Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 176 for testDir (0.11 sec)

  1. android/guava-tests/test/com/google/common/io/IoTestCase.java

          try {
            File testFile = new File(testFileUrl.toURI());
            testDir = testFile.getParentFile(); // the testdata directory
          } catch (Exception ignore) {
            // probably URISyntaxException or IllegalArgumentException
            // fall back to copying URLs to files in the testDir == null block below
          }
        }
    
        if (testDir == null) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. test/README.md

    It includes black box tests, regression tests, and error output tests.
    They are run as part of all.bash.
    
    To run just these tests, execute:
    
    	../bin/go test cmd/internal/testdir
    
    To run just tests from specified files in this directory, execute:
    
    	../bin/go test cmd/internal/testdir -run='Test/(file1.go|file2.go|...)'
    
    Standard library tests should be written as regular Go tests in the appropriate package.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 17:18:08 UTC 2023
    - 731 bytes
    - Viewed (0)
  3. src/crypto/x509/root_unix_test.go

    			name:    "dir",
    			fileEnv: "",
    			dirEnv:  testDir,
    			files:   nil,
    			dirs:    nil,
    			cns:     []string{testDirCN},
    		},
    		{
    			// File & directory environment overrides both default locations.
    			name:    "file+dir",
    			fileEnv: testFile,
    			dirEnv:  testDir,
    			files:   nil,
    			dirs:    nil,
    			cns:     []string{testFileCN, testDirCN},
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 01 00:36:38 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy

            return [acceptedApiChanges: [:],
                publicApiPatterns: ['gradlebuild[.]binarycompatibility[.]rules.[^.]+'],
                apiChangesJsonFile: new File(testDir, 'test-api-changes.json').path,
                projectRootDir: testDir.path]
        }
    
        String replaceAsInternal(String name) {
            return name.replace('gradlebuild', 'gradlebuild.internal')
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ZincScalaCompileFixture.groovy

    import org.gradle.test.fixtures.file.TestDirectoryProvider
    
    
    class ZincScalaCompileFixture extends InitScriptExecuterFixture {
        ZincScalaCompileFixture(GradleExecuter executer, TestDirectoryProvider testDir) {
            super(executer, testDir)
        }
    
        @Override
        String initScriptContent() {
            return """
                allprojects {
                    $disableScalaDocIfInDaemonMode
                }
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/initialization/InstantiatingBuildLoaderTest.groovy

        def setup() {
            projectFactory = Mock(IProjectFactory)
            buildLoader = new InstantiatingBuildLoader()
            testDir = tmpDir.testDirectory
            (rootProjectDir = new File(testDir, 'root')).mkdirs()
            (childProjectDir = new File(rootProjectDir, 'child')).mkdirs()
            startParameter.currentDir = rootProjectDir
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 24 13:56:30 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/GccCompatibleNativeCompilerTest.groovy

        }
    
        def "arguments include GCC output flag and output file name"() {
            given:
            def compiler = getCompiler()
            def testDir = tmpDirProvider.testDirectory
            def outputFile = testDir.file("output.ext")
    
            when:
            def args = compiler.getOutputArgs(Stub(NativeCompileSpec), outputFile)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/WrapperPluginSpec.groovy

    import spock.lang.Specification
    
    @UsesNativeServices
    class WrapperPluginSpec extends Specification {
        @Rule
        public final TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass())
        def project = TestUtil.createRootProject(testDir.testDirectory)
    
        def "adds 'wrapper' task"() {
            when:
            project.pluginManager.apply WrapperPlugin
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/internal/DefaultNativeTestSuiteBinarySpecTest.groovy

    import spock.lang.Specification
    
    @UsesNativeServices
    class DefaultNativeTestSuiteBinarySpecTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass())
        final def testUtil = TestUtil.create(testDir)
    
        def tasks = new DefaultNativeTestSuiteBinarySpec.DefaultTasksCollection(new DefaultBinaryTasksCollection(null, null, CollectionCallbackActionDecorator.NOOP))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/VisualCppNativeCompilerTest.groovy

        }
    
        def "arguments include MSVC output flag and output file name"() {
            given:
            def compiler = getCompiler()
            def testDir = tmpDirProvider.testDirectory
            def outputFile = testDir.file("output.ext")
            def spec = Stub(compileSpecType)
    
            when:
            def args = compiler.getOutputArgs(spec, outputFile)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top