- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 171 for testEquals (0.06 seconds)
-
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
Thread.currentThread().interrupt(); } long throughput = channelInfo.getThroughput(); assertTrue(throughput > 0); } @Test void testEquals() { ChannelInfo other = new ChannelInfo("test-channel", mockTransport, localInterface, remoteInterface); assertEquals(channelInfo, other); assertEquals(channelInfo.hashCode(), other.hashCode());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
@NullUnmarked public class ClassPathTest extends TestCase { private static final Logger log = Logger.getLogger(ClassPathTest.class.getName()); private static final File FILE = new File("."); public void testEquals() { new EqualsTester() .addEqualityGroup(classInfo(ClassPathTest.class), classInfo(ClassPathTest.class)) .addEqualityGroup(classInfo(Test.class), classInfo(Test.class, getClass().getClassLoader()))Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 25.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
@NullUnmarked public class ClassPathTest extends TestCase { private static final Logger log = Logger.getLogger(ClassPathTest.class.getName()); private static final File FILE = new File("."); public void testEquals() { new EqualsTester() .addEqualityGroup(classInfo(ClassPathTest.class), classInfo(ClassPathTest.class)) .addEqualityGroup(classInfo(Test.class), classInfo(Test.class, getClass().getClassLoader()))Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 23.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
assertTrue(tree.matches("share", "A:")); assertFalse(tree.matches("othershare", "A:")); } // Test case for the equals method @Test void testEquals() { SmbTreeImpl tree1 = new SmbTreeImpl(session, "SHARE", "A:"); SmbTreeImpl tree2 = new SmbTreeImpl(session, "SHARE", "A:"); SmbTreeImpl tree3 = new SmbTreeImpl(session, "OTHER", "A:");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java
assertThrows(IllegalArgumentException.class, () -> ContiguousSet.closed(2L, 1L)); assertThrows(IllegalArgumentException.class, () -> ContiguousSet.closedOpen(2L, 1L)); } public void testEquals() { new EqualsTester() .addEqualityGroup( ContiguousSet.create(Range.closed(1, 3), integers()), ContiguousSet.closed(1, 3),
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 19.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java
long result = instance.length(); assertEquals(expResult, result); } /** * Test of equals method, of class SmbShareInfo. */ @Test void testEquals() { SmbShareInfo instance1 = new SmbShareInfo("SHARE1", 0, "remark1"); SmbShareInfo instance2 = new SmbShareInfo("SHARE1", 1, "remark2"); SmbShareInfo instance3 = new SmbShareInfo("SHARE2", 0, "remark1");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java
verify(logger).debug("Toolchain {} doesn't match required property: {}", toolchain, "name"); } @Test void testEquals() { ToolchainModel tm1 = new ToolchainModel(); tm1.setType("jdk"); tm1.addProvide("version", "1.5"); tm1.addProvide("vendor", "sun");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 11 12:33:57 GMT 2025 - 4.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SetViewTest.java
.testEquals(); } public void testEquals_otherSetContainsThrows() { new EqualsTester() .addEqualityGroup(new SetContainsThrows()) .addEqualityGroup(intersection(singleton(null), singleton(null))) // NPE .addEqualityGroup(intersection(singleton(0), singleton(0))) // CCE .testEquals(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 29.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
assertThat(aUnsigned.compareTo(bUnsigned)) .isEqualTo(aUnsigned.bigIntegerValue().compareTo(bUnsigned.bigIntegerValue())); } } } @GwtIncompatible // too slow public void testEquals() { EqualsTester equalsTester = new EqualsTester(); for (long a : TEST_LONGS) { BigInteger big = (a >= 0) ? BigInteger.valueOf(a) : BigInteger.valueOf(a).add(BigInteger.ZERO.setBit(64));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 10.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
for (int i = 0; i < 16; i++) { assertEquals(testBytes[i], buffer[i + 2]); } } @Test @DisplayName("Should implement equals correctly") void testEquals() { byte[] testBytes1 = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 }; byte[] testBytes2 = Arrays.copyOf(testBytes1, 16);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 6K bytes - Click Count (0)