- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 1,466 for assertEquals (0.42 sec)
-
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java
// Test RuntimeException RuntimeException runtimeEx = new RuntimeException("Runtime error"); assertEquals("Runtime error", runtimeEx.getMessage()); // Test Exception Exception generalEx = new Exception("General error"); assertEquals("General error", generalEx.getMessage()); // Test with null message RuntimeException nullMessageEx = new RuntimeException();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java
assertEquals(1, groups.length); assertEquals("developers", groups[0]); // Test with multiple groups testUser.setGroupNames(new String[] { "developers", "testers", "managers" }); groups = fessUserBean.getGroups(); assertEquals(3, groups.length); assertEquals("developers", groups[0]); assertEquals("testers", groups[1]);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java
assertEquals(domainInfo.name.length, decodedInfo.name.length); assertEquals(domainInfo.name.maximum_length, decodedInfo.name.maximum_length); assertNotNull(decodedInfo.name.buffer); assertEquals(domainInfo.name.maximum_length / 2, decodedInfo.name.buffer.length); // Verify SID assertNotNull(decodedInfo.sid);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java
} }); String[] paths = virtualHostHelper.getVirtualHostPaths(); assertNotNull(paths); assertEquals(3, paths.length); assertEquals("/site1", paths[0]); assertEquals("/site2", paths[1]); assertEquals("/site3", paths[2]); } public void test_getVirtualHostPaths_withEmptyVirtualHosts() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java
SsoLoginException exception = new SsoLoginException(message, cause); assertEquals(message, exception.getMessage()); assertNotNull(exception.getCause()); assertEquals(cause, exception.getCause()); assertEquals("Token validation failed", exception.getCause().getMessage()); } public void test_constructor_withNullMessage() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java
// Verify the complete chain assertEquals("Plugin failure", exception.getMessage()); assertEquals(level1, exception.getCause()); assertEquals("Runtime error", exception.getCause().getMessage()); assertEquals(level2, exception.getCause().getCause()); assertEquals("Invalid state", exception.getCause().getCause().getMessage()); assertEquals(level3, exception.getCause().getCause().getCause());Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java
assertEquals(1, synonymItem.getId()); assertEquals(2, synonymItem.getInputs().length); assertEquals("a", synonymItem.getInputs()[0]); assertEquals("A", synonymItem.getInputs()[1]); assertEquals(2, synonymItem.getOutputs().length); assertEquals("b", synonymItem.getOutputs()[0]); assertEquals("B", synonymItem.getOutputs()[1]);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 5K bytes - Viewed (1) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java
collector.add(Severity.WARNING, null, 42, 127, e2); assertEquals(2, collector.getProblems().size()); Problem p1 = collector.getProblems().get(0); assertEquals(Severity.ERROR, p1.getSeverity()); assertEquals("MESSAGE1", p1.getMessage()); assertEquals(-1, p1.getLineNumber()); assertEquals(-1, p1.getColumnNumber()); assertNull(p1.getException());
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
assertSame(emptyRequestBuffer, negotiationWithEmptyBuffers.getRequestRaw()); assertSame(emptyResponseBuffer, negotiationWithEmptyBuffers.getResponseRaw()); assertEquals(0, negotiationWithEmptyBuffers.getRequestRaw().length); assertEquals(0, negotiationWithEmptyBuffers.getResponseRaw().length); } @Test @DisplayName("Test with large buffers") void testWithLargeBuffers() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java
String text = "\"file:///home/\""; assertEquals("\"http://localhost/\"", pathMappingHelper.replaceUrls(text)); text = "\"file:///home/user/\""; assertEquals("\"http://localhost/user/\"", pathMappingHelper.replaceUrls(text)); text = "\"aaafile:///home/user/\""; assertEquals("\"aaahttp://localhost/user/\"", pathMappingHelper.replaceUrls(text));Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 14.9K bytes - Viewed (0)