- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 88 for assertEquals (0.23 sec)
-
maven-core/src/test/java/org/apache/maven/project/GraphTest.java
Graph graph = new Graph(); graph.addVertex("a"); assertEquals(1, graph.getVertices().size()); assertEquals("a", graph.getVertex("a").getLabel()); graph.addVertex("a"); assertEquals(1, graph.getVertices().size()); assertEquals("a", graph.getVertex("a").getLabel()); graph.addVertex("b"); assertEquals(2, graph.getVertices().size()); assertFalse(hasEdge(graph, "a", "b"));
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Sep 22 06:02:04 GMT 2023 - 8.3K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java
model.setArtifactId("real-artifact"); MavenProject project = new MavenProject(model); assertEquals("test-group", project.getGroupId(), "groupId proto-inheritance failed."); assertEquals("real-artifact", project.getArtifactId(), "artifactId is masked."); assertEquals("1000", project.getVersion(), "version proto-inheritance failed."); // draw the NPE. project.getId(); }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Sat Apr 15 17:24:20 GMT 2023 - 8K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/inheritance/t00/ProjectInheritanceTest.java
assertEquals("Codehaus", p4.getOrganization().getName()); // ---------------------------------------------------------------------- // Value taken from super model // ---------------------------------------------------------------------- assertEquals("4.0.0", p4.getModelVersion()); assertEquals("4.0.0", p4.getModelVersion()); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 3.5K bytes - Viewed (0) -
maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java
void testGetVersionReturnsResolvedVersionOnSnapshot() { assertEquals(snapshotResolvedVersion, snapshotArtifact.getVersion()); // this is FOUL! // snapshotArtifact.isSnapshot(); assertEquals(snapshotSpecVersion, snapshotArtifact.getBaseVersion()); } @Test void testGetDependencyConflictId() {
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/DefaultSettingsValidatorTest.java
assertEquals(0, problems.size()); Repository repo = org.apache.maven.api.settings.Repository.newInstance(false); Settings model2 = Settings.newBuilder() .profiles(List.of(prof.withRepositories(List.of(repo)))) .build(); problems.clear(); problems = validator.validate(model2); assertEquals(2, problems.size());
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 8.6K bytes - Viewed (0) -
maven-builder-support/src/test/java/org/apache/maven/building/StringSourceTest.java
StringSource source = new StringSource("Hello World!"); assertEquals("(memory)", source.getLocation()); source = new StringSource("Hello World!", "LOCATION"); assertEquals("LOCATION", source.getLocation()); } @Test void testGetContent() { StringSource source = new StringSource(null); assertEquals("", source.getContent());
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Sat Apr 15 17:24:20 GMT 2023 - 1.8K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/canonical/CanonicalProjectBuilderTest.java
} } assertNotNull(plugin); assertEquals("1.0", plugin.getVersion()); XmlNode configuration = plugin.getDelegate().getConfiguration(); assertEquals( "src/conf/plexus.conf", configuration.getChild("plexusConfiguration").getValue()); assertEquals( "src/conf/plexus.properties",
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 3.5K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java
profileManager.addProfile(defaultActivated); List active = profileManager.getActiveProfiles(); assertNotNull(active); assertEquals(1, active.size()); assertEquals("defaultActivated", ((Profile) active.get(0)).getId()); } @Test void testShouldNotActivateDefaultProfile() throws Exception { Profile syspropActivated = new Profile();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 7.3K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java
"Child SCM developer connection is: " + project1.getScm().getDeveloperConnection()); assertEquals(project1.getScm().getUrl(), project0.getScm().getUrl() + "/modules/p1"); assertEquals(project1.getScm().getConnection(), project0.getScm().getConnection() + "/modules/p1"); assertEquals( project1.getScm().getDeveloperConnection(), project0.getScm().getDeveloperConnection() + "/modules/p1"); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 5.5K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/inheritance/t01/ProjectInheritanceTest.java
assertEquals("p0-org", p0.getOrganization().getName()); // ---------------------------------------------------------------------- // Check p1 value for org name // ---------------------------------------------------------------------- MavenProject p1 = getProject(projectFile("maven.t01", "p1")); assertEquals("p1-org", p1.getOrganization().getName());
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 3.5K bytes - Viewed (0)