Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 187 for test_ir (0.14 sec)

  1. src/cmd/go/testdata/script/mod_get_go_file.txt

    [symlink] rm test_sym.go
    
    # argument has .go suffix, is a directory and exists
    mkdir test_dir.go
    ! go get test_dir.go
    stderr 'go: test_dir.go: arguments must be package or module paths'
    rm test_dir.go
    
    # argument has .go suffix, is a directory and exists in sub-directory
    mkdir test/test_dir.go
    ! go get test/test_dir.go
    ! stderr 'arguments must be package or module paths'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:08 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/file/FileResolutionIntegrationTest.groovy

    def provider = project.provider { $expression }
    def f = files(provider)
    assert f.files as List == [file("testdir")]
    """
    
            expect:
            succeeds()
    
            where:
            expression                        | _
            "new File(projectDir, 'testdir')" | _
            "new File('testdir').toPath()"    | _
            "'testdir'"                       | _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 19:24:20 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. src/embed/internal/embedtest/embed_test.go

    var testDirAll embed.FS
    
    func TestDir(t *testing.T) {
    	all := testDirAll
    	testFiles(t, all, "testdata/hello.txt", "hello, world\n")
    	testFiles(t, all, "testdata/i/i18n.txt", "internationalization\n")
    	testFiles(t, all, "testdata/i/j/k/k8s.txt", "kubernetes\n")
    	testFiles(t, all, "testdata/ken.txt", "If a program is too slow, it must have a loop.\n")
    
    	testDir(t, all, ".", "testdata/")
    	testDir(t, all, "testdata/i", "i18n.txt", "j/")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 14 20:10:16 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java

    public class DictionaryManagerTest extends UnitFessTestCase {
        private File testDir;
    
        private File file1;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            testDir = File.createTempFile("synonymtest", "_dir");
            testDir.delete();
            testDir.mkdirs();
            file1 = new File(testDir, "synonym.txt");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskDestroyablesTest.groovy

            taskDestroys.registeredFiles.singleFile == testDir.file("a")
        }
    
        def "can declare multiple files that a task destroys"() {
            when:
            taskDestroys.register("a", "b")
    
            then:
            taskDestroys.registeredFiles.files == [testDir.file("a"), testDir.file("b")] as Set
        }
    
        def "can declare a file collection that a task destroys"() {
            def files = [testDir.file('a'), testDir.file('b')] as Set
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 03 07:26:07 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/initialization/DefaultSettingsTest.groovy

        }
    
        def 'can create project descriptor'() {
            String testName = "testname"
            File testDir = new File("testDir")
    
            when:
            DefaultProjectDescriptor projectDescriptor = settings.createProjectDescriptor(settings.getRootProject(), testName, testDir)
    
            then:
            settings.rootProject.is(projectDescriptor.parent)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 01 18:57:54 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/file/BaseDirFileResolverTest.groovy

                baseDirConverter.resolve(testDir.name, PathValidation.DIRECTORY)
                fail()
            } catch (InvalidUserDataException e) {
                assertThat(e.message, equalTo("Directory '$testDir.canonicalFile' does not exist.".toString()))
            }
        }
    
        @Test public void testPathValidationWithValidDirectory() {
            testDir.mkdir()
            baseDirConverter.resolve(testDir.name, PathValidation.DIRECTORY)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 29 17:15:52 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/groovy/scripts/TextResourceScriptSourceTest.java

            testDir = tmpDir.createDir("scripts");
            scriptFile = new File(testDir, "build.script");
            scriptFileUri = scriptFile.toURI();
            createJar();
        }
    
        private URI createJar() throws URISyntaxException {
            TestFile jarFile = tmpDir.getTestDirectory().file("test.jar");
            testDir.file("ignoreme").write("content");
            testDir.zipTo(jarFile);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 15 01:04:05 UTC 2023
    - 12K bytes
    - Viewed (0)
  9. cmd/kubelet/app/server_bootstrap_test.go

    	}
    	fi = getFileInfo(testDir)
    	if len(fi) != 2 {
    		t.Fatalf("Unexpected directory contents: %#v", fi)
    	}
    }
    
    func Test_buildClientCertificateManager_populateCertDir(t *testing.T) {
    	testDir, err := os.MkdirTemp("", "kubeletcert")
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer func() { os.RemoveAll(testDir) }()
    
    	// when no cert is provided, write nothing to disk
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 01 05:59:41 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/jdk7/Jdk7SymlinkTest.groovy

            createWindowsJunction(new File(testDirectory, 'testDir'), testDirectory.createDir('symDir'))
    
            then:
            symlink.isSymlink(new File(testDirectory, 'testDir'))
    
            cleanup:
            // Need to delete the junction point manually because it's not supported by JDK
            // See: https://bugs.openjdk.java.net/browse/JDK-8069345
            new File(testDirectory, 'testDir').delete()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top