- Sort Score
- Num 10 results
- Language All
Results 511 - 520 of 1,121 for verify (0.04 seconds)
-
src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java
} } @Test public void test_class_isFinal() { // Verify that KuromojiCSVUtil is a final class assertTrue("KuromojiCSVUtil should be final class", java.lang.reflect.Modifier.isFinal(KuromojiCSVUtil.class.getModifiers())); } @Test public void test_static_method_signatures() { // Verify all public static methods exist with correct signatures try {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 18.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.util.concurrent; import static com.google.common.base.Verify.verify; import static com.google.common.truth.Truth.assertThat; import static com.google.common.util.concurrent.Futures.immediateFailedFuture; import static com.google.common.util.concurrent.Futures.immediateFuture;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/job/ScriptExecutorJobTest.java
// Execute the real process() method final TestableScriptExecutorJob job = new TestableScriptExecutorJob(); job.process(runtime); // Verify the JobLog was stored with the pre-generated ID assertNotNull(storedJobLog.get()); assertEquals("pregenerated-abc123", storedJobLog.get().getId());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 13.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
entry.updateChild("dir1", 0L, 3000L, true, 0x10, 700L, 1000L); List<DirectoryCacheEntry.FileInfo> children = entry.getChildren(); assertEquals(3, children.size()); // Verify all children are present assertTrue(children.stream().anyMatch(f -> "file1.txt".equals(f.getName()))); assertTrue(children.stream().anyMatch(f -> "file2.txt".equals(f.getName())));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 8.4K bytes - Click Count (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
Thread.sleep(1100); // Wait for reset // First attempt transitions to HALF_OPEN try { circuitBreaker.executeWithCircuitBreaker(() -> { // Verify we're in HALF_OPEN assertEquals(State.HALF_OPEN, circuitBreaker.getState()); throw new RuntimeException("Failure in half-open"); });
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java
@DisplayName("Test reset() method resets transaction state") void testReset() { // Modify state transaction.nextElement(); // Reset transaction.reset(); // Verify state is reset assertTrue(transaction.hasMoreElements(), "hasMoreElements should be true after reset"); } @Test @DisplayName("Test reset(int, String) method") void testResetWithParameters() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
// Set the DFS referral mock loc.setDfsReferral(dfs); // Verify we can retrieve it DfsReferralData received = loc.getDfsReferral(); assertSame(dfs, received); // Verify that the URL returned by getURL works with SMB handler URL returned = loc.getURL(); if (returned != null) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FlushablesTest.java
* limitations under the License. */ package com.google.common.io; import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import java.io.Flushable; import java.io.IOException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link Flushables}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 3.3K bytes - Click Count (0) -
src/test/java/jcifs/MsrpcLsarCloseTest.java
MsrpcLsarClose msrpcLsarClose = new MsrpcLsarClose(mockPolicyHandle); // Assert that the object is not null assertNotNull(msrpcLsarClose, "MsrpcLsarClose object should not be null"); // Verify that the constructor correctly sets ptype and flags // These values are inherited from LsarClose, but MsrpcLsarClose sets them in its constructor assertEquals(0, msrpcLsarClose.getPtype(), "ptype should be 0");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.5K bytes - Click Count (0) -
src/test/java/jcifs/http/HandlerTest.java
assertTrue(connection instanceof NtlmHttpURLConnection, "Connection must be wrapped in NtlmHttpURLConnection."); // Verify that our custom factory was indeed used. verify(mockFactory).createURLStreamHandler("http"); } @Test void testOpenConnection_WithSystemPropertyHandler_SkipsJcifsPackage() throws Exception {
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)