Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 207 for assertTrue (0.07 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. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

            assertTrue(matchesTag(tags[0], "<script></script>"));
            assertTrue(matchesTag(tags[0], "<script id=\\\"main\\\"></script>"));
            assertFalse(matchesTag(tags[0], "<a></a>"));
    
            assertTrue(matchesTag(tags[1], "<div id=\"main\"></div>"));
            assertFalse(matchesTag(tags[1], "<div></div>"));
    
            assertTrue(matchesTag(tags[2], "<p class=\"image\"></p>"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

        assertTrue(rangeSet.intersects(Range.closedOpen(0, 2)));
        assertTrue(rangeSet.intersects(Range.closedOpen(3, 7)));
        assertTrue(rangeSet.intersects(Range.greaterThan(2)));
        assertFalse(rangeSet.intersects(Range.greaterThan(7)));
    
        assertTrue(rangeSet.encloses(Range.closed(3, 4)));
        assertTrue(rangeSet.encloses(Range.closedOpen(1, 4)));
        assertTrue(rangeSet.encloses(Range.closedOpen(1, 5)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CloserTest.java

        assertFalse(c1.isClosed());
        assertFalse(c2.isClosed());
        assertFalse(c3.isClosed());
    
        closer.close();
    
        assertTrue(c1.isClosed());
        assertTrue(c2.isClosed());
        assertTrue(c3.isClosed());
    
        assertTrue(suppressor.suppressions.isEmpty());
      }
    
      public void testExceptionThrown_fromTryBlock() throws IOException {
        Closer closer = new Closer(suppressor);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/FilesTest.java

        File i18nFile = getTestFile("i18n.txt");
        assertTrue(Files.equal(i18nFile, temp));
      }
    
      public void testTouch() throws IOException {
        File temp = createTempFile();
        assertTrue(temp.exists());
        assertTrue(temp.delete());
        assertFalse(temp.exists());
        Files.touch(temp);
        assertTrue(temp.exists());
        Files.touch(temp);
        assertTrue(temp.exists());
    
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            assertTrue(JsonPath.from(response).getInt("record_count") > 0);
            List<Map<String, Object>> docs = JsonPath.from(response).getList("data");
            for (Map<String, Object> doc : docs) {
                int value = Integer.parseInt(doc.get(field).toString());
                assertTrue(value >= from);
                assertTrue(value <= to);
            }
        }
    
        @Test
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

    import static org.hamcrest.Matchers.equalTo;
    import static org.junit.Assert.fail;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/FileAttributesTest.java

     */
    package jcifs.tests;
    
    
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertNotEquals;
    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertTrue;
    
    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.net.UnknownHostException;
    import java.util.Collection;
    import java.util.Date;
    import java.util.Map;
    
    import org.junit.Assert;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/TimeoutTest.java

            try {
                f.createNewFile();
                assertTrue("Did not see error", false);
            }
            catch ( SmbException e ) {
                if ( e.getCause() instanceof ConnectionTimeoutException ) {
                    long timeout = System.currentTimeMillis() - start;
                    assertTrue(
                        String.format(
                            "Timeout %d outside expected range (%f)",
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  10. 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)
Back to top