- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for assertNotSame (0.06 sec)
-
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;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.3K bytes - Viewed (0) -
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());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.9K bytes - Viewed (0) -
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());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
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;
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 4.6K bytes - Viewed (0) -
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); } public void test_throwAndCatch() { // Test throwing and catching the exception
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (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));
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
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);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun Jul 20 20:19:43 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java
SsoLoginException exception3 = new SsoLoginException("Error 3", new RuntimeException()); assertNotSame(exception1, exception2); assertNotSame(exception2, exception3); assertNotSame(exception1, exception3); assertEquals("Error 1", exception1.getMessage()); assertEquals("Error 2", exception2.getMessage());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/StaticJAASConfigurationTest.java
// Assert assertNotSame(a1, a2, "Arrays should be different instances"); assertEquals(1, a1.length); assertEquals(1, a2.length); AppConfigurationEntry e1 = a1[0]; AppConfigurationEntry e2 = a2[0]; assertNotSame(e1, e2, "Entries should be different instances");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
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());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.6K bytes - Viewed (0)