Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 880 for assertEquals (0.07 sec)

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

      public void testGetDefaultValue() {
        assertEquals(false, Defaults.defaultValue(boolean.class).booleanValue());
        assertEquals('\0', Defaults.defaultValue(char.class).charValue());
        assertEquals(0, Defaults.defaultValue(byte.class).byteValue());
        assertEquals(0, Defaults.defaultValue(short.class).shortValue());
        assertEquals(0, Defaults.defaultValue(int.class).intValue());
        assertEquals(0, Defaults.defaultValue(long.class).longValue());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 18:10:55 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        String key = "key";
        assertEquals(0L, map.get(key));
        assertFalse(map.containsKey(key));
    
        assertEquals(1L, map.incrementAndGet(key));
        assertEquals(1L, map.get(key));
    
        assertEquals(0L, map.decrementAndGet(key));
        assertEquals(0L, map.get(key));
        assertTrue(map.containsKey(key));
    
        assertEquals(1L, map.incrementAndGet(key));
        assertEquals(1L, map.get(key));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java

            assertEquals(UserAgentType.IE, userAgentHelper.getUserAgentType());
        }
    
        public void test_getUserAgentType_IE10() {
            getMockRequest().addHeader("user-agent", "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)");
            assertEquals(UserAgentType.IE, userAgentHelper.getUserAgentType());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

            assertEquals(1, testListener.startCount);
            assertEquals(5, testListener.requestCount);
            assertEquals(4, testListener.exceptionCount);
            assertEquals(1, testListener.endCount);
            assertEquals(url, testListener.requestUrl);
            assertEquals(Constants.GET_METHOD, testListener.requestMethod);
            assertEquals(url, testListener.exceptionUrl);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/CaseFormatTest.java

        assertEquals("foo", LOWER_HYPHEN.to(LOWER_CAMEL, "foo"));
        assertEquals("fooBar", LOWER_HYPHEN.to(LOWER_CAMEL, "foo-bar"));
      }
    
      public void testLowerHyphenToUpperCamel() {
        assertEquals("Foo", LOWER_HYPHEN.to(UPPER_CAMEL, "foo"));
        assertEquals("FooBar", LOWER_HYPHEN.to(UPPER_CAMEL, "foo-bar"));
      }
    
      public void testLowerHyphenToUpperUnderscore() {
        assertEquals("FOO", LOWER_HYPHEN.to(UPPER_UNDERSCORE, "foo"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 04 09:41:29 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

            assertEquals(mutable, copy);
          }
    
          ImmutableRangeSet<Integer> built = builder.build();
          assertEquals(mutable, built);
          assertEquals(ImmutableRangeSet.copyOf(mutable), built);
          assertEquals(mutable.complement(), built.complement());
    
          for (int i = 0; i <= 11; i++) {
            assertEquals(mutable.contains(i), built.contains(i));
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        assertEquals("Should be able to peek() at first element", "A", peekingIterator.peek());
        assertEquals(
            "Should be able to peek() first element multiple times", "A", peekingIterator.peek());
        assertEquals(
            "next() should still return first element after peeking", "A", peekingIterator.next());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/RangeTest.java

        checkContains(range);
        assertTrue(range.hasLowerBound());
        assertEquals(4, (int) range.lowerEndpoint());
        assertEquals(OPEN, range.lowerBoundType());
        assertTrue(range.hasUpperBound());
        assertEquals(8, (int) range.upperEndpoint());
        assertEquals(OPEN, range.upperBoundType());
        assertFalse(range.isEmpty());
        assertEquals("(4..8)", range.toString());
        reserializeAndAssert(range);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            assertEquals("1.0", range.getSelectedVersion(artifact).toString(), CHECK_SELECTED_VERSION);
    
            range = VersionRange.createFromVersionSpec("[1.0]");
            restrictions = range.getRestrictions();
            assertEquals(1, restrictions.size(), CHECK_NUM_RESTRICTIONS);
            restriction = restrictions.get(0);
            assertEquals("1.0", restriction.getLowerBound().toString(), CHECK_LOWER_BOUND);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java

                    "Child SCM developer connection is: " + project1.getScm().getDeveloperConnection());
    
            assertEquals(project1.getScm().getUrl(), project0.getScm().getUrl() + "/modules/p1");
            assertEquals(project1.getScm().getConnection(), project0.getScm().getConnection() + "/modules/p1");
            assertEquals(
                    project1.getScm().getDeveloperConnection(), project0.getScm().getDeveloperConnection() + "/modules/p1");
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top