- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 483 for assertAll (0.8 seconds)
-
compat/maven-model-builder/src/test/java/org/apache/maven/model/path/DefaultUrlNormalizerTest.java
import static org.junit.jupiter.api.Assertions.assertNull; /** */ @Deprecated class DefaultUrlNormalizerTest { private UrlNormalizer normalizer = new DefaultUrlNormalizer(); private String normalize(String url) { return normalizer.normalize(url); } @Test void testNullSafe() { assertNull(normalize(null)); } @TestCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 2.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java
boolean abort = true; DataStoreCrawlingException exception = new DataStoreCrawlingException(url, message, cause, abort); assertNull(exception.getUrl()); assertNull(exception.getMessage()); assertNull(exception.getCause()); assertTrue(exception.aborted()); } @Test public void test_aborted_multipleCallsReturnSameValue() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 16.6K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t11/ProjectInheritanceTest.java
import org.apache.maven.project.inheritance.AbstractProjectInheritanceTestCase; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; /** * Verifies scope of root project is preserved regardless of parent dependency management. * * @see <a href="https://issues.apache.org/jira/browse/MNG-2919">MNG-2919</a> */ @Deprecated
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/pager/SynonymPagerTest.java
assertEquals(false, synonymPager.isExistNextPage()); assertEquals(25, synonymPager.getPageSize()); assertEquals(1, synonymPager.getCurrentPageNumber()); assertNull(synonymPager.id); synonymPager.setAllRecordCount(999); assertEquals(999, synonymPager.getAllRecordCount()); synonymPager.setAllPageCount(999);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 12:58:11 GMT 2026 - 2.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java
assertNull(task); } @Test public void test_createTask_withEmptyPath() { // Test task creation with empty path Map<String, Object> docMap = new HashMap<>(); docMap.put("mimetype", "application/pdf"); Tuple3<String, String, String> task = thumbnailGenerator.createTask("", docMap); assertNull(task); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 11.7K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; /** * Tests {@code Model}. * */ class ModelTest { @Test void testHashCodeNullSafe() { new Model().hashCode(); } @Test void testBuild() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 08:09:30 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java
assertEquals(123, item.getId()); assertEquals("existingword", item.getInput()); assertNull(item.getNewInput()); } @Test public void test_getNewInput() { // Test getNewInput method ProtwordsItem item = new ProtwordsItem(1, "word"); assertNull(item.getNewInput()); item.setNewInput("newword"); assertEquals("newword", item.getNewInput()); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java
assertEquals("http://localhost:8080/sso/", url); } @Test public void test_logout_returnsNull() { assertNull(authenticator.logout(null)); } @Test public void test_getResponse_returnsNull() { assertNull(authenticator.getResponse(null)); } @Test public void test_getLoginCredential_withRequest() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:54:47 GMT 2026 - 11K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/FileEntryTest.java
* Each method is exercised for normal inputs, extreme or edge cases, and * interaction verification. */ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoMoreInteractions; import static org.mockito.Mockito.when;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
package jcifs.smb; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.ArgumentMatchers.anyString;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0)