Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for getTestFile (0.23 seconds)

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

        File asciiFile = getTestFile("ascii.txt");
        ByteSource byteSource = Files.asByteSource(asciiFile);
        assertThat(byteSource.asCharSource(UTF_8).asByteSource(UTF_8)).isSameInstanceAs(byteSource);
      }
    
      public void testToByteArray() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
        File i18nFile = getTestFile("i18n.txt");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

    import org.codehaus.plexus.testing.PlexusTest;
    import org.codehaus.plexus.util.FileUtils;
    import org.junit.jupiter.api.Disabled;
    import org.junit.jupiter.api.Test;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getTestFile;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/AbstractRepositoryTestCase.java

    import org.eclipse.aether.repository.LocalRepository;
    import org.eclipse.aether.repository.RemoteRepository;
    import org.junit.jupiter.api.BeforeEach;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getTestFile;
    
    @PlexusTest
    public abstract class AbstractRepositoryTestCase {
        @Inject
        protected RepositorySystem system;
    
        @Inject
        protected PlexusContainer container;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/AbstractProjectInheritanceTestCase.java

    import org.apache.maven.project.AbstractMavenProjectTestCase;
    import org.apache.maven.project.EmptyLifecycleBindingsInjector;
    import org.junit.jupiter.api.BeforeEach;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getTestFile;
    
    /**
     */
    @Deprecated
    public abstract class AbstractProjectInheritanceTestCase extends AbstractMavenProjectTestCase {
        protected String getTestSeries() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Feb 08 16:25:25 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/io/IoTestCase.java

          testDir = createTempDir();
        }
    
        return testDir;
      }
    
      /** Returns the file with the given name under the testdata directory. */
      protected final @Nullable File getTestFile(String name) throws IOException {
        File file = new File(getTestDir(), name);
        if (!file.exists()) {
          URL resourceUrl = IoTestCase.class.getResource("testdata/" + name);
          if (resourceUrl == null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 5.6K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDslReferencePlugin.java

                task.getLinksFile().convention(dslDocbook.flatMap(AssembleDslDocTask::getLinksFile));
    
                task.getDsldocUrl().convention("../dsl");
                task.getJavadocUrl().convention("../javadoc");
                task.getWebsiteUrl().convention("https://gradle.org");
    
                task.getDestFile().convention(dslReference.getStagingRoot().file("index.xml"));
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.7K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

        abstract RegularFileProperty getSourceFile();
    
        @PathSensitive(PathSensitivity.NONE)
        @InputFile
        abstract RegularFileProperty getLinksFile();
    
        @OutputFile
        abstract RegularFileProperty getDestFile();
    
        @Input
        abstract Property<String> getJavadocUrl();
        @Input
        abstract Property<String> getDsldocUrl();
        @Input
        abstract Property<String> getWebsiteUrl();
        @Input
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri May 16 07:58:02 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

        @PathSensitive(PathSensitivity.RELATIVE)
        @InputDirectory
        abstract DirectoryProperty getClassDocbookDirectory();
    
        @OutputFile
        abstract RegularFileProperty getDestFile();
    
        @OutputFile
        abstract RegularFileProperty getLinksFile();
    
        @TaskAction
        def transform() {
            XIncludeAwareXmlProvider provider = new XIncludeAwareXmlProvider()
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.8K bytes
    - Click Count (0)
Back to Top