Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 57 for assertNotSame (0.09 seconds)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java

            JsonMappingOption option3 = provider.provideMappingOption();
    
            // All should be different instances
            assertNotSame(option1, option2);
            assertNotSame(option2, option3);
            assertNotSame(option1, option3);
    
            // But all should have the same configuration
            assertEquals(option1.getFieldNaming().get(), option2.getFieldNaming().get());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

        )
        assertNotSame(
          client.routeDatabase,
          client
            .newBuilder()
            .proxySelector(proxySelector)
            .build()
            .routeDatabase,
        )
        assertNotSame(
          client.routeDatabase,
          client
            .newBuilder()
            .proxy(Proxy.NO_PROXY)
            .build()
            .routeDatabase,
        )
        assertNotSame(
          client.routeDatabase,
          client
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 13.4K bytes
    - Click Count (1)
  3. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

            SearchQueryException exception3 = new SearchQueryException(new Exception("Cause 3"));
    
            assertNotSame(exception1, exception2);
            assertNotSame(exception2, exception3);
            assertNotSame(exception1, exception3);
    
            assertEquals("Exception 1", exception1.getMessage());
            assertEquals("Exception 2", exception2.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

            ResultOffsetExceededException exception3 = new ResultOffsetExceededException("Third instance");
    
            assertNotSame(exception1, exception2);
            assertNotSame(exception2, exception3);
            assertNotSame(exception1, exception3);
    
            assertEquals("First instance", exception1.getMessage());
            assertEquals("Second instance", exception2.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  5. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/util/LogStreamTest.java

    package jcifs.smb1.util;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    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;
    
    import java.io.ByteArrayOutputStream;
    import java.io.PrintStream;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            assertEquals("Error 3", exception3.getMessage());
    
            // Ensure they are different instances
            assertNotSame(exception1, exception2);
            assertNotSame(exception2, exception3);
            assertNotSame(exception1, exception3);
        }
    
        @Test
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsTest.java

     */
    package org.codelibs.fess.suggest.settings;
    
    import static org.codelibs.opensearch.runner.OpenSearchRunner.newConfigs;
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertNotSame;
    
    import org.codelibs.fess.suggest.Suggester;
    import org.codelibs.opensearch.runner.OpenSearchRunner;
    import org.junit.AfterClass;
    import org.junit.Before;
    import org.junit.BeforeClass;
    import org.junit.Test;
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Nov 23 13:04:17 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/SmbNegotiationTest.java

            // Verify the instances are independent
            assertNotSame(negotiation.getRequest(), anotherNegotiation.getRequest());
            assertNotSame(negotiation.getResponse(), anotherNegotiation.getResponse());
            assertNotSame(negotiation.getRequestRaw(), anotherNegotiation.getRequestRaw());
            assertNotSame(negotiation.getResponseRaw(), anotherNegotiation.getResponseRaw());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

            assertNotNull(provider1);
            assertNotNull(provider2);
            assertNotNull(provider3);
    
            // Each should be a different instance
            assertNotSame(provider1, provider2);
            assertNotSame(provider2, provider3);
            assertNotSame(provider1, provider3);
        }
    
        // Test with special characters in time adjustment string
        @Test
        public void test_specialCharactersInTimeAdjustment() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
Back to Top