- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for idempotent (3.28 sec)
-
src/main/java/jcifs/dcerpc/DcerpcConstants.java
/** * Maybe semantics packet flag */ int RPC_C_PF_MAYBE = 0x04; /** * Idempotent operation packet flag */ int RPC_C_PF_IDEMPOTENT = 0x08; /** * Broadcast with maybe semantics packet flag */ int RPC_C_PF_BROADCAST_MAYBE = 0x10; /** * Not idempotent operation packet flag */ int RPC_C_PF_NOT_IDEMPOTENT = 0x20; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
auth.close(); // idempotent // All operations should throw IllegalStateException assertThrows(IllegalStateException.class, () -> auth.getPassword()); assertThrows(IllegalStateException.class, () -> auth.getPasswordAsCharArray()); } /** * Test multiple close() calls (idempotency) */ @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
assertEquals("remove", exception.getMessage()); } @Test @DisplayName("Close should be idempotent") void testClose_Idempotent() throws Exception { // Given: A valid iterator setup when(locator.getType()).thenReturn(SmbConstants.TYPE_WORKGROUP);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SSPContextTest.java
assertThrows(CIFSException.class, () -> ctx.verifyMIC(data, null)); } @Test @DisplayName("dispose toggles state and is not idempotent") void testDisposeBehavior() throws Exception { DummySSPContext ctx = new DummySSPContext(new byte[] { 1 }, true, null, null, 0, false); ctx.dispose();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
assertTrue(e instanceof IOException); assertTrue(e.getMessage().contains("GCS_PROJECT_ID is blank")); } } /** * Test that connect() is idempotent - calling it multiple times should be safe. */ public void test_connect_idempotent() throws Exception { URL url = new URL("gcs://mybucket/object.txt"); Handler handler = new Handler();
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
assertEquals("working", result); // Close it cbToClose.close(); // Should not throw exception (close should be idempotent) cbToClose.close(); } @Test public void testEnhancedMetricsTracking() throws Exception { SmbCircuitBreaker cbWithEnhanced = new SmbCircuitBreaker("enhanced-test");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java
assertTrue(e instanceof IOException); assertTrue(e.getMessage().contains("endpoint is blank")); } } /** * Test that connect() is idempotent - calling it multiple times should be safe. */ public void test_connect_idempotent() throws Exception { URL url = new URL("storage://mybucket/object.txt"); Handler handler = new Handler();
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
// First close closeableFactory.destroyObject(pooledObject); assertTrue(component.isClosed()); // Component's close is idempotent, so calling destroy again should not increment counter closeableFactory.destroyObject(pooledObject); assertEquals(1, CloseableTestComponent.getCloseCount()); } /**Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 13:07:01 UTC 2025 - 36.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
assertFalse(context.isClosed()); // When context.close(); // Then assertTrue(context.isClosed()); // Should be idempotent assertDoesNotThrow(() -> context.close()); // Cleanup keyManager.close(); } @Test @DisplayName("Should rotate keys successfully")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeTest.java
assertNotNull(typedResult, "Typed result should not be null"); assertEquals(customTree, typedResult, "Should maintain type safety"); } /** * Test for close() idempotency. * Verifies that calling close multiple times has the same effect as calling it once. */ @Test void testClose_idempotency() { // Mock a tree that tracks close stateRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0)