Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for assertNotSame (0.19 sec)

  1. 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 Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  2. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3K bytes
    - Viewed (0)
  3. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

      public void testSerialization() throws Exception {
        AtomicDouble a = new AtomicDouble();
        AtomicDouble b = serialClone(a);
        assertNotSame(a, b);
        a.set(-22.0);
        AtomicDouble c = serialClone(a);
        assertNotSame(b, c);
        assertBitEquals(-22.0, a.get());
        assertBitEquals(0.0, b.get());
        assertBitEquals(-22.0, c.get());
        for (double x : VALUES) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  7. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        // fail and will need to be rewritten.
    
        Class<?> frqC = FinalizableReferenceQueue.class;
        Class<?> sepFrqC = sepLoader.loadClass(frqC.getName());
        assertNotSame(frqC, sepFrqC);
        // Check the assumptions above.
    
        // FRQ tries to load the Finalizer class (for the reference-collecting thread) in a few ways.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        // fail and will need to be rewritten.
    
        Class<?> frqC = FinalizableReferenceQueue.class;
        Class<?> sepFrqC = sepLoader.loadClass(frqC.getName());
        assertNotSame(frqC, sepFrqC);
        // Check the assumptions above.
    
        // FRQ tries to load the Finalizer class (for the reference-collecting thread) in a few ways.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  10. 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)
Back to top