- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 4,153 for SHOULD (0.06 seconds)
-
src/test/java/jcifs/smb/NtStatusTest.java
} @Test @DisplayName("Should identify success status") void testSuccessStatusIdentification() { // Given int successStatus = NtStatus.NT_STATUS_SUCCESS; // When/Then assertEquals(0x00000000, successStatus); // Success status should be zero assertTrue(successStatus == 0); } @Test @DisplayName("Should identify error status codes")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
assertNotNull("Resource should exist", is); contentNew = new String(is.readAllBytes(), StandardCharsets.UTF_8); } // Verify content is valid JSON assertTrue("Content should start with {", contentNew.trim().startsWith("{")); assertTrue("Content should end with }", contentNew.trim().endsWith("}")); assertTrue("Content should be substantial", contentNew.length() > 100);
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 9.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java
final List<String> indices = (List<String>) method.invoke(suggester, aliasName); assertNotNull("Indices list should not be null", indices); assertEquals("Should find exactly two indices", 2, indices.size()); assertTrue("Should contain first index", indices.contains(index1)); assertTrue("Should contain second index", indices.contains(index2)); // Cleanup
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
// Should encode successfully at the beginning int encoded = context.encode(smallBuffer, 0); assertEquals(6, encoded); // Should handle encoding at the end of buffer correctly assertDoesNotThrow(() -> context.encode(smallBuffer, 4)); } @Test @DisplayName("Should preserve data integrity through encode/decode cycle")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
if (value == 4) { // Should succeed assertDoesNotThrow(() -> { int result = response.readBytesWireFormat(buffer, 0); assertEquals(4, result); }); } else { // Should throw exception SMBProtocolDecodingException exception =Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
} @Test @DisplayName("Should handle replace without key") void testReplaceCacheWithoutKey() { concreteImplementation.setCacheMap(cacheMap); // Should not throw assertDoesNotThrow(() -> concreteImplementation.replaceCache()); // Map should remain empty assertTrue(cacheMap.isEmpty()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 28.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java
assertTrue(target instanceof MonitorTarget, "Instance should be a MonitorTarget"); assertTrue(target instanceof TimeoutTarget, "Instance should be a TimeoutTarget"); } @Test public void test_expired_method_exists() throws Exception { assertNotNull(HotThreadMonitorTarget.class.getMethod("expired"), "expired method should exist"); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java
// Then assertTrue(msrpcSamrConnect2 instanceof samr.SamrConnect2, "Should be an instance of samr.SamrConnect2"); assertTrue(msrpcSamrConnect2 instanceof DcerpcMessage, "Should be an instance of DcerpcMessage"); } @Test @DisplayName("Should have correct opnum from parent class") void shouldHaveCorrectOpnum() { // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
} @Test @DisplayName("Should initialize with SMB2_READ command") void testCommandInitialization() { Smb2ReadRequest readRequest = new Smb2ReadRequest(mockConfig, testFileId, outputBuffer, 0); // Command is set in parent constructor assertNotNull(readRequest); } @Test @DisplayName("Should accept null file ID in constructor")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.8K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/TransportTest.java
} for (int state : connectedStates) { transport.setState(state); assertFalse(transport.isDisconnected(), "State " + state + " should not be disconnected"); } } @Test @DisplayName("should correctly identify failed states")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0)