Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 640 for assertTrue (0.14 sec)

  1. src/test/java/jcifs/tests/SessionTest.java

         * @param f1
         * @param f2
         * @throws CIFSException
         */
        private static void connectionMatches ( SmbResource f1, SmbResource f2 ) throws CIFSException {
            Assert.assertTrue(f1 instanceof SmbFile);
            Assert.assertTrue(f2 instanceof SmbFile);
            try ( SmbTreeHandleInternal th1 = (SmbTreeHandleInternal) ( (SmbFile) f1 ).getTreeHandle();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

        assertEquals(IllegalStateException.class, e.getCause().getClass());
    
        assertTrue(listenerLatch.await(5, SECONDS));
        assertTrue(task.isDone());
        assertFalse(task.isCancelled());
      }
    
      public void testListenerCalledOnCancelFromNotRunning() throws Exception {
        task.cancel(false);
        assertTrue(task.isDone());
        assertTrue(task.isCancelled());
        assertEquals(1, runLatch.getCount());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            assertTrue(messages.contains("'modelVersion' is missing."));
            assertTrue(messages.contains("'groupId' is missing."));
            assertTrue(messages.contains("'artifactId' is missing."));
            assertTrue(messages.contains("'version' is missing."));
            // type is inherited from the super pom
        }
    
        @Test
        void testMissingPluginArtifactId() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java

        int expectedSize = getNumElements();
        Multimap<K, V> multimap = multimap();
        assertEquals(expectedSize, multimap.size());
    
        int size = 0;
        for (Entry<K, V> entry : multimap.entries()) {
          assertTrue(multimap.containsEntry(entry.getKey(), entry.getValue()));
          size++;
        }
        assertEquals(expectedSize, size);
    
        int size2 = 0;
        for (Entry<K, Collection<V>> entry2 : multimap.asMap().entrySet()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JodExtractorTest.java

            ExtractData extractData = jodExtractor.getText(in, params);
            String content = extractData.getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("ใƒ†ใ‚นใƒˆ"));
        }
    
        public void test_getText_ooow_as() {
            InputStream in = ResourceUtil.getResourceAsStream("extractor/ooo/test_as.odt");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

        getMultiset().entrySet().clear();
        assertTrue("multiset not empty after entrySet().clear()", getMultiset().isEmpty());
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testEntrySet_iteratorRemovePropagates() {
        Iterator<Multiset.Entry<E>> iterator = getMultiset().entrySet().iterator();
        assertTrue(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java

        assertTrue(multimap().putAll(source));
        assertTrue(multimap().containsEntry(k0(), v3()));
        assertTrue(multimap().containsEntry(k3(), v3()));
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPutAllWithNullValue() {
        Multimap<K, V> source = getSubjectGenerator().create(mapEntry(k0(), null));
        assertTrue(multimap().putAll(source));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java

        assertTrue(multimap().putAll(source));
        assertTrue(multimap().containsEntry(k0(), v3()));
        assertTrue(multimap().containsEntry(k3(), v3()));
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      public void testPutAllWithNullValue() {
        Multimap<K, V> source = getSubjectGenerator().create(mapEntry(k0(), null));
        assertTrue(multimap().putAll(source));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

                assertTrue(robotsTxt.allows("/aaa", userAgent));
                assertTrue(robotsTxt.allows("/private/", userAgent));
                assertTrue(robotsTxt.allows("/private/index.html", userAgent));
                assertTrue(robotsTxt.allows("/help/", userAgent));
                assertTrue(robotsTxt.allows("/help.html", userAgent));
                assertTrue(robotsTxt.allows("/help/faq.html", userAgent));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationTest.java

            assertTrue(auth.matches("ftp://hostname:21/test/aaa.html"));
            assertTrue(auth.matches("ftp://hostname/test/aaa.html"));
            assertTrue(auth.matches("ftp://hostname:21/test"));
            assertTrue(auth.matches("ftp://hostname/test"));
            assertTrue(auth.matches("ftp://hostname:21"));
            assertTrue(auth.matches("ftp://hostname"));
            assertTrue(auth.matches("ftp://hostname:21/"));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top