- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for realistic (0.41 sec)
-
src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java
assertEquals("test_stackTracePresent", firstElement.getMethodName()); } public void test_multipleExceptionScenarios() { // Test multiple realistic exception scenarios // Scenario 1: Command not found CommandExecutionException cmdNotFound = new CommandExecutionException("Command 'xyz' not found");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
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/org/codelibs/fess/util/MemoryUtilTest.java
assertTrue(memory2 >= 0); // Memory usage should have changed (though we can't guarantee direction due to GC) } public void test_integrationScenarios() { // Test realistic scenarios combining multiple methods String memoryLog1 = MemoryUtil.getMemoryUsageLog(); // Create some objects and measure their sizes List<String> testData = new ArrayList<>();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
import org.junit.jupiter.api.Test; import jcifs.internal.SMBProtocolDecodingException; /** * Test class for FileBasicInfo */ class FileBasicInfoTest { private FileBasicInfo fileBasicInfo; // Use realistic time values in milliseconds since 1970 (Unix epoch) private static final long TEST_CREATE_TIME = System.currentTimeMillis() - 86400000L; // 1 day ago
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
SMBUtil.writeInt4(status, hdr, 8); // Write Command = SMB2_IOCTL (0x000B) at offset 12 SMBUtil.writeInt2(0x000B, hdr, 12); // Mark as server response to be realistic (optional) SMBUtil.writeInt4(0x00000001, hdr, 16); // Flags = SMB2_FLAGS_SERVER_TO_REDIR return hdr; } // Helper: build SMB2 IOCTL response body (without header) with structureSize=49
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* * <ol> * <li>remove(); * <li>hasNext() * <li>hasNext(); * <li>remove(); * <li>next(); * </ol> * * <p>This particular order of operations may be unrealistic, and testing all 3^5 of them may be * thought of as overkill; however, it's difficult to determine which proper subset of this massive * set would be sufficient to expose any possible bug. Brute force is simpler. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* * <ol> * <li>remove(); * <li>hasNext() * <li>hasNext(); * <li>remove(); * <li>next(); * </ol> * * <p>This particular order of operations may be unrealistic, and testing all 3^5 of them may be * thought of as overkill; however, it's difficult to determine which proper subset of this massive * set would be sufficient to expose any possible bug. Brute force is simpler. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 4.3K bytes - Viewed (0)