- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 111 for original (0.06 sec)
-
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/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
} public void test_toLineString() { // Test toLineString method StopwordsItem item = new StopwordsItem(1, "original"); assertEquals("original", item.toLineString()); // When updated, should return newInput item.setNewInput("updated"); assertEquals("updated", item.toLineString());Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.9K 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) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
ois.close(); // Verify - enum instances are singletons assertSame(original, deserialized); assertEquals(original.name(), deserialized.name()); assertEquals(original.ordinal(), deserialized.ordinal()); } } /** * Test EnumSet functionality */ public void test_enumSet() {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K bytes - Viewed (0)