- Sort Score
- Result 10 results
- Languages All
Results 1251 - 1260 of 3,662 for Void (0.03 sec)
-
src/test/java/jcifs/CredentialsTest.java
*/ @DisplayName("Credentials Interface Tests") class CredentialsTest extends BaseTest { @Mock private Credentials mockCredentials; @Test @DisplayName("Should define interface methods") void testCredentialsInterface() { // Verify interface methods exist assertDoesNotThrow(() -> { mockCredentials.unwrap(Credentials.class); mockCredentials.getUserDomain();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java
*/ public void recordRdmaSend(int bytes, long durationNanos) { rdmaSends.incrementAndGet(); bytesTransferred.addAndGet(bytes); totalSendTime.addAndGet(durationNanos); } /** * Record an RDMA receive operation * * @param bytes number of bytes received * @param durationNanos operation duration in nanoseconds */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java
public void test_constructor_withMessage() { // Test constructor with message only String message = "SSO login failed"; SsoLoginException exception = new SsoLoginException(message); assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); } public void test_constructor_withMessageAndCause() {
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/netbios/NameQueryResponseTest.java
@BeforeEach void setUp() { // Mock the OEM encoding configuration with lenient stubbing // since not all tests need this stub lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8"); // Initialize NameQueryResponse before each test nameQueryResponse = new NameQueryResponse(mockConfig); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
void testGetLocalName() { // When NetbiosName localName = nameServiceClient.getLocalName(); // Then assertNotNull(localName, "Local name should not be null"); assertTrue(localName.getName().length() > 0, "Local name should not be empty"); } @Test @DisplayName("Should get unknown name") void testGetUnknownName() { // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java
@CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE) public void testRemoveIf_alwaysFalse() { assertFalse("removeIf(x -> false) should return false", collection.removeIf(x -> false)); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE) @CollectionSize.Require(absent = ZERO) public void testRemoveIf_sometimesTrue() { assertTrue(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
private SecureCredentialStorage storage; private char[] masterPassword; @BeforeEach public void setUp() throws Exception { masterPassword = "MasterPassword123!@#".toCharArray(); storage = new SecureCredentialStorage(masterPassword.clone()); } @AfterEach public void tearDown() throws Exception { if (storage != null && !storage.isDestroyed()) { try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java
extends AbstractMultimapTester<K, V, Multimap<K, V>> { @MapFeature.Require(absent = SUPPORTS_PUT) public void testPutUnsupported() { assertThrows(UnsupportedOperationException.class, () -> multimap().put(k3(), v3())); } @MapFeature.Require(SUPPORTS_PUT) public void testPutEmpty() { int size = getNumElements(); assertGet(k3(), ImmutableList.<V>of());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java
extends AbstractMultimapTester<K, V, Multimap<K, V>> { @MapFeature.Require(absent = SUPPORTS_PUT) public void testPutUnsupported() { assertThrows(UnsupportedOperationException.class, () -> multimap().put(k3(), v3())); } @MapFeature.Require(SUPPORTS_PUT) public void testPutEmpty() { int size = getNumElements(); assertGet(k3(), ImmutableList.<V>of());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/context/SingletonContextTest.java
System.clearProperty("jcifs.smb.client.nativeLanMan"); } @Test void testInitWithNullProperties() throws CIFSException { // Test successful initialization with null properties assertDoesNotThrow(() -> SingletonContext.init(null)); assertNotNull(SingletonContext.getInstance()); } @Test void testInitWithCustomProperties() throws CIFSException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0)