Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 224 for assertNull (0.08 sec)

  1. src/test/java/jcifs/tests/DfsTest.java

        @Test
        public void resolveRootNotExist () throws CIFSException, URISyntaxException {
            DfsReferralData ref = doResolve("\\doesnotexist\\", null, false);
            assertNull(ref);
    
            ref = doResolve("\\deep\\doesnotexist\\", null, false);
            assertNull(ref);
        }
    
    
        @Test
        public void resolveNonDfs () throws CIFSException {
            CIFSContext context = getContext();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 13.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/convert/ShortConversionUtilTest.java

            assertEquals(0, ShortConversionUtil.toPrimitiveShort(""));
        }
    
        /**
         * @throws Exception
         */
        public void testToShortForEmptyString() throws Exception {
            assertNull(ShortConversionUtil.toShort(""));
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

        try {
          assertNull(
              "remove(null) should return null or throw NullPointerException", getMap().remove(null));
        } catch (NullPointerException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_KEY_QUERIES})
      public void testRemove_nullSupportedMissing() {
        assertNull("remove(null) should return null", getMap().remove(null));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/DefaultsTest.java

        assertEquals(0.0f, Defaults.defaultValue(float.class).floatValue());
        assertThat(Defaults.defaultValue(double.class).doubleValue()).isEqualTo(0.0d);
        assertNull(Defaults.defaultValue(void.class));
        assertNull(Defaults.defaultValue(String.class));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 18:10:55 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        assertEquals((Character) 'b', table.get("bar", 1));
        assertEquals((Character) 'c', table.get("foo", 3));
        assertNull(table.get("foo", 2));
        assertNull(table.get("bar", 3));
        assertNull(table.get("cat", 1));
        assertNull(table.get("foo", null));
        assertNull(table.get(null, 1));
        assertNull(table.get(null, null));
      }
    
      public void testIsEmpty() {
        assertTrue(table.isEmpty());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. .teamcity/src/test/kotlin/VersionedSettingsBranchTest.kt

    import common.VersionedSettingsBranch
    import org.junit.jupiter.api.Assertions
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Assertions.assertFalse
    import org.junit.jupiter.api.Assertions.assertNull
    import org.junit.jupiter.api.Assertions.assertTrue
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.CsvSource
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jan 31 07:59:58 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/app/pager/CrawlingInfoPagerTest.java

            assertEquals(25, crawlinginfopage.getPageSize());
            assertEquals(1, crawlinginfopage.getCurrentPageNumber());
            assertNull(crawlinginfopage.id);
            assertNull(crawlinginfopage.sessionId);
            assertNull(crawlinginfopage.createdTime);
    
            assertEquals(1, crawlinginfopage.getDefaultCurrentPageNumber());
            crawlinginfopage.setAllRecordCount(999);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPut_supportedNotPresent() {
        assertNull("put(notPresent, value) should return null", put(e3()));
        expectAdded(e3());
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT})
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java

            artifact = getArtifact(project, "maven-test-test", "scope-provided");
            assertNull(artifact, "Check no provided dependencies are transitive");
            artifact = getArtifact(project, "maven-test-test", "scope-test");
            assertNull(artifact, "Check no test dependencies are transitive");
    
            artifact = getArtifact(project, "maven-test-test", "scope-compile");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          return;
        }
        assertNull(map.get(unmappedKey));
      }
    
      public void testGetForEmptyMap() {
        Map<K, V> map;
        K unmappedKey = null;
        try {
          map = makeEmptyMap();
          unmappedKey = getKeyNotInPopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        assertNull(map.get(unmappedKey));
      }
    
      public void testGetNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
Back to top