Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 281 for testDir (0.65 sec)

  1. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/swift/SwiftLinkerTest.groovy

            given:
            def testDir = tmpDirProvider.testDirectory
            def outputFile = testDir.file("output/lib")
    
            final expectedArgs = [
                    "-sys1", "-sys2",
                    "-emit-library",
                    "-o", outputFile.absolutePath,
                    testDir.file("one.o").absolutePath,
                    testDir.file("two.o").absolutePath,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9K 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. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/GccLinkerTest.groovy

            given:
            def testDir = tmpDirProvider.testDirectory
            def outputFile = testDir.file("output/lib")
    
            final expectedArgs = [
                    "-sys1", "-sys2",
                    "-shared",
                    getSoNameProp("installName"),
                    "-o", outputFile.absolutePath,
                    testDir.file("one.o").absolutePath,
                    testDir.file("two.o").absolutePath,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/TransformReplacerTest.groovy

        def "replaces original class with transformed in non-multi-release JAR"() {
            given:
            def original = jar(testDir.file("original.jar")) {
                manifest {}
    
                entry("Foo.class", ORIGINAL_CLASS)
            }
    
            def transformed = jar(testDir.file("transformed.jar")) {
                manifest {}
    
                entry("Foo.class", INSTRUMENTED_CLASS)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. 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)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ArchiveTaskPermissionsIntegrationTest.groovy

            given:
            TestFile testDir = createDir('root') {
                def testDir = testdir {
                    def testFile = file('reference.txt')
                    assertTrue testFile.setReadOnly()
                }
                testDir.setReadOnly()
            }
            testDir.setReadOnly()
            def archName = "test.${taskName.toLowerCase()}"
            testDir."$packMethod"(file(archName))
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 11 06:18:03 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top