Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 640 for assertTrue (0.16 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilterTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@link AndArtifactFilter}.
     *
     */
    class AndArtifactFilterTest {
    
        private ArtifactFilter newSubFilter() {
            return artifact -> false;
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        // WAIT #3
        barrier.await(1, SECONDS);
        assertTrue(executor.awaitTermination(1, SECONDS));
        assertTrue(executor.awaitTermination(0, SECONDS));
        assertTrue(executor.isShutdown());
        assertThrows(RejectedExecutionException.class, () -> executor.submit(doNothingRunnable));
        assertTrue(executor.isTerminated());
    
        otherThread.join(1000);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/ScmTest.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.assertTrue;
    
    /**
     * Tests {@code Scm}.
     *
     */
    class ScmTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Scm().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/net/InetAddressesTest.java

        assertEquals(expected, InetAddresses.forUriString("[::ffff:192.0.2.1]"));
      }
    
      public void testIsUriInetAddress() {
        assertTrue(InetAddresses.isUriInetAddress("192.168.1.1"));
        assertTrue(InetAddresses.isUriInetAddress("[3ffe:0:0:0:0:0:0:1]"));
        assertTrue(InetAddresses.isUriInetAddress("[::ffff:192.0.2.1]"));
    
        assertFalse(InetAddresses.isUriInetAddress("[192.168.1.1"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/app/pager/DataConfigPagerTest.java

            dataconfigpager.setAllPageCount(999);
            assertEquals(999, dataconfigpager.getAllPageCount());
            dataconfigpager.setExistPrePage(true);
            assertTrue(dataconfigpager.isExistPrePage());
            dataconfigpager.setExistNextPage(true);
            assertTrue(dataconfigpager.isExistNextPage());
            dataconfigpager.setPageSize(0);
            assertEquals(25, dataconfigpager.getPageSize());
            dataconfigpager.setPageSize(999);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/QueueOfferTester.java

      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testOffer_supportedNotPresent() {
        assertTrue("offer(notPresent) should return true", getQueue().offer(e3()));
        expectAdded(e3());
      }
    
      @CollectionFeature.Require({SUPPORTS_ADD, ALLOWS_NULL_VALUES})
      public void testOffer_nullSupported() {
        assertTrue("offer(null) should return true", getQueue().offer(null));
        expectAdded((E) null);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.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.assertTrue;
    
    /**
     * Tests {@code DependencyManagement}.
     *
     */
    class DependencyManagementTest {
    
        @Test
        void testHashCodeNullSafe() {
            new DependencyManagement().hashCode();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiItemTest.java

            kuromojiItem.setNewReading("R1");
            kuromojiItem.setNewPos("P1");
            assertTrue(kuromojiItem.isUpdated());
            assertFalse(kuromojiItem.isDeleted());
    
            kuromojiItem.setNewToken("");
            assertTrue(kuromojiItem.isUpdated());
            assertTrue(kuromojiItem.isDeleted());
        }
    
        public void test_equals1() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java

            map.put("boost1", 0);
            map.put("boost2", 0);
            assertTrue(0.0f == docBoostMatcher.getValue(map));
    
            map.put("boost1", 1);
            map.put("boost2", 0);
            assertTrue(10.0f == docBoostMatcher.getValue(map));
    
            map.put("boost1", 1);
            map.put("boost2", 2);
            assertTrue(12.0f == docBoostMatcher.getValue(map));
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilterTest.java

            assertTrue(filter.include(newArtifact(Artifact.SCOPE_COMPILE)));
            assertTrue(filter.include(newArtifact(Artifact.SCOPE_SYSTEM)));
            assertTrue(filter.include(newArtifact(Artifact.SCOPE_PROVIDED)));
            assertTrue(filter.include(newArtifact(Artifact.SCOPE_RUNTIME)));
            assertTrue(filter.include(newArtifact(Artifact.SCOPE_TEST)));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top