- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 24 for assertNotSame (0.13 seconds)
-
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) -
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) -
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) -
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) -
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) -
src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java
UnsupportedSearchException exception2 = new UnsupportedSearchException(message2); assertNotSame(exception1, exception2); assertEquals(message1, exception1.getMessage()); assertEquals(message2, exception2.getMessage()); // Verify they have different stack traces assertNotSame(exception1.getStackTrace(), exception2.getStackTrace()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.7K bytes - Click Count (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);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Jul 20 20:19:43 GMT 2025 - 2.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.sso; import static org.junit.jupiter.api.Assertions.assertNotSame; import org.codelibs.fess.unit.UnitFessTestCase; import org.junit.jupiter.api.Test; public class SsoResponseTypeTest extends UnitFessTestCase { @Test public void test_values() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/JobProcessTest.java
JobProcess jobProcess1 = new JobProcess(mockProcess1); JobProcess jobProcess2 = new JobProcess(mockProcess2); assertNotSame(jobProcess1.getProcess(), jobProcess2.getProcess()); assertNotSame(jobProcess1.getInputStreamThread(), jobProcess2.getInputStreamThread()); } @Test public void test_constructor_withLargeBufferSize() throws IOException {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.8K bytes - Click Count (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");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0)