- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 529 for ensure (0.09 sec)
-
guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
import java.lang.reflect.Method; import java.util.Locale; import junit.framework.TestCase; /** * Since annotations have some reusability issues that force copy and paste all over the place, it's * worth having a test to ensure that all our Feature enums have their annotations correctly set up. * * @author George van den Driessche */ public class FeatureEnumTest extends TestCase {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
* cycle_suppress_list.txt. */ private final AbstractService service; /** * This lock is used to ensure safe and correct cancellation, it ensures that a new task is * not scheduled while a cancel is ongoing. Also it protects the currentFuture variable to * ensure that it is assigned atomically with being scheduled. */ private final ReentrantLock lock = new ReentrantLock();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.8K bytes - Viewed (0) -
guava-testlib/README.md
used on the CLASSPATH of users outside your own control), you should not use beta APIs, unless you [repackage] them. **If your code is a library, we strongly recommend using the [Guava Beta Checker] to ensure that you do not use any `@Beta` APIs!** [Guava Beta Checker]: https://github.com/google/guava-beta-checker <!-- References -->
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 18:38:35 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EchoRequest.java
package jcifs.internal.smb2; import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.internal.util.SMBUtil; /** * SMB2 Echo request message. * * This command is used to test connectivity and ensure the * SMB2 connection is still active. * * @author mbechler */ public class Smb2EchoRequest extends ServerMessageBlock2Request<Smb2EchoResponse> { /** * Constructs an SMB2 echo request
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java
assertEquals(-1, result); } public void test_setProcessDestroyTimeout() { processHelper.setProcessDestroyTimeout(20); // We can't directly verify the timeout value, but we can ensure the method doesn't throw assertTrue(true); } public void test_sendCommand_jobNotFound() { try { processHelper.sendCommand("nonexistent", "test command");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosFileFilterTest.java
} /** * Parameterized test for the {@link DosFileFilter#accept(SmbFile)} method. * This test covers various combinations of file attributes and filter attributes * to ensure the bitwise logic is correctly implemented. * * @param filterAttributes The attributes set for the filter. * @param fileAttributes The attributes of the mock file.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbAuthExceptionTest.java
assertEquals(NtStatus.NT_STATUS_UNSUCCESSFUL, ex.getNtStatus()); // Verify: constructor should not have interacted with the cause Mockito.verifyNoInteractions(mockCause); } /** * Ensure toString includes the exception class name and message, providing a readable representation. */ @Test @DisplayName("toString contains class name and message") void toString_containsClassAndMessage() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
void testIsSupportedAlwaysFalse() { SpnegoContext ctx = newContext(); ASN1ObjectIdentifier any = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2"); assertFalse(ctx.isSupported(any)); // Ensure delegate is not consulted verify(this.mechContext, never()).isSupported(any); } @Test @DisplayName("initSecContext with empty len returns initial NegTokenInit and delegates to mechContext")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java
// Stub the getRemoteHostName method when(mock.getRemoteHostName()).thenReturn("test-host"); // Verify the stubbing assertEquals("test-host", mock.getRemoteHostName()); // Ensure that the mock was interacted with verify(mock).getRemoteHostName(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0)