- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for assertNotSame (0.17 sec)
-
okhttp/src/test/java/okhttp3/OkHttpClientTest.kt
) assertNotSame( client.routeDatabase, client.newBuilder() .protocols(listOf(Protocol.HTTP_1_1)) .build() .routeDatabase, ) assertNotSame( client.routeDatabase, client.newBuilder() .connectionSpecs(listOf(ConnectionSpec.COMPATIBLE_TLS)) .build() .routeDatabase, ) assertNotSame(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Mar 31 17:16:15 GMT 2024 - 13.2K bytes - Viewed (0) -
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));
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 3K bytes - Viewed (0) -
maven-builder-support/src/test/java/org/apache/maven/building/ProblemCollectorFactoryTest.java
package org.apache.maven.building; import java.util.Collections; 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);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Sat Apr 15 17:24:20 GMT 2023 - 1.5K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/execution/DefaultMavenExecutionTest.java
import static org.junit.jupiter.api.Assertions.assertNotSame; /** */ class DefaultMavenExecutionTest { @Test void testCopyDefault() { MavenExecutionRequest original = new DefaultMavenExecutionRequest(); MavenExecutionRequest copy = DefaultMavenExecutionRequest.copy(original); assertNotNull(copy); assertNotSame(copy, original); } @Test
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 1.9K bytes - Viewed (0) -
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
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Apr 23 12:52:20 GMT 2024 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
ImmutableSet.Builder<Integer> builder = ImmutableSet.builder(); builder.add(-1); Object[] prevArray = null; for (int i = 0; i < 10; i++) { builder.add(i); assertNotSame(builder.contents, prevArray); prevArray = builder.contents; ImmutableSet<Integer> unused = builder.build(); } } @GwtIncompatible("Builder impl")
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 13.7K bytes - Viewed (0) -
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 { @Test
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Sat Apr 15 17:24:20 GMT 2023 - 8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java
assertTrue(stateHistory.isEmpty()); assertNotSame(State.NEW, service.state()); stateHistory.add(State.STARTING); } @Override public synchronized void running() { assertEquals(State.STARTING, Iterables.getOnlyElement(stateHistory)); stateHistory.add(State.RUNNING); service.awaitRunning(); assertNotSame(State.STARTING, service.state()); } @Override
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 29.3K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.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.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; /** */ @PlexusTest @Deprecated class DefaultWagonManagerTest { @Inject
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) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
return new DecoupledClassLoader(new URL[] {base}); } }; Class<?> finalizerCopy = decoupledLoader.loadFinalizer(); assertNotNull(finalizerCopy); assertNotSame(Finalizer.class, finalizerCopy); assertNotNull(FinalizableReferenceQueue.getStartFinalizer(finalizerCopy)); } static class DecoupledClassLoader extends URLClassLoader {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 10 08:40:05 GMT 2023 - 4.8K bytes - Viewed (0)