- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for testBar (0.06 sec)
-
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
src[srcIndex + 52] = 0x20; // hex code matching mockQueryAddress src[srcIndex + 53] = 0x04; // flags: active // MAC address (6 bytes) byte[] testMac = { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55 }; System.arraycopy(testMac, 0, src, srcIndex + 55, 6); // Statistics (6 bytes) byte[] stats = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05 }; System.arraycopy(stats, 0, src, srcIndex + 61, 6);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
protected <K, V> Map<K, V> create() { TestMap<K, V> inner = new TestMap<>(new HashMap<K, V>(), mutex); Map<K, V> outer = Synchronized.map(inner, mutex); return outer; } static class TestMap<K, V> extends ForwardingMap<K, V> implements Serializable { public final Object mutex; private final Map<K, V> delegate; public TestMap(Map<K, V> delegate, Object mutex) { checkNotNull(mutex);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 28 19:11:14 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java
for (String testStr : testStrings) { String encrypted = cipher.encrypt(testStr); String decrypted = cipher.decrypt(encrypted); assertEquals("Failed for: " + testStr, testStr, decrypted); } } // Test provider as CookieResourceProvider interface
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java
SmbComDeleteDirectory sdd = new SmbComDeleteDirectory("testDir"); assertEquals("testDir", sdd.path); assertEquals(ServerMessageBlock.SMB_COM_DELETE_DIRECTORY, sdd.command); } /** * Test writeParameterWordsWireFormat. */ @Test void testWriteParameterWordsWireFormat() { SmbComDeleteDirectory sdd = new SmbComDeleteDirectory("testDir"); byte[] dst = new byte[10];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
execJob.testDeleteTempDir(null); // Test with existing directory File testDir = new File(tempDir, "test_delete_dir"); assertTrue(testDir.mkdir()); assertTrue(testDir.exists()); execJob.testDeleteTempDir(testDir); assertFalse(testDir.exists()); // Test with non-existent directory File nonExistentDir = new File(tempDir, "non_existent");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java
SmbComCreateDirectory smbCom = new SmbComCreateDirectory(mockConfig, "testDir"); byte[] dst = new byte[10]; int result = smbCom.writeParameterWordsWireFormat(dst, 0); assertEquals(0, result); } @Test void testWriteBytesWireFormat() { // Test the byte format written by the class String directoryName = "\testDir";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
} @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testStringConverter_nullPointerTester() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(Doubles.stringConverter()); } @GwtIncompatible public void testTryParse_withNullNoGwt() { assertThat(Doubles.tryParse("null")).isNull();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
} @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testStringConverter_nullPointerTester() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(Ints.stringConverter()); } public void testTryParse() { tryParseAndAssertEquals(0, "0"); tryParseAndAssertEquals(0, "-0");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/MoreObjectsTest.java
@J2ktIncompatible @GwtIncompatible("NullPointerTester") public void testNulls() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.ignore(MoreObjects.class.getMethod("firstNonNull", Object.class, Object.class)); tester.testAllPublicStaticMethods(MoreObjects.class); tester.testAllPublicInstanceMethods(MoreObjects.toStringHelper(new TestClass())); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.ArrayList; import java.util.List; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tester for equals() and hashCode() methods of a class. * * <p>The simplest use case is: * * <pre> * new EqualsTester().addEqualityGroup(foo).testEquals(); * </pre> *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.1K bytes - Viewed (0)