- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for assertNotSame (0.05 seconds)
-
compat/maven-builder-support/src/test/java/org/apache/maven/building/ProblemCollectorFactoryTest.java
import java.util.Collections; import java.util.List; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotSame; class ProblemCollectorFactoryTest { @Test void testNewInstance() { ProblemCollector collector1 = ProblemCollectorFactory.newInstance(null);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Jul 20 20:19:43 GMT 2025 - 2.3K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/artifact/DefaultMavenMetadataCacheTest.java
a2.setDependencyFilter(new ExcludesArtifactFilter(Arrays.asList("foo"))); // sanity checks assertNotSame(a1, a2); assertNotSame(lr1, lr2); assertNotSame(rr1, rr2); DefaultMavenMetadataCache.CacheKey k1 = new DefaultMavenMetadataCache.CacheKey(a1, false, lr1, Collections.singletonList(rr1));
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/execution/DefaultMavenExecutionTest.java
import java.util.List; import org.apache.maven.project.MavenProject; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNotSame; import static org.junit.jupiter.api.Assertions.assertTrue; /** */ class DefaultMavenExecutionTest { @Test void testCopyDefault() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.9K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.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.assertNotSame; import static org.junit.jupiter.api.Assertions.assertTrue; class MavenProjectTest extends AbstractMavenProjectTestCase { @TestCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 28 09:44:37 GMT 2025 - 9.3K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java
import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNotSame; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; @PlexusTest
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java
public void testStringAssertions() { String original = "hello world"; String copy = SerializableTester.reserializeAndAssert(original); assertEquals(original, copy); assertNotSame(original, copy); } public void testClassWhichDoesNotImplementEquals() { ClassWhichDoesNotImplementEquals orig = new ClassWhichDoesNotImplementEquals(); boolean errorNotThrown = false; try {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4K bytes - Click Count (0)