Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 640 for assertTrue (0.1 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t08/ProjectInheritanceTest.java

            System.out.println("Project " + project1.getId() + " " + project1);
            Set set = project1.getArtifacts();
            assertNotNull(set, "No artifacts");
            assertTrue(set.size() > 0, "No Artifacts");
            Iterator iter = set.iterator();
            assertTrue(set.size() == 4, "Set size should be 4, is " + set.size());
    
            while (iter.hasNext()) {
                Artifact artifact = (Artifact) iter.next();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/admin/SuggestTests.java

            String response = checkGetMethod(searchBody, "").asString();
            final Map<String, Object> res = JsonPath.from(response).getMap("response.setting");
            assertTrue(res.containsKey("total_words_num"));
            assertTrue(res.containsKey("document_words_num"));
            assertTrue(res.containsKey("query_words_num"));
            assertEquals(new Integer(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapGetTester.java

        int oldSize = getNumElements();
    
        Collection<V> result = multimap().asMap().get(k0());
        assertTrue(result.remove(v0()));
    
        assertFalse(multimap().containsKey(k0()));
        assertFalse(multimap().containsEntry(k0(), v0()));
        assertEmpty(result);
    
        assertTrue(result.add(v1()));
        assertTrue(result.add(v2()));
    
        assertContentsAnyOrder(result, v1(), v2());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            assertFalse(cos.done);
            assertFalse(cos.isInMemory());
            File file = cos.getFile();
            assertTrue(cos.done);
            assertTrue(file.exists());
            cos.close();
            assertTrue(cos.done);
            assertTrue(file.exists());
        }
    
        @Test
        public void inFileWithoutGet() throws IOException {
            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        assertTrue(table.containsRow("foo"));
        assertTrue(table.containsRow("bar"));
        assertFalse(table.containsRow("cat"));
        assertFalse(table.containsRow(null));
      }
    
      public void testContainsColumn() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertTrue(table.containsColumn(1));
        assertTrue(table.containsColumn(3));
    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. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t07/ProjectInheritanceTest.java

            System.out.println("Project " + project1.getId() + " " + project1);
            Set set = project1.getArtifacts();
            assertNotNull(set, "No artifacts");
            assertTrue(set.size() > 0, "No Artifacts");
            assertTrue(set.size() == 3, "Set size should be 3, is " + set.size());
    
            for (Object aSet : set) {
                Artifact artifact = (Artifact) aSet;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/StringsTest.java

        assertEquals("\uDCAB", Strings.commonSuffix("\uDCAB", "\uDCAB"));
      }
    
      public void testValidSurrogatePairAt() {
        assertTrue(Strings.validSurrogatePairAt("\uD8AB\uDCAB", 0));
        assertTrue(Strings.validSurrogatePairAt("abc\uD8AB\uDCAB", 3));
        assertTrue(Strings.validSurrogatePairAt("abc\uD8AB\uDCABxyz", 3));
        assertFalse(Strings.validSurrogatePairAt("\uD8AB\uD8AB", 0));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemove_present() {
        int initialSize = collection.size();
        assertTrue("remove(present) should return true", collection.remove(e0()));
        assertEquals(
            "remove(present) should decrease a collection's size by one.",
            initialSize - 1,
            collection.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/DependencyTest.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 Dependency}.
     *
     */
    class DependencyTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Dependency().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/DistributionManagementTest.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 DistributionManagement}.
     *
     */
    class DistributionManagementTest {
    
        @Test
        void testHashCodeNullSafe() {
            new DistributionManagement().hashCode();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top