- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 279 for assertSame (0.05 sec)
-
guava-tests/test/com/google/common/base/VerifyTest.java
String result = verifyNotNull(NON_NULL_STRING); assertSame(NON_NULL_STRING, result); } public void testVerifyNotNull_simple_failure() { assertThrows(VerifyException.class, () -> verifyNotNull(null)); } public void testVerifyNotNull_complexMessage_success() { String result = verifyNotNull(NON_NULL_STRING, "%s", IGNORE_ME); assertSame(NON_NULL_STRING, result); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; 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.net.MalformedURLException; import java.net.URL;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
assertSame(c, ImmutableMultiset.copyOf(c)); } public void testCopyOf_shortcut_singleton() { Collection<String> c = ImmutableMultiset.of("a"); assertSame(c, ImmutableMultiset.copyOf(c)); } public void testCopyOf_shortcut_immutableMultiset() { Collection<String> c = ImmutableMultiset.of("a", "b", "c"); assertSame(c, ImmutableMultiset.copyOf(c)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java
// Test that the same user object is returned assertSame(testUser, fessUserBean.getFessUser()); // Test with different user TestFessUser anotherUser = new TestFessUser(); anotherUser.setName("another"); FessUserBean anotherBean = new FessUserBean(anotherUser); assertSame(anotherUser, anotherBean.getFessUser()); } public void test_empty() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; 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 static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.anyBoolean;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
CrawlerStatus status2 = CrawlerStatus.INITIALIZING; // Should be the same instance assertSame(status1, status2); assertTrue(status1 == status2); // valueOf should return the same instance CrawlerStatus status3 = CrawlerStatus.valueOf("INITIALIZING"); assertSame(status1, status3); assertTrue(status1 == status3); // values() array contains the same instancesRegistered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java
VersionRange range = VersionRange.createFromVersionSpec("[1.0,1.2]"); assertSame(range, VersionRange.createFromVersionSpec("[1.0,1.2]")); // same instance from spec cache VersionRange spec = VersionRange.createFromVersionSpec("1.0"); assertSame(spec, VersionRange.createFromVersionSpec("1.0")); // same instance from spec cache
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 44.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ThrowablesTest.java
SomeCheckedException exception = new SomeCheckedException(); assertSame(exception, getRootCause(exception)); } public void testGetRootCause_singleWrapped() { SomeCheckedException cause = new SomeCheckedException(); SomeChainingException exception = new SomeChainingException(cause); assertSame(cause, getRootCause(exception)); } public void testGetRootCause_doubleWrapped() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
tree.put(4.0, 5.0); TreeMultimap<Double, Double> copyFromTree = TreeMultimap.create(tree); assertEquals(tree, copyFromTree); assertSame(Ordering.natural(), copyFromTree.keyComparator()); assertSame(Ordering.natural(), copyFromTree.valueComparator()); assertSame(Ordering.natural(), copyFromTree.get(1.0).comparator()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/audit/SecurityAuditLoggerTest.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.audit; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertTrue; import java.util.HashMap; import java.util.Map; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.6K bytes - Viewed (0)