Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 132 for test_ir (0.14 sec)

  1. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/FileCollectionSpec.groovy

            TestFile testDir = this.testDir.getTestDirectory()
            TestFile file1 = testDir.file("f1").createFile()
            TestFile dir1 = testDir.file("dir1").createDir()
            TestFile file2 = dir1.file("f2").createFile()
            TestFile missing = testDir.file("f3")
            testDir.file("f2").createFile()
            testDir.file("ignored1").createFile()
            dir1.file("f1").createFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/GccToolChainTest.groovy

        }
    
        def "resolves path entries"() {
            def testDir = tmpDirProvider.testDirectory
    
            when:
            toolChain.path "The Path"
            toolChain.path "Path1", "Path2"
    
            then:
            fileResolver.resolve("The Path") >> testDir.file("one")
            fileResolver.resolve("Path1") >> testDir.file("two")
            fileResolver.resolve("Path2") >> testDir.file("three")
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top