- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 874 for Verify (0.03 sec)
-
src/test/java/jcifs/http/NtlmHttpFilterTest.java
filter.doFilter(request, response, filterChain); verify(response).setStatus(HttpServletResponse.SC_UNAUTHORIZED); verify(response).setHeader("WWW-Authenticate", "NTLM"); verify(response).addHeader("WWW-Authenticate", "Basic realm=\"TestRealm\""); verify(filterChain, never()).doFilter(any(), any()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
assertEquals(mockNotifyInfo2, notifications.get(1)); // Verify first notification FileNotifyInformation info1 = notifications.get(0); assertEquals(FileNotifyInformation.FILE_ACTION_ADDED, info1.getAction()); assertEquals("test1.txt", info1.getFileName()); // Verify second notification FileNotifyInformation info2 = notifications.get(1);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/UrlFilterServiceImplTest.java
// Verify assertEquals(3, includePatterns.size()); assertEquals(3, excludePatterns.size()); // Verify all calls were made verify(dataHelper).addIncludeUrlPattern(sessionId, "https://example.com/.*"); verify(dataHelper).addIncludeUrlPattern(sessionId, "https://test.com/.*");Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 11.1K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java
strategy.apply(context, pomMap); // Verify child groupId was removed (matches parent, can be inferred) assertNull(childRoot.child("groupId").orElse(null)); // Verify child version was kept (differs from parent, cannot be inferred) assertNotNull(childRoot.child("version").orElse(null)); // Verify child artifactId was kept (always required)
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 35.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
assertArrayEquals(testKey.getKey(), encodedKey); // Verify lease state at offset 40 (24 + 16 for key) assertEquals(testState, SMBUtil.readInt4(buffer, 40)); // Verify lease flags at offset 44 (40 + 4 for state) assertEquals(0, SMBUtil.readInt4(buffer, 44)); // Verify lease duration at offset 48 (44 + 4 for flags) - should be 0 (reserved)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java
// execute ToolchainPrivate[] toolchains = toolchainManager.getToolchainsForType("basic", session); // verify verify(logger, never()).error(anyString()); assertEquals(1, toolchains.length); } @Test void testToolchainsForUnknownType() throws Exception { // prepareRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java
// Then // Verify that the 'sam' field is set correctly assertEquals(mockSamArray, msrpc.sam, "The 'sam' field should be initialized with the provided SamrSamArray."); // Verify that the 'ptype' field is set to 0 assertEquals(0, msrpc.getPtype(), "The 'ptype' field should be initialized to 0."); // Verify that the 'flags' field is set to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAGRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
byte[] rawKey = keyManager.getRawKey(sessionId); assertNotNull(rawKey, "Should retrieve raw key"); assertArrayEquals(testKey, rawKey, "Raw key should match"); // Verify we get a copy, not the original rawKey[0] = (byte) ~rawKey[0]; byte[] rawKey2 = keyManager.getRawKey(sessionId); assertArrayEquals(testKey, rawKey2, "Should still match original"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/context/AbstractCIFSContextTest.java
CIFSContext wrappedContext = context.withCredentials(newCreds); assertNotNull(wrappedContext); assertTrue(wrappedContext instanceof CIFSContextCredentialWrapper); // Verify that the new context uses the provided credentials assertEquals(newCreds, wrappedContext.getCredentials()); } @Test void testWithAnonymousCredentials() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
byte[] dest = new byte[5]; int encodedLen = encodable.encode(dest, 0); // Verify encoded length assertEquals(3, encodedLen, "Encoded length should be equal to the specified length"); // Verify content assertArrayEquals(new byte[] { 0x02, 0x03, 0x04, 0x00, 0x00 }, dest, "Encoded bytes should match the expected subset"); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0)