- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for assertNull (0.55 sec)
-
maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java
assertNull(restriction.getUpperBound(), CHECK_UPPER_BOUND); assertFalse(restriction.isUpperBoundInclusive(), CHECK_UPPER_BOUND_INCLUSIVE); assertNull(range.getRecommendedVersion(), CHECK_VERSION_RECOMMENDATION); assertFalse(range.isSelectedVersionKnown(artifact), CHECK_SELECTED_VERSION_KNOWN); assertNull(range.getSelectedVersion(artifact), CHECK_SELECTED_VERSION);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 44.3K bytes - Viewed (0) -
maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java
assertNull(artifact.getVersion()); assertNull(artifact.getBaseVersion()); } @Test void testMNG7780() throws Exception { VersionRange vr = VersionRange.createFromVersionSpec("[1.0,2.0)"); artifact = new DefaultArtifact(groupId, artifactId, vr, scope, type, null, artifactHandler); assertNull(artifact.getVersion());
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon May 22 19:19:33 GMT 2023 - 6K bytes - Viewed (0) -
maven-api-impl/src/test/java/org/apache/maven/internal/impl/model/MavenModelMergerTest.java
import org.apache.maven.api.model.Profile; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; class MavenModelMergerTest { private MavenModelMerger modelMerger = new MavenModelMerger(); // modelVersion is neither inherited nor injected @Test void testMergeModel_ModelVersion() {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4.3K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/plugin/internal/DefaultLegacySupportTest.java
import org.apache.maven.execution.MavenExecutionRequest; import org.apache.maven.execution.MavenSession; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertNull; /** */ class DefaultLegacySupportTest { final CountDownLatch latch = new CountDownLatch(1); final DefaultLegacySupport defaultLegacySupport = new DefaultLegacySupport(); @Test
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) -
maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; @PlexusTest class TestApi { Session session; @Inject RepositorySystem repositorySystem; @Inject
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Apr 25 14:13:36 GMT 2024 - 9.9K bytes - Viewed (2) -
maven-core/src/test/java/org/apache/maven/lifecycle/MavenExecutionPlanTest.java
assertNull(beerPhase); } @Test void testFindLastInPhaseMisc() throws Exception { MavenExecutionPlan plan = LifecycleExecutionPlanCalculatorStub.getProjectAExecutionPlan(); assertNull(plan.findLastInPhase("pacXkage")); // Beer comes straight after package in stub, much like real life.
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.8K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
} @Test void testNonInheritedElementsInSubtreesOverriddenByChild() throws Exception { PomTestWrapper pom = buildPom("limited-inheritance/child"); assertNull(pom.getValue("organization/url")); assertNull(pom.getValue("issueManagement/system")); assertEquals(0, ((List<?>) pom.getValue("ciManagement/notifiers")).size());
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) -
api/maven-api-settings/src/test/java/org/apache/maven/api/settings/SettingsTest.java
* under the License. */ package org.apache.maven.api.settings; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; class SettingsTest { @Test void testSetLocalRepository() { Settings s = Settings.newInstance(); s = s.withLocalRepository("xxx");
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Sat Apr 15 17:24:20 GMT 2023 - 1.4K bytes - Viewed (0) -
maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; class DefaultProblemCollectorTest { @Test void testGetProblems() { DefaultProblemCollector collector = new DefaultProblemCollector(null); assertNotNull(collector.getProblems());
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Sat Apr 15 17:24:20 GMT 2023 - 2.7K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; @Deprecated class DefaultUpdateCheckManagerTest extends AbstractArtifactComponentTestCase { @Inject private ArtifactFactory artifactFactory;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 8.7K bytes - Viewed (0)