- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 878 for verifyCn (0.11 seconds)
-
src/test/java/jcifs/internal/AllocInfoTest.java
// Verify that AllocInfo extends FileSystemInformation assertTrue(FileSystemInformation.class.isAssignableFrom(AllocInfo.class)); } @Test @DisplayName("Should implement Decodable interface through FileSystemInformation") void shouldImplementDecodableInterface() { // Verify that AllocInfo indirectly implements DecodableCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
// Verify lease state assertEquals(leaseState, SMBUtil.readInt4(buffer, 40)); // Verify directory-specific data assertEquals(DirectoryCacheScope.RECURSIVE_TREE.ordinal(), SMBUtil.readInt4(buffer, 56)); // CacheScope assertEquals(45000L, SMBUtil.readInt8(buffer, 60)); // MaxCacheAge // Verify flags (RECURSIVE_TREE + NOTIFICATIONS)Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 10.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/RequestWithPathTest.java
doNothing().when(requestWithPath).setResolveInDfs(true); requestWithPath.setResolveInDfs(true); verify(requestWithPath, times(1)).setResolveInDfs(true); doNothing().when(requestWithPath).setResolveInDfs(false); requestWithPath.setResolveInDfs(false); verify(requestWithPath, times(1)).setResolveInDfs(false); // Test with implementation
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
ExecutorService service = mock(ExecutorService.class); application.addDelayedShutdownHook(service, 2, SECONDS); verify(service, Mockito.never()).shutdown(); application.shutdown(); InOrder shutdownFirst = Mockito.inOrder(service); shutdownFirst.verify(service).shutdown(); shutdownFirst.verify(service).awaitTermination(2, SECONDS); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 26.5K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarCloseTest.java
// Verify that the handle passed to the constructor is correctly set in the superclass assertEquals(mockHandle, lsarClose.handle, "The handle should be initialized correctly."); // Verify that the ptype is set to 0 assertEquals(0, lsarClose.getPtype(), "The ptype should be set to 0.");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
// Verify bytes written assertEquals(8, bytesWritten); // Verify FID (2 bytes) assertEquals(fid, SMBUtil.readInt2(dst, dstIndex)); // Verify reserved bytes (2 bytes at positions 2-3) assertEquals(0x00, dst[dstIndex + 2]); assertEquals(0x00, dst[dstIndex + 3]); // Verify security information (4 bytes)Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
// Verify search attributes (masked with 0x37) assertEquals(0x37, SMBUtil.readInt2(buffer, 0)); // Verify max items assertEquals(100, SMBUtil.readInt2(buffer, 2)); // Verify flags (should be 0x00) assertEquals(0x00, SMBUtil.readInt2(buffer, 4)); // Verify information level (SMB_FILE_BOTH_DIRECTORY_INFO)Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
int bytesConsumed = response.decode(buffer, 0, 28); // Verify assertEquals(28, bytesConsumed, "Should consume exactly 28 bytes"); byte[] resumeKey = response.getResumeKey(); assertNotNull(resumeKey, "Resume key should not be null"); assertEquals(24, resumeKey.length, "Resume key should be 24 bytes"); // Verify resume key content for (int i = 0; i < 24; i++) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
assertEquals(0, deleted); // Verify it used the same search logic (type parameter is ignored) verify(mockClient).prepareSearch("test-index"); } /** * Test: Verify that OnConnectListener is properly invoked */ @Test public void testOnConnectListenerInvoked() {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Nov 20 08:44:44 GMT 2025 - 17K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JsonExtractorTest.java
logger.info(content); // Verify content contains expected fields assertTrue(content.contains("title")); assertTrue(content.contains("Sample Document")); assertTrue(content.contains("author")); assertTrue(content.contains("John Doe")); // Verify metadata extraction assertNotNull(extractData.getValues("title"));
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Nov 23 03:46:53 GMT 2025 - 4.7K bytes - Click Count (0)