- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 4,617 for New (0.03 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) -
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) -
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/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) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
testRotate(new double[] {1, 2}, -3, new double[] {2, 1}); testRotate(new double[] {1, 2}, -1, new double[] {2, 1}); testRotate(new double[] {1, 2}, -2, new double[] {1, 2}); testRotate(new double[] {1, 2}, 0, new double[] {1, 2}); testRotate(new double[] {1, 2}, 1, new double[] {2, 1}); testRotate(new double[] {1, 2}, 2, new double[] {1, 2}); testRotate(new double[] {1, 2}, 3, new double[] {2, 1});Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.9K 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) -
guava-tests/test/com/google/common/primitives/LongsTest.java
testRotate(new long[] {1, 2}, -1, new long[] {2, 1}); testRotate(new long[] {1, 2}, -2, new long[] {1, 2}); testRotate(new long[] {1, 2}, 0, new long[] {1, 2}); testRotate(new long[] {1, 2}, 1, new long[] {2, 1}); testRotate(new long[] {1, 2}, 2, new long[] {1, 2}); testRotate(new long[] {1, 2}, 3, new long[] {2, 1}); testRotate(new long[] {1, 2, 3}, -5, new long[] {3, 1, 2});
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 28.7K bytes - Viewed (0)