- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 282 for Successful (0.06 sec)
-
src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java
} @Test void testMockServiceHeartbeat() { String regId = mockService.registerWitness("\\\\server\\share", "192.168.1.100", 1); // Test successful heartbeat assertTrue(mockService.processHeartbeat(regId, 1)); assertTrue(mockService.processHeartbeat(regId, 2)); // Test heartbeat for non-existent registration
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java
import jcifs.pac.PacSignature; class KerberosPacAuthDataTest { private Map<Integer, KerberosKey> keys; @BeforeEach void setUp() { keys = new HashMap<>(); } // Test successful PAC creation with mocked Pac construction @Test void testConstructorSuccess() throws PACDecodingException { // Setup key byte[] keyBytes = new byte[32];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
// Check authentication HttpSession session = req.getSession(false); if (session != null && session.getAttribute("npa-workgroup") != null) { // Authentication successful - mock directory operation resp.setContentType("text/html"); doDirectory(req, resp, smbFile); } else { // Send 401
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* completed, has already been cancelled, or could not be cancelled for some other reason. If * successful, and this step has not started when {@code cancel} is called, this step should never * run. * * <p>If successful, causes the objects captured by this step (if already started) and its input
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 97.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
newWebSocket() clientListener.assertOpen() clientListener.assertFailure( SocketTimeoutException::class.java, "sent ping but didn't receive pong within 500ms (after 0 successful ping/pongs)", ) latch.countDown() val elapsedUntilFailure = System.nanoTime() - openAtNanos assertThat(TimeUnit.NANOSECONDS.toMillis(elapsedUntilFailure).toDouble()) .isCloseTo(1000.0, 250.0)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 35.5K bytes - Viewed (0) -
cmd/os-reliable.go
func reliableRename(srcFilePath, dstFilePath, baseDir string) (err error) { if err = reliableMkdirAll(path.Dir(dstFilePath), 0o777, baseDir); err != nil { return err } i := 0 for { // After a successful parent directory create attempt a renameAll. if err = Rename(srcFilePath, dstFilePath); err != nil { // Retry only for the first retryable error. if osIsNotExist(err) && i == 0 { i++ continue }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Apr 22 17:49:30 UTC 2024 - 5.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
taskFaker.runNextTask() // An edit should now add a job to clean up if the most recent trim failed. assertThat(cache.edit("b")).isNull() taskFaker.runNextTask() // Confirm a successful cache trim now allows edits. filesystem.setFaultyDelete(cacheDir / "a.0", false) assertThat(cache.edit("c")).isNull() taskFaker.runNextTask() set("c", "cc", "cc") assertValue("c", "cc", "cc")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 75.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
* * @param id The document ID to update * @param field The field name to update * @param value The new value for the field * @return true if the update was successful, false otherwise */ public boolean update(final String id, final String field, final Object value) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 35.8K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
*/ @AndroidIncompatible // depends on details of gc @NullUnmarked public class GcFinalizationTest extends TestCase { // ---------------------------------------------------------------- // Ordinary tests of successful method execution // ---------------------------------------------------------------- public void testAwait_countDownLatch() { CountDownLatch latch = new CountDownLatch(1); Object unused =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
private SrvRequestResumeKeyResponse response; @BeforeEach void setUp() { response = new SrvRequestResumeKeyResponse(); } @Test @DisplayName("Test successful decode with valid resume key") void testDecodeValidResumeKey() throws SMBProtocolDecodingException { // Prepare test data - 24 bytes for resume key + 4 bytes for context length byte[] buffer = new byte[28];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0)