- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 59 for effects (0.43 sec)
-
src/test/java/jcifs/SmbTreeTest.java
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 state SmbTree idempotentTree = mock(SmbTree.class);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
assertEquals(10, derivedBuffer.index); assertSame(ndrBuffer.deferred, derivedBuffer.deferred); // Deferred should be the same as original // Ensure changes to derived buffer don't affect original's index/start derivedBuffer.advance(5); assertEquals(15, derivedBuffer.index); assertEquals(50, ndrBuffer.index); // Original index should be unchanged } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/context/SingletonContextTest.java
log.error("Failed to reset SingletonContext instance", e); fail("Failed to reset SingletonContext instance: " + e.getMessage()); } // Clear system properties that might affect the test System.clearProperty("jcifs.properties"); System.clearProperty("java.protocol.handler.pkgs"); // Clear jcifs-specific properties to prevent test interference
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
// Test with FLAGS_NO_PROPAGATE (should not affect the result) ace.flags = ACE.FLAGS_OBJECT_INHERIT | ACE.FLAGS_CONTAINER_INHERIT | ACE.FLAGS_NO_PROPAGATE; assertEquals("This folder, subfolders and files", ace.getApplyToText()); // Test with FLAGS_INHERITED (should not affect the result) ace.flags = ACE.FLAGS_OBJECT_INHERIT | ACE.FLAGS_INHERITED;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
// Null username should be handled gracefully assertTrue(rateLimiter.checkAttempt(null, "192.168.1.8"), "Null username should be allowed"); // Should not affect IP limiting rateLimiter.recordFailure(null, "192.168.1.8"); assertTrue(rateLimiter.checkAttempt("realuser", "192.168.1.8"), "Should still track IP"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md
- ✅ File type context in MS Office errors - ✅ Archive type in archive extractor errors ## Testing Best Practices 1. **Isolation**: Each test is independent and doesn't affect others 2. **Clarity**: Test names clearly describe what is being tested 3. **Coverage**: Both success and failure paths are tested 4. **Edge Cases**: Null, empty, and boundary conditions are covered
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:55:01 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
testBlock.setUseUnicode(true); byte[] buffer = new byte[100]; String testString = "Test"; // Test odd Unicode alignment - headerStart affects alignment int bytesWritten = testBlock.writeString(testString, buffer, 2); // When even alignment (offset 2), Unicode string starts immediately
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/DataStoreParams.java
return params.containsKey(key); } /** * Returns a copy of the internal parameter map as a standard Map. * The returned map is a copy and modifications will not affect this instance. * * @return a new Map containing all current parameters */ public Map<String, Object> asMap() { return new ParamMap<>(new HashMap<>(getDataMap(params))); }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapUrl.java
*/ private String changefreq; /** * The priority of this URL relative to other URLs on your site. Valid * values range from 0.0 to 1.0. This value does not affect how your pages * are compared to pages on other sites—it only lets the search engines know * which pages you deem most important for the crawlers. * * The default priority of a page is 0.5. *Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:34:36 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
} } // NOTE: Implementation behavior - custom predicate may not prevent all state changes // Skipping assertions that assume non-critical errors don't affect circuit state // as the actual implementation may handle this differently // Reset to ensure clean state for critical error test if (customCb.getState() != State.CLOSED) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0)