Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 219 for assertTrue (0.17 sec)

  1. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

        Path temp = createTempFile();
        assertTrue(Files.exists(temp));
        Files.delete(temp);
        assertFalse(Files.exists(temp));
    
        MoreFiles.touch(temp);
        assertTrue(Files.exists(temp));
        MoreFiles.touch(temp);
        assertTrue(Files.exists(temp));
      }
    
      public void testTouchTime() throws IOException {
        Path temp = createTempFile();
        assertTrue(Files.exists(temp));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAllNonEmptyCollectionOnPresentKey() {
        assertTrue(multimap().putAll(k0(), Lists.newArrayList(v3(), v4())));
        assertGet(k0(), v0(), v3(), v4());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAllNonEmptyIterableOnAbsentKey() {
        assertTrue(
            multimap()
                .putAll(
                    k3(),
                    new Iterable<V>() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java

            assertFalse(ArtifactUtils.isSnapshot(""));
            assertFalse(ArtifactUtils.isSnapshot("1.2.3"));
            assertTrue(ArtifactUtils.isSnapshot("1.2.3-SNAPSHOT"));
            assertTrue(ArtifactUtils.isSnapshot("1.2.3-snapshot"));
            assertTrue(ArtifactUtils.isSnapshot("1.2.3-20090413.094722-2"));
            assertFalse(ArtifactUtils.isSnapshot("1.2.3-20090413X094722-2"));
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertTrue(TypeToken.of(char[][].class).isArray());
        assertTrue(TypeToken.of(byte[].class).isArray());
        assertTrue(TypeToken.of(short[].class).isArray());
        assertTrue(TypeToken.of(int[].class).isArray());
        assertTrue(TypeToken.of(long[].class).isArray());
        assertTrue(TypeToken.of(float[].class).isArray());
        assertTrue(TypeToken.of(double[].class).isArray());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionRangeTest.java

                versionParser.parseVersionRange(range);
                fail(range + " should be invalid");
            } catch (VersionParserException e) {
                assertTrue(true);
            }
        }
    
        private void assertContains(VersionRange range, String version) {
            assertTrue(range.contains(newVersion(version)), range + " should contain " + version);
        }
    
        private void assertNotContains(VersionRange range, String version) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. compat/maven-model/src/test/java/org/apache/maven/model/ActivationPropertyTest.java

    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 ActivationProperty}.
     *
     */
    class ActivationPropertyTest {
    
        @Test
        void testHashCodeNullSafe() {
            new ActivationProperty().hashCode();
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/DeveloperTest.java

    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 Developer}.
     *
     */
    class DeveloperTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Developer().hashCode();
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/ParentTest.java

    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 Parent}.
     *
     */
    class ParentTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Parent().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/PrerequisitesTest.java

    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 Prerequisites}.
     *
     */
    class PrerequisitesTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Prerequisites().hashCode();
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/SiteTest.java

    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 Site}.
     *
     */
    class SiteTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Site().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top