- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 4,230 for new1 (0.02 sec)
-
src/test/java/org/codelibs/fess/util/ErrorToWarnRewritePolicyTest.java
String[] loggerNames = { "test.logger", "another.logger" }; ErrorToWarnRewritePolicy policy = new ErrorToWarnRewritePolicy(loggerNames); assertNotNull(policy); } public void test_rewrite_with_null_logger_name() { String[] loggerNames = { "test.logger" }; ErrorToWarnRewritePolicy policy = new ErrorToWarnRewritePolicy(loggerNames); LogEvent event =
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 11.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java
public final class PrintEvents { private final OkHttpClient client = new OkHttpClient.Builder() .eventListenerFactory(PrintingEventListener.FACTORY) .build(); public void run() throws Exception { Request washingtonPostRequest = new Request.Builder() .url("https://www.washingtonpost.com/") .build(); client.newCall(washingtonPostRequest).enqueue(new Callback() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 16 23:20:49 UTC 2020 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, 0x1234, OWNER_SECURITY_INFORMATION); byte[] buffer = new byte[100]; int result = querySecurityDesc.readParametersWireFormat(buffer, 10, 50); assertEquals(0, result); } @Test @DisplayName("Test readDataWireFormat returns zero") void testReadDataWireFormat() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K 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/org/codelibs/core/beans/util/BeanUtilTest.java
BeanUtil.copyBeanToBean(src, dest, converter(new DateConverter("yyyy/MM/dd"))); System.out.println(dest.aaa); assertThat(dest.aaa, is(notNullValue())); } /** * @throws Exception */ @Test public void testCopy_beanToMap() throws Exception { final MyBean src = new MyBean(); src.aaa = "aaa"; final BeanMap dest = new BeanMap();
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 34.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java
WebApiException exception = new WebApiException(statusCode, message); assertNotNull(exception.getStackTrace()); assertTrue(exception.getStackTrace().length > 0); } public void test_nestedExceptions() { // Test nested exceptions Exception innerCause = new IllegalArgumentException("Invalid argument"); Exception middleCause = new RuntimeException("Runtime error", innerCause);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
} @Test void testEquals() { SmbTree tree1 = new SmbTree(session, "testShare", "testService"); SmbTree tree2 = new SmbTree(session, "testShare", "testService"); SmbTree tree3 = new SmbTree(session, "otherShare", "testService"); SmbTree tree4 = new SmbTree(session, "testShare", "otherService"); // Test equal trees (same share and service)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig); byte[] buffer = new byte[4]; int offset = 0; // When int bytesWritten = request.writeBytesWireFormat(buffer, offset); // Then assertEquals(4, bytesWritten); // Expected wire format: [0x04, 0x00, 0x00, 0x00] byte[] expected = new byte[] { 0x04, 0x00, 0x00, 0x00 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
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)