- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 124 for GetFile (0.04 seconds)
-
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java
assertTrue(result.isResolved(), "Expected " + result + ".isResolved() to return true"); Artifact artifact = result.getArtifact(); assertNotNull(artifact.getFile()); assertEquals(filename, artifact.getFile().getName()); } @Test void testResolveArtifacts() throws Exception { ArtifactRequest req1 = new ArtifactRequest();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 9.5K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/HandleInfoTest.java
HandleInfo info = new HandleInfo("/test/file.txt", testGuid, testFileId, HandleType.DURABLE_V2, 120000, null); assertNull(info.getFile()); Object mockFile = new Object(); info.setFile(mockFile); assertEquals(mockFile, info.getFile()); } @Test public void testToString() {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 4.6K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java
.get(1) .getActivation() .getFile() .getExists(); assertEquals(originalExists, resultExists); assertTrue(result.getEffectiveModel() .getProfiles() .get(1) .getActivation() .getFile() .getExists() .contains(BASE_DIR)); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 3.7K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
*/ public ContentOutputStream(final int threshold, final File tmpDir) { super(threshold, PREFIX, SUFFIX, tmpDir); } @Override public File getFile() { done = true; return super.getFile(); } /** * Closes the stream and deletes the temporary file if it was not retrieved. * If an error occurs during file deletion, it is logged but not thrown to avoidCreated: Sat Dec 20 09:13:53 GMT 2025 - Last Modified: Thu Nov 20 13:34:13 GMT 2025 - 3.9K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/FileSettingsSource.java
/** * Gets the settings file of this model source. * * @return The underlying settings file, never {@code null}. * @deprecated instead use {@link #getFile()} */ @Deprecated public File getSettingsFile() { return getFile(); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
artifact.getProperty(ArtifactProperties.TYPE, artifact.getExtension()), nullify(artifact.getClassifier()), handler); result.setFile(artifact.getFile()); result.setResolved(artifact.getFile() != null); List<String> trail = new ArrayList<>(1); trail.add(result.getId()); result.setDependencyTrail(trail); return result; }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 04 18:33:16 GMT 2025 - 15.8K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListenerTest.java
Artifact localRepositoryArtifact = mock(Artifact.class); when(localRepositoryArtifact.getFile()).thenReturn(new File(baseDir, "some/path/within")); Artifact nonLocalReposioryArtifact = mock(Artifact.class); when(nonLocalReposioryArtifact.getFile()).thenReturn(new File("something/completely/different"));Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 4.1K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolverTest.java
MavenProject war = session.getProjects().get(2); assertNull(war.getArtifactMap() .get("org.apache.maven.its.mng6300:mng6300-lib") .getFile()); lib.getArtifact().setFile(new File("lib.jar")); resolver.resolveProjectDependencies( war, scopesToCollect, scopesToResolve, session, aggregating, reactorArtifacts); assertEquals(
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java
return profile.getActivation() != null && profile.getActivation().getFile() != null; } @Override public boolean isActive(Profile profile) { Activation activation = profile.getActivation(); ActivationFile actFile = activation.getFile(); if (actFile != null) { // check if the file exists, if it does then the profile will be active
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.6K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java
Activation activation = profile.getActivation(); if (activation == null) { return false; } ActivationFile file = activation.getFile(); if (file == null) { return false; } String path; boolean missing; if (StringUtils.isNotEmpty(file.getExists())) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 4.4K bytes - Click Count (0)