Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 352 for assertAll (0.78 sec)

  1. src/test/java/org/codelibs/core/io/SerializeUtilTest.java

            final List<String> result = (List<String>) SerializeUtil.fromBinaryToObject(binary);
            assertEquals(3, result.size());
            assertEquals("first", result.get(0));
            assertNull(result.get(1));
            assertEquals("third", result.get(2));
        }
    
        /**
         * Test helper class for serialization tests
         */
        public static class TestSerializableClass implements Serializable {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/NullResponseProcessorTest.java

            ResponseData responseData = new ResponseData();
    
            // Execute - should not throw any exception
            processor.process(responseData);
    
            // Verify ResponseData is unchanged
            assertNull(responseData.getUrl());
            assertEquals(0, responseData.getHttpStatusCode());
        }
    
        public void test_processMultipleTimes() {
            // Test calling process multiple times
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Unit tests for the {@link ModelVersionUtils} utility class.
     * Tests model version detection, validation, upgrade logic, and namespace operations.
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

            Handler.StorageURLConnection conn = (Handler.StorageURLConnection) handler.openConnection(url);
    
            // Verify MinIO client is not initialized before connect() is called
            assertNull(getField(conn, "minioClient"));
        }
    
        /**
         * Test that connect() method fails when STORAGE_ENDPOINT is not set.
         */
        public void test_connect_failsWithoutEndpoint() throws Exception {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.anyInt;
    import static org.mockito.Mockito.lenient;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

        assertThrows(NoSuchElementException.class, () -> navigableMap.firstKey());
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptyMapLast() {
        assertThrows(NoSuchElementException.class, () -> assertNull(navigableMap.lastKey()));
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMapFirst() {
        assertEquals(a.getKey(), navigableMap.firstKey());
      }
    
      @CollectionSize.Require(ONE)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

     */
    package org.codelibs.fess.suggest.entity;
    
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertNull;
    import static org.junit.Assert.assertTrue;
    
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    
    import org.junit.Before;
    import org.junit.Test;
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/StringsTest.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;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.never;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

        }
    
        /**
         * Test Rule with null rule ID
         */
        public void test_nullRuleId() {
            TestRule rule = new TestRule(null, new TestResponseProcessor("test"), true);
    
            assertNull(rule.getRuleId());
    
            ResponseData responseData = new ResponseData();
            assertTrue(rule.match(responseData));
        }
    
        /**
         * Test Rule with null ResponseProcessor
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    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.Mockito.mock;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
Back to top