Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 281 for testDir (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTaskFactoryTest.groovy

            missingFile = testDir.file("missing.txt")
            existingDir = testDir.file("dir").createDir()
            missingDir = testDir.file("missing-dir")
            missingDir2 = testDir.file("missing-dir2")
        }
    
        FileResolver getFileResolver() {
            return project.fileResolver
        }
    
        FileCollectionFactory getFileCollectionFactory() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  6. platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/internal/publisher/ValidatingMavenPublisherTest.groovy

                getExtension() >> "ext1"
                getClassifier() >> "classified"
                getFile() >> testDir.createFile('artifact1')
            }
            MavenArtifact artifact2 = Stub() {
                getExtension() >> "ext1"
                getClassifier() >> "classified"
                getFile() >> testDir.createFile('artifact2')
            }
            def projectIdentity = makeProjectIdentity("group", "artifact", "version")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 12K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/tasks/ant/AntTargetTest.java

    public class AntTargetTest {
        @Rule
        public TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass());
    
        private final Target antTarget = new Target();
        private final File baseDir = testDir.getTestDirectory();
        private final ProjectInternal project = TestUtil.create(testDir).rootProject();
        private final AntTarget task = TestUtil.createTask(AntTarget.class, project);
    
        @Before
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 30 07:54:03 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top