- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for testInitialState (0.21 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
assertEquals(testDialect, response.getDialect(), "Dialect should match"); } @Test @DisplayName("Test initial state of response object") void testInitialState() { // Verify initial state assertEquals(0, response.getCapabilities(), "Initial capabilities should be 0"); assertNotNull(response.getServerGuid(), "Server GUID should not be null");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
@BeforeEach void setUp() { circuitBreaker = new SimpleCircuitBreaker("test", 3, 2, 100); } @Test @DisplayName("Test initial state is CLOSED") void testInitialState() { assertEquals(SimpleCircuitBreaker.State.CLOSED, circuitBreaker.getState()); assertTrue(circuitBreaker.allowsRequests()); } @Test @DisplayName("Test successful calls in CLOSED state")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
@BeforeEach public void setUp() { // Create circuit breaker with test-friendly settings circuitBreaker = new SmbCircuitBreaker("test", 3, 2, 1000, 3); } @Test public void testInitialState() { assertEquals(State.CLOSED, circuitBreaker.getState(), "Initial state should be CLOSED"); assertEquals(0, circuitBreaker.getFailureCount(), "Initial failure count should be 0");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
} @Nested @DisplayName("Constructor and Initial State Tests") class ConstructorTests { @Test @DisplayName("Should initialize with null referrals") void testInitialState() { assertNull(buffer.getReferrals()); assertEquals(0, buffer.getPathConsumed()); assertEquals(0, buffer.getNumReferrals()); assertEquals(0, buffer.getTflags()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0)