- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 450 for assertEquals (0.53 sec)
-
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
assertEquals("", MoreFiles.getFileExtension(root())); assertEquals("", MoreFiles.getFileExtension(FS.getPath("."))); assertEquals("", MoreFiles.getFileExtension(FS.getPath(".."))); assertEquals("", MoreFiles.getFileExtension(FS.getPath("..."))); assertEquals("", MoreFiles.getFileExtension(FS.getPath("blah"))); assertEquals("", MoreFiles.getFileExtension(FS.getPath("blah.")));
Registered: 2024-11-01 12:43 - Last Modified: 2024-10-31 16:07 - 26.5K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/AbstractVersionTest.java
assertEquals(1, Integer.signum(v2.compareTo(v1)), "expected " + v2 + " > " + v1); assertNotEquals(v1, v2, "expected " + v1 + " != " + v2); assertNotEquals(v2, v1, "expected " + v2 + " != " + v1); } else { assertEquals(0, v1.compareTo(v2), "expected " + v1 + " == " + v2); assertEquals(0, v2.compareTo(v1), "expected " + v2 + " == " + v1);
Registered: 2024-11-03 03:35 - Last Modified: 2024-10-25 12:31 - 2.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java
public void testKeys() { resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k1(), v0())); Multiset<K> keys = multimap().keys(); assertEquals(2, keys.count(k0())); assertEquals(1, keys.count(k1())); assertEquals(3, keys.size()); assertContainsAllOf(keys, k0(), k1()); assertContainsAllOf( keys.entrySet(), Multisets.immutableEntry(k0(), 2), Multisets.immutableEntry(k1(), 1));
Registered: 2024-11-01 12:43 - Last Modified: 2024-10-30 16:15 - 4.2K bytes - Viewed (0) -
compat/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()); }
Registered: 2024-11-03 03:35 - Last Modified: 2024-10-25 12:31 - 3.5K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java
assertEquals("4.0.0", ReflectionValueExtractor.evaluate("project.modelVersion", project)); assertEquals("org.apache.maven", ReflectionValueExtractor.evaluate("project.groupId", project)); assertEquals("maven-core", ReflectionValueExtractor.evaluate("project.artifactId", project)); assertEquals("Maven", ReflectionValueExtractor.evaluate("project.name", project));
Registered: 2024-11-03 03:35 - Last Modified: 2024-10-25 12:31 - 16.9K bytes - Viewed (0) -
compat/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();
Registered: 2024-11-03 03:35 - Last Modified: 2024-10-25 12:31 - 7.3K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionRangeTest.java
assertContains(range, "2"); assertEquals(range, parseValid(range.toString())); } @Test void testLowerBoundInclusiveUpperBoundExclusive() { VersionRange range = parseValid("[1.2.3.4.5,1.2.3.4.6)"); assertContains(range, "1.2.3.4.5"); assertNotContains(range, "1.2.3.4.6"); assertEquals(range, parseValid(range.toString())); } @Test
Registered: 2024-11-03 03:35 - Last Modified: 2024-10-25 12:31 - 4.8K bytes - Viewed (0) -
compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java
validator.validate(model, problems); assertEquals(0, problems.messages.size()); Repository repo = new Repository(org.apache.maven.api.settings.Repository.newInstance(false)); prof.addRepository(repo); problems = new SimpleProblemCollector(); validator.validate(model, problems); assertEquals(2, problems.messages.size()); repo.setUrl("http://xxx.xxx.com");
Registered: 2024-11-03 03:35 - Last Modified: 2024-10-25 12:31 - 8.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java
resolver.resolve( project, Collections.singleton( Artifact.SCOPE_COMPILE ), session ); assertEquals( 0, artifactDependencies.size() ); artifactDependencies = resolver.resolve( project, Collections.singleton( Artifact.SCOPE_RUNTIME ), session ); assertEquals( 1, artifactDependencies.size() ); assertEquals( "b", artifactDependencies.iterator().next().getArtifactId() ); } */ @Test
Registered: 2024-11-03 03:35 - Last Modified: 2024-10-25 12:31 - 4.2K bytes - Viewed (0) -
compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/MojoDescriptorTest.java
param1.setDefaultValue("value1"); mojoDescriptor.addParameter(param1); assertEquals(1, mojoDescriptor.getParameters().size()); assertEquals( mojoDescriptor.getParameters().size(), mojoDescriptor.getParameterMap().size()); Parameter param2 = new Parameter(); param2.setName("param2"); param2.setDefaultValue("value2");
Registered: 2024-11-03 03:35 - Last Modified: 2024-10-25 12:31 - 1.8K bytes - Viewed (0)