Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getTestFile (0.07 sec)

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

      public void testRoundTripSources() throws Exception {
        File asciiFile = getTestFile("ascii.txt");
        ByteSource byteSource = Files.asByteSource(asciiFile);
        assertSame(byteSource, byteSource.asCharSource(UTF_8).asByteSource(UTF_8));
      }
    
      public void testToByteArray() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
        File i18nFile = getTestFile("i18n.txt");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/FilesTest.java

      public void testRoundTripSources() throws Exception {
        File asciiFile = getTestFile("ascii.txt");
        ByteSource byteSource = Files.asByteSource(asciiFile);
        assertSame(byteSource, byteSource.asCharSource(UTF_8).asByteSource(UTF_8));
      }
    
      public void testToByteArray() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
        File i18nFile = getTestFile("i18n.txt");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (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;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. 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;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. 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() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. 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) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. android/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) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. 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"));
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  9. 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
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. 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()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 9.8K bytes
    - Viewed (0)
Back to top