- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for originalId (0.04 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java
TestResponseProcessor processor1 = new TestResponseProcessor(); testRule.setRuleId("originalId"); testRule.setResponseProcessor(processor1); // Register testRule.register(0); // Verify initial state Rule registeredRule = ruleManager.getRules().get(0); assertEquals("originalId", registeredRule.getRuleId()); assertSame(processor1, registeredRule.getResponseProcessor());
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 21.9K bytes - Viewed (0) -
docs/en/docs/advanced/testing-dependencies.md
There are some scenarios where you might want to override a dependency during testing. You don't want the original dependency to run (nor any of the sub-dependencies it might have). Instead, you want to provide a different dependency that will be used only during tests (possibly only some specific tests), and will provide a value that can be used where the value of the original dependency was used. ### Use cases: external service { #use-cases-external-service }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
// Verify it returns a clone, not the original password[0] = 'X'; char[] password2 = authenticator.getPasswordAsCharArray(); assertNotEquals(password[0], password2[0], "Should return a clone, not the original"); } @Test public void testPasswordConstructorWithCharArray() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
NtlmPasswordAuthenticator original = new NtlmPasswordAuthenticator("DOMAIN", "testuser", testPassword); NtlmPasswordAuthenticator cloned = original.clone(); // Verify cloned values assertEquals(original.getUserDomain(), cloned.getUserDomain()); assertEquals(original.getUsername(), cloned.getUsername()); assertEquals(original.getPassword(), cloned.getPassword());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
SmbOperationException original = new SmbOperationException(SmbOperationException.ErrorCode.CONNECTION_TIMEOUT, "Timeout"); original.withContext("attempt", 1); // When SmbOperationException retry = SmbOperationException.forRetry(original, 2); // Then assertEquals(original.getErrorCode(), retry.getErrorCode()); assertEquals(original.getMessage(), retry.getMessage());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleGuidTest.java
} @Test public void testHandleGuidRoundTrip() { HandleGuid original = new HandleGuid(); byte[] bytes = original.toBytes(); HandleGuid reconstructed = new HandleGuid(bytes); assertEquals(original, reconstructed); assertEquals(original.toString(), reconstructed.toString()); assertEquals(original.hashCode(), reconstructed.hashCode()); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
} /** * Gets the size of the original unencrypted message * * @return the original message size */ public int getOriginalMessageSize() { return this.originalMessageSize; } /** * Sets the size of the original unencrypted message * * @param originalMessageSize * the original message size to set */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java
} @Test void testEncodeDecode() { NetworkInterfaceInfo original = new NetworkInterfaceInfo(testAddress, 1000); original.setInterfaceIndex(1); original.setCapability(Smb2ChannelCapabilities.NETWORK_INTERFACE_CAP_RSS); byte[] encoded = original.encode(); assertEquals(Smb2ChannelCapabilities.NETWORK_INTERFACE_INFO_SIZE, encoded.length);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbOperationException.java
* * @param original the original exception * @param attemptNumber the current attempt number * @return new exception with updated attempt information */ public static SmbOperationException forRetry(SmbOperationException original, int attemptNumber) { SmbOperationException retry = new SmbOperationException(original.errorCode, original.originalMessage, original.getCause(),Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.5K bytes - Viewed (0) -
docs/en/docs/advanced/behind-a-proxy.md
``` The **proxy** intercepts the original client request and adds the special *forwarded* headers (`X-Forwarded-*`) before passing the request to the **application server**. These headers preserve information about the original request that would otherwise be lost: * **X-Forwarded-For**: The original client's IP address * **X-Forwarded-Proto**: The original protocol (`https`)
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 19:34:08 UTC 2025 - 16K bytes - Viewed (0)