- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 4,353 for news (0.31 sec)
-
src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java
CommandExecutionException cmdNotFound = new CommandExecutionException("Command 'xyz' not found"); assertTrue(cmdNotFound.getMessage().contains("not found")); // Scenario 2: Command timeout CommandExecutionException timeout = new CommandExecutionException("Command execution timed out after 30 seconds", new RuntimeException("Timeout"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK); assertEquals(0L, info.length()); } @Test @DisplayName("Test equals method with same netName") void testEqualsWithSameNetName() { SmbShareInfo info1 = new SmbShareInfo("Share1", 0, "Remark1"); SmbShareInfo info2 = new SmbShareInfo("Share1", 1, "Remark2");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
*/ class DfsReferralResponseBufferTest { private DfsReferralResponseBuffer buffer; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); buffer = new DfsReferralResponseBuffer(); } @Nested @DisplayName("Constructor and Initial State Tests") class ConstructorTests { @Test @DisplayName("Should initialize with null referrals")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
class BadRunnableException extends RuntimeException {} CountingRunnable before = new CountingRunnable(); Runnable bad = new Runnable() { @Override public void run() { throw new BadRunnableException(); } }; CountingRunnable after = new CountingRunnable(); future.addListener(before, directExecutor());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java
*/ @Test void testEquals() { SmbShareInfo instance1 = new SmbShareInfo("SHARE1", 0, "remark1"); SmbShareInfo instance2 = new SmbShareInfo("SHARE1", 1, "remark2"); SmbShareInfo instance3 = new SmbShareInfo("SHARE2", 0, "remark1"); Object notAShareInfo = new Object(); assertTrue(instance1.equals(instance2)); // Should be equal based on netName
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java
} public void test_multiLevelCause() { // Test with nested exceptions Throwable rootCause = new IllegalStateException("Root problem"); Throwable intermediateCause = new RuntimeException("Intermediate problem", rootCause); GsaConfigException exception = new GsaConfigException("Top level GSA error", intermediateCause); assertNotNull(exception);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java
.createTestSuite(); } private static String[] dedupe(String[] elements) { Set<String> tmp = new LinkedHashSet<>(); Collections.addAll(tmp, elements); return tmp.toArray(new String[0]); } static <T> Comparator<T> arbitraryNullFriendlyComparator() { return new NullFriendlyComparator<>(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 15K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
*/ protected final Object inLock = new Object(); /** * Lock object for synchronizing output operations */ protected final Object outLock = new Object(); /** * Map for tracking pending responses by their key */ protected final Map<Long, Response> response_map = new ConcurrentHashMap<>(10); private final AtomicLong usageCount = new AtomicLong(1); /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java
public final class CertificatePinning { private final OkHttpClient client = new OkHttpClient.Builder() .certificatePinner( new CertificatePinner.Builder() .add("publicobject.com", "sha256/Vjs8r4z+80wjNcr1YKepWQboSIRi63WsWXhIMN+eWys=") .build()) .build(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/robots.txt")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Dec 08 21:30:01 UTC 2019 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
byte[] buffer = new byte[100]; int read = trans2FindFirst2.readParametersWireFormat(buffer, 0, 100); assertEquals(0, read); } @Test @DisplayName("Test readDataWireFormat returns 0") void testReadDataWireFormat() { trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", 0x16, 10, 1024);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0)