- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for realistic (0.06 seconds)
-
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
CLAUDE.md
- For timestamp tests: use minimal delays (50-100ms) - Clean only test-specific indices (not `_all` unless needed) - Use `runner.refresh()` after index operations - Test with realistic multilingual content ### Key Test Classes - `SuggesterRefactoringTest` - Index lifecycle, alias management - `SuggesterTest` - Core functionality - `SuggestIndexerTest` - Indexing operations
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Mar 12 03:39:53 GMT 2026 - 8.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java
assertEquals("test_stackTracePresent", firstElement.getMethodName()); } @Test public void test_multipleExceptionScenarios() { // Test multiple realistic exception scenarios // Scenario 1: Command not found CommandExecutionException cmdNotFound = new CommandExecutionException("Command 'xyz' not found");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.4K bytes - Click Count (0) -
benchmarks/README.md
end the class name of a benchmark with `Benchmark`. To have JMH execute a benchmark, annotate the respective methods with `@Benchmark`. ## Tips and Best Practices To get realistic results, you should exercise care when running benchmarks. Here are a few tips: ### Do * Ensure that the system executing your microbenchmarks has as little load as possible. Shutdown every process that can cause unnecessary
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon May 03 15:30:50 GMT 2021 - 5.9K bytes - Click Count (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) } @Test 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<>();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12K bytes - Click Count (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 agoCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
} // Additional tests for escapeWildcardQuery @Test public void testEscapeWildcardQueryWithMixedContent() { // Test with realistic query containing wildcards and regular text String query = "find*all?documents.pdf"; String escaped = SuggestUtil.escapeWildcardQuery(query); assertEquals("find\\*all\\?documents.pdf", escaped); }Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 26.7K bytes - Click Count (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. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 4.3K bytes - Click Count (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. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 4.3K bytes - Click Count (0)