Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 491 for assertNull (0.07 seconds)

  1. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

        }
    
        @Test
        public void test_normalizeLang() {
            String value = null;
            assertNull(systemHelper.normalizeLang(value));
    
            value = "";
            assertNull(systemHelper.normalizeLang(value));
    
            value = "_ja";
            assertNull(systemHelper.normalizeLang(value));
    
            value = "ja";
            assertEquals("ja", systemHelper.normalizeLang(value));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

                            return cryptedText;
                        }
                    });
    
            String path = provider.provideDefaultPath();
            assertNull(path);
    
            Integer expire = provider.provideDefaultExpire();
            assertNull(expire);
        }
    
        // Test with different expire values
        @Test
        public void test_differentExpireValues() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java

            assertNotNull(view);
            assertNotNull(view.getQueryMap());
            assertTrue(view.getQueryMap().isEmpty());
            assertNull(view.getTitle());
        }
    
        // Test title getter and setter
        @Test
        public void test_getTitle() {
            assertNull(facetQueryView.getTitle());
    
            String testTitle = "Test Title";
            facetQueryView.setTitle(testTitle);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java

    package jcifs.smb1.http;
    
    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.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.security.Principal;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

        // Test Options class default values
        @Test
        public void test_Options_defaultValues() {
            SuggestCreator.Options options = new SuggestCreator.Options();
            assertNull(options.sessionId);
            assertNull(options.name);
            assertNull(options.propertiesPath);
        }
    
        // Test Options class with null values
        @Test
        public void test_Options_nullValues() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java

            if (entry.getKey().equals(key)) {
              expectedValues.add(entry.getValue());
            }
          }
    
          Collection<V> collection = multimap().asMap().get(key);
          if (expectedValues.isEmpty()) {
            assertNull(collection);
          } else {
            assertEqualIgnoringOrder(expectedValues, collection);
          }
        }
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_KEYS)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

        for (int i = 0; i < getNumElements(); i++) {
          assertTrue(
              "toArray(overSizedE[]) should contain element " + expectedSubArray[i],
              subArray.contains(expectedSubArray[i]));
        }
        assertNull(
            "The array element immediately following the end of the collection should be nulled",
            array[getNumElements()]);
        // array[getNumElements() + 1] might or might not have been nulled
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.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;
    
    @Deprecated
    class DefaultUpdateCheckManagerTest extends AbstractArtifactComponentTestCase {
    
        @Inject
        private ArtifactFactory artifactFactory;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 9K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ComplexActivationTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    /**
     */
    @Deprecated
    class ComplexActivationTest {
    
        private File getPom(String name) {
            return new File("src/test/resources/poms/factory/" + name + ".xml").getAbsoluteFile();
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbTransportImplTest.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    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.assertSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
Back to Top