- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 334 for originalId (0.06 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java
*/ static boolean matchPattern(ArtifactRepository originalRepository, String pattern) { boolean result = false; String originalId = originalRepository.getId(); // simple checks first to short circuit processing below. if (WILDCARD.equals(pattern) || pattern.equals(originalId)) { result = true; } else { // process the list String[] repos = pattern.split(",");
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 8K bytes - Viewed (0) -
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) -
src/test/java/org/codelibs/fess/entity/RequestParameterTest.java
// Test that modifying the original values array doesn't affect the parameter String name = "immutableParam"; String[] originalValues = { "original1", "original2" }; RequestParameter param = new RequestParameter(name, originalValues); // Get values and verify they match String[] retrievedValues = param.getValues(); assertEquals("original1", retrievedValues[0]);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
when(decodeBuffer.dec_ndr_small()).thenReturn((int) originalSid.revision, (int) originalSid.sub_authority_count, (int) originalSid.identifier_authority[0], (int) originalSid.identifier_authority[1], (int) originalSid.identifier_authority[2], (int) originalSid.identifier_authority[3],
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
// 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 void testReset() { ndrBuffer.advance(100); ndrBuffer.setLength(150); ndrBuffer.reset();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K 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/SecurityBlobTest.java
data[0] = 99; assertFalse(original.equals(copy), "After mutation, original should not equal previous clone"); // Ensure arrays are independent: mutate clone's buffer via getter copy.get()[1] = 77; assertNotEquals(original.toString(), copy.toString(), "Mutating clone should not affect original"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
*/ @ParameterizedTest @ValueSource(ints = { 0, 42, 255, -1, 128 }) void encodeDecodeRoundTrip(int original) throws Exception { // The constructor masks to 0xFF (8 bits) int expected = original & 0xFF; NdrShort ns = new NdrShort(original); buf.reset(); ns.encode(buf); // should not throw // After encoding, check how many bytes were used
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K 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) -
guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java
assertSame(Ordering.natural(), copy.comparator()); } public void testCopyOf() { Map<String, Integer> original = new LinkedHashMap<>(); original.put("one", 1); original.put("two", 2); original.put("three", 3); ImmutableSortedMap<String, Integer> copy = ImmutableSortedMap.copyOf(original); assertMapEquals(copy, "one", 1, "three", 3, "two", 2); assertSame(copy, ImmutableSortedMap.copyOf(copy));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0)