Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 200 for assertAll (0.07 sec)

  1. 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;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

      /**
       * Asserts that the given object is non-null, with a better failure message than {@link
       * TestCase#assertNull(String, Object)}.
       *
       * <p>The {@link TestCase} version (which is from JUnit 3) produces a failure message that does
       * not include the value of the object.
       *
       * @since NEXT
       */
      public static void assertNull(String message, Object object) {
        assertEquals(message, null, object);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 28 21:41:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

      /**
       * Asserts that the given object is non-null, with a better failure message than {@link
       * TestCase#assertNull(String, Object)}.
       *
       * <p>The {@link TestCase} version (which is from JUnit 3) produces a failure message that does
       * not include the value of the object.
       *
       * @since NEXT
       */
      public static void assertNull(String message, Object object) {
        assertEquals(message, null, object);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 28 21:41:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/ConverterTest.java

              }
            };
        Function<Object, String> backward = toStringFunction();
    
        Converter<String, Number> converter = Converter.<String, Number>from(forward, backward);
    
        assertNull(converter.convert(null));
        assertNull(converter.reverse().convert(null));
    
        assertEquals((Integer) 5, converter.convert("5"));
        assertEquals("5", converter.reverse().convert(5));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 01 16:09:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

              inv.containsValue(reversed.getValue()));
          /*
           * TODO(cpovirk): This is a bit stronger than super.expectMissing(), which permits a <key,
           * someOtherValue> pair.
           */
          assertNull(
              "Inverse should not return a mapping for key " + reversed.getKey(),
              inv.get(reversed.getKey()));
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. 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
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java

        private static final BigDecimal ZERO = new BigDecimal("0");
    
        /**
         * @throws Exception
         */
        public void testToBigDecimal() throws Exception {
            assertNull(BigDecimalConversionUtil.toBigDecimal(null));
            assertSame(ZERO, BigDecimalConversionUtil.toBigDecimal(ZERO));
            assertEquals(new BigDecimal("1"), BigDecimalConversionUtil.toBigDecimal(Byte.valueOf((byte) 1)));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java

        assertEqualInOrder(values, multimap().get(key));
    
        if (!values.isEmpty()) {
          assertEqualInOrder(values, multimap().asMap().get(key));
          assertFalse(multimap().isEmpty());
        } else {
          assertNull(multimap().asMap().get(key));
        }
    
        assertEquals(values.size(), multimap().get(key).size());
        assertEquals(values.size() > 0, multimap().containsKey(key));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class MapPutIfAbsentTester<K, V> extends AbstractMapTester<K, V> {
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutIfAbsent_supportedAbsent() {
        assertNull(
            "putIfAbsent(notPresent, value) should return null", getMap().putIfAbsent(k3(), v3()));
        expectAdded(e3());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/FilesTest.java

      public void testCreateParentDirs_root() throws IOException {
        File file = root();
        assertNull(file.getParentFile());
        assertNull(file.getCanonicalFile().getParentFile());
        Files.createParentDirs(file);
      }
    
      public void testCreateParentDirs_relativePath() throws IOException {
        File file = file("nonexistent.file");
        assertNull(file.getParentFile());
        assertNotNull(file.getCanonicalFile().getParentFile());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top