- Sort Score
- Num 10 results
- Language All
Results 541 - 550 of 1,040 for verifyCn (0.05 seconds)
-
guava-tests/test/com/google/common/collect/Derived.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import org.jspecify.annotations.NullUnmarked; /** Simple derived class to verify that we handle generics correctly. */ @GwtCompatible @NullUnmarked class Derived extends Base { public Derived(String s) { super(s); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 1.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java
String message = "Serialization test"; Exception cause = new Exception("Test cause"); SearchQueryException exception = new SearchQueryException(message, cause); // Verify serialVersionUID is properly set assertNotNull(exception); assertTrue(exception instanceof java.io.Serializable); } @Test public void test_stackTracePresence() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10K 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/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) -
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) -
src/test/java/org/codelibs/fess/job/JobExecutorTest.java
} }; jobExecutor.addShutdownListener(listener); assertNotNull(jobExecutor.shutdownListener); assertEquals(listener, jobExecutor.shutdownListener); // Verify listener is called on shutdown jobExecutor.shutdown(); assertTrue(shutdownCalled.get()); } @Test public void test_addShutdownListener_replace() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 9.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CrawlerLogHelperTest.java
@Test public void test_log_method_exists() { // Test that the log method exists and can be called // We can't easily test the actual functionality without complex mocking // but we can verify the class structure assertNotNull(crawlerLogHelper); assertTrue(CrawlerLogHelper.class.getSuperclass().getSimpleName().contains("LogHelper")); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 1.5K 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/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
// Test insert method @Test public void test_insert() { loadTestData(); StopwordsItem newItem = new StopwordsItem(0, "test"); stopwordsFile.insert(newItem); // Verify the item was added boolean found = false; for (StopwordsItem item : stopwordsFile.stopwordsItemList) { if ("test".equals(item.getInput())) { found = true;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaProvider.java
try { // Check if DiSNI is available on the classpath Class.forName("com.ibm.disni.RdmaActiveEndpointGroup"); // Additional checks could include: // - Verifying RDMA devices are available // - Testing basic RDMA operations // - Checking for required native libraries return true; } catch (ClassNotFoundException e) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 5.2K bytes - Click Count (0)