Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 591 for assertNotNull (0.92 sec)

  1. src/test/java/org/codelibs/fess/suggest/normalizer/NormalizerChainTest.java

    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertNotNull;
    
    import org.junit.Test;
    
    public class NormalizerChainTest {
    
        @Test
        public void test_constructor() throws Exception {
            NormalizerChain chain = new NormalizerChain();
            assertNotNull(chain);
        }
    
        @Test
        public void test_singleNormalizer() throws Exception {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:23:01 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        public void testGetResource() throws Exception {
            assertNotNull(ResourceUtil.getResource("java/lang/String.class", "class"));
            assertNotNull(ResourceUtil.getResource("org/codelibs"));
            try {
                ResourceUtil.getResource("hoge", "xml");
                fail("2");
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/DefaultMavenTest.java

                    createMavenExecutionRequest(getProject("simple")).setGoals(asList("validate"));
    
            MavenExecutionResult result = maven.execute(request);
            assertNotNull(result);
    
            Class<?> wsrClass = wsrClassCatcher.wsrClassRef.get();
            assertNotNull(wsrClass, "wsr cannot be null");
            assertTrue(MavenWorkspaceReader.class.isAssignableFrom(wsrClass), String.valueOf(wsrClass));
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/ActivationOSTest.java

     * under the License.
     */
    package org.apache.maven.model;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code ActivationOS}.
     *
     */
    class ActivationOSTest {
    
        @Test
        void testHashCodeNullSafe() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/PluginConfigurationTest.java

     * under the License.
     */
    package org.apache.maven.model;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code PluginConfiguration}.
     *
     */
    class PluginConfigurationTest {
    
        @Test
        void testHashCodeNullSafe() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. compat/maven-model/src/test/java/org/apache/maven/model/ReportPluginTest.java

     * under the License.
     */
    package org.apache.maven.model;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code ReportPlugin}.
     *
     */
    class ReportPluginTest {
    
        @Test
        void testHashCodeNullSafe() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/ReportingTest.java

     * under the License.
     */
    package org.apache.maven.model;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code Reporting}.
     *
     */
    class ReportingTest {
    
        @Test
        void testHashCodeNullSafe() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                DfsReferralDataImpl result =
                        DfsReferralDataImpl.fromReferral(mockReferral, "\\\\server\\share\\path", System.currentTimeMillis() + 30000, 10);
    
                assertNotNull(result);
                assertNotNull(result.getServer());
            }
        }
    
        @Nested
        @DisplayName("Combine Tests")
        class CombineTests {
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                // Then
                assertEquals(24, bytesConsumed);
                // Values are read as-is (can be negative due to overflow)
                assertNotNull(fileFsSizeInfo.getCapacity());
                assertNotNull(fileFsSizeInfo.getFree());
            }
    
            @ParameterizedTest
            @DisplayName("Should decode various sector and allocation configurations")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java

    package jcifs.dcerpc.msrpc;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.Mockito.doAnswer;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    
    import java.io.IOException;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top