Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 508 for assertNull (0.06 sec)

  1. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

        void testDefaultConstructor() {
            SecurityDescriptor sd = new SecurityDescriptor();
            assertEquals(0, sd.getType());
            assertNull(sd.getAces());
            assertNull(sd.getOwnerUserSid());
            assertNull(sd.getOwnerGroupSid());
        }
    
        @Test
        @DisplayName("Test constructor with buffer decodes SecurityDescriptor")
        void testConstructorWithBuffer() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. 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;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    class RequestTimeoutExceptionTest {
    
        @Test
        void testNoArgsConstructor() {
            // Test the constructor with no arguments
            RequestTimeoutException exception = new RequestTimeoutException();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/DfsTest.java

            assertNull(testDfs.getTrustedDomains(auth));
        }
    
        @Test
        void testGetTrustedDomains_Success() throws IOException, SmbAuthException {
            // This test is complex due to static method dependencies and reflection access
            // For now, we'll test the disabled path which is safer
            testDfs.setDisabled(true);
            assertNull(testDfs.getTrustedDomains(auth));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

        public void test_constructor() {
            assertNotNull(crawlJob);
            assertEquals(Constants.CRAWLING_INFO_SYSTEM_NAME, crawlJob.namespace);
            assertNull(crawlJob.webConfigIds);
            assertNull(crawlJob.fileConfigIds);
            assertNull(crawlJob.dataConfigIds);
            assertEquals(-2, crawlJob.documentExpires);
            assertEquals(-1, crawlJob.hotThreadInterval);
        }
    
        // Test namespace setter
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiItemTest.java

            assertEquals("r1", kuromojiItem.getReading());
            assertEquals("p1", kuromojiItem.getPos());
            assertNull(kuromojiItem.getNewToken());
            assertNull(kuromojiItem.getNewSegmentation());
            assertNull(kuromojiItem.getNewReading());
            assertNull(kuromojiItem.getNewPos());
            assertFalse(kuromojiItem.isUpdated());
            assertFalse(kuromojiItem.isDeleted());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

        }
    
        public void test_constructor_withNullOutput() {
            // Test with null output
            String[] inputs = { "input" };
            CharMappingItem item = new CharMappingItem(1L, inputs, null);
    
            assertNull(item.getOutput());
        }
    
        public void test_constructor_withUnsortedInputs() {
            // Test that inputs are sorted during construction
            String[] inputs = { "z", "a", "m" };
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

            dataStoreParams.put("key2", 123);
            assertEquals(123, dataStoreParams.get("key2"));
    
            dataStoreParams.put("key3", null);
            assertNull(dataStoreParams.get("key3"));
        }
    
        // Test get for non-existent key
        public void test_getNonExistentKey() {
            assertNull(dataStoreParams.get("nonexistent"));
        }
    
        // Test getAsString with String value
        public void test_getAsStringWithStringValue() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

    public class MapComputeIfPresentTester<K, V> extends AbstractMapTester<K, V> {
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testComputeIfPresent_supportedAbsent() {
        assertNull(
            "computeIfPresent(notPresent, function) should return null",
            getMap()
                .computeIfPresent(
                    k3(),
                    (k, v) -> {
                      throw new AssertionFailedError();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java

            assertNull(source.getPath());
            assertEquals(location, source.getLocation());
            assertNull(source.resolve("subdir"));
    
            ModelSource.ModelLocator locator = mock(ModelSource.ModelLocator.class);
            assertNull(source.resolve(locator, "subproject"));
            verify(locator, never()).locateExistingPom(any(Path.class));
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top