Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 640 for assertTrue (0.12 sec)

  1. android/guava-tests/test/com/google/common/base/AsciiTest.java

      }
    
      public void testEqualsIgnoreCase() {
        assertTrue(Ascii.equalsIgnoreCase("", ""));
        assertFalse(Ascii.equalsIgnoreCase("", "x"));
        assertFalse(Ascii.equalsIgnoreCase("x", ""));
        assertTrue(Ascii.equalsIgnoreCase(LOWER, UPPER));
        assertTrue(Ascii.equalsIgnoreCase(UPPER, LOWER));
        // Create new strings here to avoid early-out logic.
        assertTrue(Ascii.equalsIgnoreCase(new String(IGNORED), new String(IGNORED)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java

        }
    
        @Test
        void testPatterns() {
            assertTrue(DefaultMirrorSelector.matchPattern(getRepo("a"), "*"));
            assertTrue(DefaultMirrorSelector.matchPattern(getRepo("a"), "*,"));
            assertTrue(DefaultMirrorSelector.matchPattern(getRepo("a"), ",*,"));
            assertTrue(DefaultMirrorSelector.matchPattern(getRepo("a"), "*,"));
    
            assertTrue(DefaultMirrorSelector.matchPattern(getRepo("a"), "a"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

                ExampleClassUnderTest.logger.setUseParentHandlers(true);
                ExampleClassUnderTest.logger.removeHandler(handler);
              }
            });
      }
    
      public void test() throws Exception {
        assertTrue(handler.getStoredLogRecords().isEmpty());
        ExampleClassUnderTest.foo();
        LogRecord record = handler.getStoredLogRecords().get(0);
        assertEquals(Level.INFO, record.getLevel());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.8K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/ModelVersionParserTest.java

            assertTrue(c.contains(versionParser.parseVersion("1.0")));
    
            c = versionParser.parseVersionConstraint("[1.0]");
            assertNull(c.getRecommendedVersion());
            assertTrue(c.contains(versionParser.parseVersion("1.0")));
    
            c = versionParser.parseVersionConstraint("[1.0],[2.0]");
            assertTrue(c.contains(versionParser.parseVersion("1.0")));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

        assertThat(runnableFuture).isInstanceOf(TrustedListenableFutureTask.class);
        assertTrue(runnableFuture.isDone());
        assertTrue(runnable.run);
    
        ListenableFuture<String> callableFuture = e.submit(new TestCallable());
        assertThat(callableFuture).isInstanceOf(TrustedListenableFutureTask.class);
        assertTrue(callableFuture.isDone());
        assertEquals("foo", callableFuture.get());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

        assertThat(runnableFuture).isInstanceOf(TrustedListenableFutureTask.class);
        assertTrue(runnableFuture.isDone());
        assertTrue(runnable.run);
    
        ListenableFuture<String> callableFuture = e.submit(new TestCallable());
        assertThat(callableFuture).isInstanceOf(TrustedListenableFutureTask.class);
        assertTrue(callableFuture.isDone());
        assertEquals("foo", callableFuture.get());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RegexRuleTest.java

            regexRule.addRule("url", Pattern.compile("http:.*"));
            regexRule.addRule("mimeType", Pattern.compile("text/html"));
    
            assertTrue(regexRule.match(getTestData1()));
            assertTrue(regexRule.match(getTestData2()));
            assertTrue(regexRule.match(getTestData3()));
            assertTrue(regexRule.match(getTestData4()));
        }
    
        public void test_match_url() {
            final RegexRule regexRule = new RegexRule();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java

        for (K key : sampleKeys()) {
          for (V value : sampleValues()) {
            resetContainer();
    
            List<V> values = multimap().get(key);
            List<V> expectedValues = copyToList(values);
    
            assertTrue(multimap().put(key, value));
            expectedValues.add(value);
    
            assertGet(key, expectedValues);
            assertEquals(value, values.get(values.size() - 1));
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsEntryTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultimapContainsEntryTester<K, V>
        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @CollectionSize.Require(absent = ZERO)
      public void testContainsEntryYes() {
        assertTrue(multimap().containsEntry(k0(), v0()));
      }
    
      public void testContainsEntryNo() {
        assertFalse(multimap().containsEntry(k3(), v3()));
      }
    
      public void testContainsEntryAgreesWithGet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionContainsTester<E> extends AbstractCollectionTester<E> {
      @CollectionSize.Require(absent = ZERO)
      public void testContains_yes() {
        assertTrue("contains(present) should return true", collection.contains(e0()));
      }
    
      public void testContains_no() {
        assertFalse("contains(notPresent) should return false", collection.contains(e3()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top