- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 38 for _fail (1.79 sec)
-
maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
public void testValidationErrorUponNonUniqueDependencyKey() throws Exception { try { buildPom( "unique-dependency-key/deps" ); fail( "Non-unique dependency keys did not cause validation error" ); } catch ( ProjectBuildingException e ) { // expected } } @Test
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 93.2K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java
void testChecksumVerification() throws Exception { ArtifactRepositoryPolicy policy = new ArtifactRepositoryPolicy( true, ArtifactRepositoryPolicy.UPDATE_POLICY_ALWAYS, ArtifactRepositoryPolicy.CHECKSUM_POLICY_FAIL); ArtifactRepository repo = artifactRepositoryFactory.createArtifactRepository( "id", "string://url", new ArtifactRepositoryLayoutStub(), policy, policy);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 13.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java
/** * ReactorManager - unused */ @Deprecated public class ReactorManager { public static final String FAIL_FAST = "fail-fast"; public static final String FAIL_AT_END = "fail-at-end"; public static final String FAIL_NEVER = "fail-never"; public static final String MAKE_MODE = "make"; public static final String MAKE_DEPENDENTS_MODE = "make-dependents";
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Sep 22 06:02:04 GMT 2023 - 5.6K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/plugin/internal/DefaultLegacySupportTest.java
private volatile MavenSession session; public void run() { try { latch.await(); } catch (InterruptedException ignore) { // Test may fail if we get interrupted } session = defaultLegacySupport.getSession(); } public MavenSession getSession() { return session; } }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java
* @return the default value */ @Nonnull String defaultValue() default ""; /** * is the parameter required? * @return <code>true</code> if the Mojo should fail when the parameter cannot be injected */ boolean required() default false; /** * Specifies that this parameter cannot be configured directly by the user (as in the case of POM-specified
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Feb 05 09:45:47 GMT 2024 - 3.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java
import java.util.Set; import java.util.function.Predicate; import static java.util.stream.Collectors.toSet; /** * Container for storing the request from the user to activate or de-activate certain profiles and optionally fail the * build if those profiles do not exist. */ public class ProfileActivation { private final Map<String, ActivationSettings> activations = new HashMap<>(); /**
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 5.6K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/ProjectSorterTest.java
projects.add(project2); assertThrows( DuplicateProjectException.class, () -> new ProjectSorter(projects).getSortedProjects(), "Duplicate projects should fail"); } @Test void testMatchingIdsAndDifferentVersions() throws Exception { List<MavenProject> projects = new ArrayList<>();
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 12.4K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
legacySupport.setSession(session); } protected abstract String component(); /** * Return an existing file, not a directory - causes creation to fail. * * @throws Exception */ protected ArtifactRepository badLocalRepository() throws Exception { String path = "target/test-repositories/" + component() + "/bad-local-repository";
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 13.8K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
import org.codehaus.plexus.testing.PlexusTest; import org.eclipse.aether.DefaultRepositorySystemSession; import org.junit.jupiter.api.BeforeEach; import static org.junit.jupiter.api.Assertions.fail; import static org.mockito.Mockito.mock; /** */ @PlexusTest @Deprecated public abstract class AbstractMavenProjectTestCase { protected ProjectBuilder projectBuilder; @Inject
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 6.4K bytes - Viewed (0) -
maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java
@Test void testFileSource() { NullPointerException e = assertThrows( NullPointerException.class, () -> new FileSource((File) null), "Should fail, since you must specify a file"); assertEquals("file cannot be null", e.getMessage()); } @Test void testGetInputStream() throws Exception {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Feb 26 17:04:44 GMT 2024 - 2.2K bytes - Viewed (0)