- Sort Score
- Num 10 results
- Language All
Results 481 - 490 of 4,822 for Void (0.03 seconds)
-
src/test/java/jcifs/smb1/smb1/DfsTest.java
&& cacheEntryDefault.expiration <= expectedExpirationDefault + 100); } @Test void testGetTrustedDomains_Disabled() throws SmbAuthException { // Test with disabled DFS testDfs.setDisabled(true); assertNull(testDfs.getTrustedDomains(auth)); } @Test void testGetTrustedDomains_Cached() throws SmbAuthException { Dfs.CacheEntry cacheEntry = new Dfs.CacheEntry(300);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.6K bytes - Click Count (0) -
src/test/java/jcifs/util/CryptoTest.java
/** * Test class for Crypto utility functionality */ @DisplayName("Crypto Utility Tests") class CryptoTest extends BaseTest { @Test @DisplayName("Should calculate MD4 hash correctly") void testMD4Hash() { // Given String input = "Hello World"; byte[] data = input.getBytes(); // When MessageDigest md4 = Crypto.getMD4(); byte[] hash = md4.digest(data);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) -
guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
assertTrue(a1[0] != a2[0]); } public void testRange() { assertFreshInstance(new TypeToken<Range<String>>() {}); } public void testImmutableList() { assertFreshInstance(new TypeToken<ImmutableList<String>>() {}); } public void testImmutableSet() { assertFreshInstance(new TypeToken<ImmutableSet<String>>() {}); } public void testImmutableSortedSet() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 18.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SessionSetupHandlerTest.java
} @Test @DisplayName("Edge: null is not an instance of the interface") void testNullIsNotInstance() { // Assert assertFalse(SessionSetupHandler.class.isInstance(null)); } @Test @DisplayName("Invalid: looking up constructor on interface fails") void testNoConstructorLookup() { // Act & Assert: interfaces have no constructorsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java
} @Test public void test_constructor_withNullCause() { // Test constructor with null cause final JobProcessingException exception = new JobProcessingException((Throwable) null); assertNotNull(exception); assertNull(exception.getCause()); assertNull(exception.getMessage()); } @Test public void test_constructor_withNullMessageAndCause() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.2K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
@Mock private rpc.sid_t mockSidT; @Mock private rpc.unicode_string mockUnicodeString; @Mock private lsarpc.LsarSidArray mockLsarSidArray; @BeforeEach void setUp() { // Directly set the deferred field on the mock mockNdrBuffer.deferred = mockDeferredBuffer; // Configure mocks for NdrBuffer interactionsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 33.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
@Mock private Configuration mockConfig; private Trans2QueryPathInformationResponse response; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Test constructor with FILE_BASIC_INFO level") void testConstructorWithFileBasicInfo() { response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_BASIC_INFO);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java
} @Test public void test_calculateDocumentSize() { assertEquals(0, indexingHelper.calculateDocumentSize(Collections.emptyMap())); assertEquals(118, indexingHelper.calculateDocumentSize(Map.of("id", "test"))); assertEquals(249, indexingHelper.calculateDocumentSize(Map.of("id", "test", "url", "http://test.com/"))); } @Test public void test_setMaxRetryCount() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 29.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/JobProcessTest.java
} @Test public void test_getProcess() throws IOException { Process mockProcess = createMockProcess("test"); JobProcess jobProcess = new JobProcess(mockProcess); Process retrievedProcess = jobProcess.getProcess(); assertSame(mockProcess, retrievedProcess); } @Test public void test_getInputStreamThread() throws IOException {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResultTest.java
public class SuggestWriterResultTest { @Test public void test_constructor() throws Exception { SuggestWriterResult result = new SuggestWriterResult(); assertNotNull(result); assertFalse(result.hasFailure()); assertNotNull(result.getFailures()); assertEquals(0, result.getFailures().size()); } @Test public void test_addFailure() throws Exception {Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Nov 13 00:40:54 GMT 2025 - 4.3K bytes - Click Count (0)