- Sort Score
- Result 10 results
- Languages All
Results 921 - 930 of 4,129 for Avoid (0.04 sec)
-
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
*/ @NullUnmarked public class MoreExecutorsTest extends JSR166TestCase { private static final Runnable EMPTY_RUNNABLE = new Runnable() { @Override public void run() {} }; public void testDirectExecutorServiceServiceInThreadExecution() throws Exception { ListeningExecutorService executor = newDirectExecutorService(); ThreadLocal<Integer> threadLocalCount =Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 26.5K bytes - Viewed (0) -
src/test/java/jcifs/NameServiceClientTest.java
import org.mockito.MockitoAnnotations; class NameServiceClientTest { @Mock private NameServiceClient nameServiceClient; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test void testGetLocalHost() { // Arrange NetbiosAddress expectedAddress = mock(NetbiosAddress.class); when(nameServiceClient.getLocalHost()).thenReturn(expectedAddress);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
cifsContextWrapper = new CIFSContextWrapper(mockDelegate); } @Test void testConstructor() { // Verify that the delegate is correctly set assertNotNull(cifsContextWrapper); } @Test void testGetSmbResource() throws CIFSException, MalformedURLException { // Test get(String url) method
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/DefaultIntervalController.java
/** * Delays after processing a URL. */ @Override protected void delayAfterProcessing() { if (delayMillisAfterProcessing > 0) { ThreadUtil.sleep(delayMillisAfterProcessing); } } /** * Delays when no URL is in the queue. */ @Override protected void delayAtNoUrlInQueue() { if (delayMillisAtNoUrlInQueue > 0) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:58:39 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
@DisplayName("getDefaultPort returns SMB default port 445") void testGetDefaultPort() { // Act int port = handler.getDefaultPort(); // Assert assertEquals(445, port); assertEquals(SmbConstants.DEFAULT_PORT, port); } @Test @DisplayName("openConnection creates SmbFile for valid URL") void testOpenConnectionWithValidUrl() throws IOException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
class SourcesTest { @TempDir Path tempDir; @Test void testFromPath() { Path path = Paths.get("/tmp"); Source source = Sources.fromPath(path); assertNotNull(source); assertInstanceOf(Sources.PathSource.class, source); assertEquals(path.normalize(), source.getPath()); } @Test void testBuildSource() { Path path = Paths.get("/tmp");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java
assertThat(INSTANCE.get('a', 1)).isNull(); } public void testIsEmpty() { assertTrue(INSTANCE.isEmpty()); } public void testCellSet() { assertEquals(ImmutableSet.of(), INSTANCE.cellSet()); } public void testColumn() { assertEquals(ImmutableMap.of(), INSTANCE.column(1)); } public void testColumnKeySet() { assertEquals(ImmutableSet.of(), INSTANCE.columnKeySet());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/cbean/bs/BsSearchLogCB.java
public void columnId() { doColumn("_id"); } public void columnAccessType() { doColumn("accessType"); } public void columnClientIp() { doColumn("clientIp"); } public void columnHitCount() { doColumn("hitCount"); } public void columnHitCountRelation() {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/QueuesTest.java
} } } public void testDrainOverflow() throws InterruptedException { Queues.drain(new SynchronousQueue<>(), new ArrayList<>(), /* numElements= */ 0, MAX_DURATION); } public void testDrainUninterruptiblyOverflow() { Queues.drainUninterruptibly( new SynchronousQueue<>(), new ArrayList<>(), /* numElements= */ 0, MAX_DURATION); } public void testZeroElements() throws Exception {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Nov 04 17:24:58 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
return this.command; } @Override public void setCommand(int command) { this.command = command; } @Override public void setUid(int uid) { this.uid = uid; } @Override public void setExtendedSecurity(boolean extendedSecurity) { this.extendedSecurity = extendedSecurity;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0)