- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 1,057 for certify (0.05 seconds)
-
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
// Verify interactions assertEquals(0x20, response.info.getAttributes()); assertEquals(1024L, response.info.getSize()); assertEquals(1000000L, response.info.getCreateTime()); assertEquals(2000000L, response.info.getLastWriteTime()); // Verify the mock was called verify(mockInfo).getAttributes();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java
AvTargetName avTargetName = new AvTargetName(rawBytes); // Verify the AvPair type is MsvAvTargetName assertEquals(AvPair.MsvAvTargetName, avTargetName.getType(), "AvPair type should be MsvAvTargetName"); // Verify the raw bytes are correctly stored assertArrayEquals(rawBytes, avTargetName.getRaw(), "Raw bytes should match the input"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
try (SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access)) { assertNotNull(handle); // Verify that sendrecv was called with MsrpcSamrConnect4 verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrConnect4.class)); verify(mockHandle, never()).sendrecv(any(MsrpcSamrConnect2.class)); } } @Test void testConstructor_NullServer() throws IOException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
// Verify constructor invoked acquire once verify(treeConnection, times(1)).acquire(); // getConfig delegates when(treeConnection.getConfig()).thenReturn(config); assertSame(config, handle.getConfig()); verify(treeConnection).getConfig(); // isConnected delegatesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
// Verify structure size assertEquals(36, SMBUtil.readInt2(buffer, 0)); // Verify dialect count assertEquals(3, SMBUtil.readInt2(buffer, 2)); // SMB210, SMB300, SMB302 // Verify security mode assertEquals(Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED, SMBUtil.readInt2(buffer, 4)); // Verify capabilitiesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
// Execute List<FileNotifyInformation> result = watchHandle.watch(); // Verify assertNotNull(result); assertEquals(3, result.size()); assertEquals(fileNotifyInfo1, result.get(0)); assertEquals(fileNotifyInfo2, result.get(1)); assertEquals(fileNotifyInfo3, result.get(2)); verify(watchHandle, times(1)).watch(); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java
// Test isUseTimeZoneHandling() method @Test public void test_isUseTimeZoneHandling() { // Verify that time zone handling is disabled assertFalse(provider.isUseTimeZoneHandling()); } // Test isAcceptCookieTimeZone() method @Test public void test_isAcceptCookieTimeZone() { // Verify that cookie time zone is not accepted assertFalse(provider.isAcceptCookieTimeZone()); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.2K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceTest.java
mockResource.setLastAccess(testTime); }, "Setting individual times should not throw exception"); verify(mockResource).setCreateTime(testTime); verify(mockResource).setLastModified(testTime); verify(mockResource).setLastAccess(testTime); } } @Nested @DisplayName("File Operations Tests") class FileOperationsTests {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
// Verify structure size (32) assertEquals(32, SMBUtil.readInt2(buffer, offset)); // Verify notify flags assertEquals(Smb2ChangeNotifyRequest.SMB2_WATCH_TREE, SMBUtil.readInt2(buffer, offset + 2)); // Verify output buffer length assertEquals(8192, SMBUtil.readInt4(buffer, offset + 4)); // Verify file ID byte[] readFileId = new byte[16];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
TestIterator iterator = new TestIterator(filter); // Verify iteration assertTrue(iterator.hasNext()); assertSame(resource, iterator.next()); assertFalse(iterator.hasNext()); // With filter, resource should be closed due to try-with-resources verify(filter).accept(resource); verify(resource).close(); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.6K bytes - Click Count (0)