- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 782 for succeed (0.04 seconds)
-
src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java
assertEquals(30, searchLogDeletedDays[0]); assertEquals(14, jobLogDeletedDays[0]); assertEquals(7, userInfoDeletedDays[0]); // Assert result is empty when all succeed assertEquals("", result); } // Test with negative days to skip purging @Test public void test_execute_negativeDays() { // Setup tracking variables
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 32.7K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/TransportTest.java
transport.setConnectFails(true); assertThrows(TransportException.class, () -> transport.connect(1000)); } @Test @DisplayName("disconnect should succeed when connected") void shouldDisconnectWhenConnected() throws IOException { transport.setState(3); // Connected assertFalse(transport.disconnect(false));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
*/ public void setOffset(final long offset) { this.offset = offset; } /** * Sets the minimum number of bytes that must be read for the operation to succeed * * @param minimumCount * the minimumCount to set */ public void setMinimumCount(final int minimumCount) { this.minimumCount = minimumCount; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.8K bytes - Click Count (0) -
src/main/java/jcifs/ACE.java
* <code>FILE_WRITE_DATA</code> bit on (bit <code>0x00000002</code>). Actually, this isn't quite correct. If * <code>WNET\alice</code> is in the local <code>Administrators</code> group the access check * will succeed because the inherited ACE allows local <code>Administrators</code> * both <code>FILE_READ_DATA</code> and <code>FILE_WRITE_DATA</code> access. */ public interface ACE { /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/SmbSessionTest.java
} }).start(); } latch.await(5, java.util.concurrent.TimeUnit.SECONDS); assertEquals(5, successCount.get(), "All concurrent calls should succeed"); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
cmd/erasure-multipart-conditional_test.go
} z.serverPools[0].erasureDisksMu.Unlock() t.Run("if-none-match with read quorum failure", func(t *testing.T) { // Test Case 1: if-none-match (create only if doesn't exist) // With if-none-match: *, this should only succeed if object doesn't exist. // Since read quorum fails, we can't determine if object exists. opts := ObjectOptions{ UserDefined: map[string]string{ xhttp.IfNoneMatch: "*", },
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 6.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
// Refresh should clear the cache auth.refresh(); Subject afterRefresh = auth.getSubject(); // After refresh, may succeed or fail depending on JAAS configuration // Just verify that refresh doesn't break the authenticator assertNotNull(auth, "Authenticator should remain usable after refresh"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
} // Additional tests for parseQuery edge cases @Test public void testParseQueryWithExactly5Terms() { // Test query with exactly MAX_QUERY_TERM_NUM (5) terms - should succeed String query = "one two three four five"; String field = "content"; String[] keywords = SuggestUtil.parseQuery(query, field); assertNotNull(keywords);Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 26.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
assertTrue(at.compareAndSet(prev, x)); assertBitEquals(x, at.get()); prev = x; } } /** compareAndSet in one thread enables another waiting for value to succeed */ public void testCompareAndSetInMultipleThreads() throws Exception { AtomicDouble at = new AtomicDouble(1.0); Thread t = newStartedThread( new CheckedRunnable() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10.6K bytes - Click Count (0) -
src/test/java/jcifs/http/HandlerTest.java
URLStreamHandlerFactory mockFactory2 = mock(URLStreamHandlerFactory.class); Handler.setURLStreamHandlerFactory(mockFactory1); // First call, should succeed. assertThrows(IllegalStateException.class, () -> { Handler.setURLStreamHandlerFactory(mockFactory2); // Second call, should fail.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (0)