- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 594 for sock (0.38 sec)
-
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
// Mock implementation }; generator.searchEngineClient = mockClient; assertEquals(mockClient, generator.searchEngineClient); } // Helper methods for setting up mock components private void setupMockComponents() { try { // Register mock system properties
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java
public void test_findBusinessLocale_withValidLocale() { // Setup mock config FessConfig mockConfig = new FessConfig.SimpleImpl() { @Override public String getQueryBrowserLangParameterName() { return "lang"; } }; ComponentUtil.setFessConfig(mockConfig); // Setup mock request manager
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java
assertTrue(true); } } public void test_crawl_withWebConfigOnly() { List<String> webConfigIds = Arrays.asList("webConfig1", "webConfig2"); // Mock CrawlingConfigHelper CrawlingConfigHelper crawlingConfigHelper = new CrawlingConfigHelper() { @Override public List<WebConfig> getWebConfigListByIds(List<String> webConfigIdList) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 15.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/CycleDetectingLockFactoryBenchmark.java
for (int i = 0; i < reps; i++) { lock.lock(); lock.unlock(); } } @Benchmark void orderedPlainLocks(int reps) { lockAndUnlockNested(plainLocks, reps); } @Benchmark void orderedCycleDetectingLocks(int reps) { lockAndUnlockNested(detectingLocks, reps); } private static void lockAndUnlockNested(Lock[] locks, int reps) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
* This test class uses Mockito to create a mock implementation of the SmbTreeHandle interface. * Each method of the interface is tested to ensure it behaves as expected. */ @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) class SmbTreeHandleTest { @Mock private SmbTreeHandle smbTreeHandle; @Mock private Configuration mockConfig; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/DfsReferralTest.java
// Create a mock DfsReferralData object DfsReferralData mockData = mock(DfsReferralData.class); String expectedToString = "Mock DfsReferralData"; // Define the behavior of the mock's toString() method when(mockData.toString()).thenReturn(expectedToString); // Create a DfsReferral instance with the mock data DfsReferral dfsReferral = new DfsReferral(mockData);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
class FileEntryAdapterIteratorTest { @Mock private CloseableIterator<FileEntry> delegate; @Mock private ResourceFilter filter; @Mock private SmbResource parent; @Mock private SmbResource resource; @Mock private FileEntry fileEntry; /** * Test implementation that always returns the same mock resource */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/SuggestJobTest.java
public void start() { // Mock implementation } // Custom join method to avoid overriding final Thread.join() public void waitForCompletion(long millis) { // Mock implementation } @Override public String getOutput() { return output; } } // Mock Process implementation
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 31.4K bytes - Viewed (0)