Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for assertNotSame (0.08 sec)

  1. 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));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. compat/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);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                final String sessionId1 = crawler1.execute();
                final String sessionId2 = crawler2.execute();
    
                assertNotSame(sessionId1, sessionId2);
                assertNotSame(crawler1.crawlerContext, crawler2.crawlerContext);
    
                for (int i = 0; i < 10; i++) {
                    if (crawler1.crawlerContext.getStatus() == CrawlerStatus.RUNNING) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. 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.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. 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")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. 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) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. compat/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
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. 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 {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/EnumsTest.java

        @SuppressWarnings("unchecked")
        Class<TestEnum> shadowTestEnum =
            (Class<TestEnum>) Class.forName(TestEnum.class.getName(), false, shadowLoader);
        assertNotSame(shadowTestEnum, TestEnum.class);
        // We can't write Set<TestEnum> because that is a Set of the TestEnum from the original
        // ClassLoader.
        Set<Object> shadowConstants = new HashSet<>();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

      public void testUnmodifiableListMultimapShortCircuit() {
        ListMultimap<String, Integer> mod = ArrayListMultimap.create();
        ListMultimap<String, Integer> unmod = Multimaps.unmodifiableListMultimap(mod);
        assertNotSame(mod, unmod);
        assertSame(unmod, Multimaps.unmodifiableListMultimap(unmod));
        ImmutableListMultimap<String, Integer> immutable =
            ImmutableListMultimap.of("a", 1, "b", 2, "a", 3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
Back to top