- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for getTestFile (0.2 sec)
-
maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java
* * @throws Exception in case of issue */ @Test void testBuildFromMiddlePom() throws Exception { File f1 = getTestFile("src/test/resources/projects/grandchild-check/child/pom.xml"); File f2 = getTestFile("src/test/resources/projects/grandchild-check/child/grandchild/pom.xml"); getProject(f1);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Jun 19 15:04:04 GMT 2023 - 16.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
File asciiFile = getTestFile("ascii.txt"); ByteSource byteSource = Files.asByteSource(asciiFile); assertSame(byteSource, byteSource.asCharSource(Charsets.UTF_8).asByteSource(Charsets.UTF_8)); } public void testToByteArray() throws IOException { File asciiFile = getTestFile("ascii.txt"); File i18nFile = getTestFile("i18n.txt");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 22.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
File asciiFile = getTestFile("ascii.txt"); ByteSource byteSource = Files.asByteSource(asciiFile); assertSame(byteSource, byteSource.asCharSource(Charsets.UTF_8).asByteSource(Charsets.UTF_8)); } public void testToByteArray() throws IOException { File asciiFile = getTestFile("ascii.txt"); File i18nFile = getTestFile("i18n.txt");
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 22.2K bytes - Viewed (0) -
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;
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 13.4K bytes - Viewed (0) -
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() {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 2.1K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerTest.java
import org.junit.jupiter.api.Test; import static org.codehaus.plexus.testing.PlexusExtension.getTestFile; import static org.junit.jupiter.api.Assertions.assertEquals; @PlexusTest class ArtifactHandlerTest { @Inject PlexusContainer container; @Test void testAptConsistency() throws Exception { File apt = getTestFile("src/site/apt/artifact-handlers.apt");
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Dec 14 10:51:16 GMT 2023 - 3.9K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/internal/transformation/AbstractRepositoryTestCase.java
import org.eclipse.aether.transfer.TransferListener; import org.junit.jupiter.api.BeforeEach; import org.mockito.Mockito; import static org.codehaus.plexus.testing.PlexusExtension.getTestFile; @PlexusTest public abstract class AbstractRepositoryTestCase { @Inject protected RepositorySystem system; @Inject protected PlexusContainer container;
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Apr 23 12:55:57 GMT 2024 - 3.4K bytes - Viewed (0) -
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) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 5.6K bytes - Viewed (0) -
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) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 5.6K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java
import org.codehaus.plexus.configuration.DefaultPlexusConfiguration; import org.codehaus.plexus.util.Os; 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.assertInstanceOf; import static org.junit.jupiter.api.Assertions.assertNotNull;
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Dec 05 08:11:33 GMT 2023 - 18.6K bytes - Viewed (0)