Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 880 for assertEquals (0.1 sec)

  1. src/test/java/org/codelibs/core/convert/StringConversionUtilTest.java

         */
        public void testFromWindowsMapping() throws Exception {
            assertNull(StringConversionUtil.fromWindowsMapping(null));
            assertEquals("", StringConversionUtil.fromWindowsMapping(""));
            assertEquals("abc 123", StringConversionUtil.fromWindowsMapping("abc 123"));
            assertEquals("abc\uFF5E\u2225\uFF0D\uFFE0\uFFE1\uFFE2",
                    StringConversionUtil.fromWindowsMapping("abc\u301C\u2016\u2212\u00A2\u00A3\u00AC"));
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                Thread.sleep(1000);
    
                assertEquals(CrawlerStatus.RUNNING, crawler1.crawlerContext.getStatus());
                assertEquals(CrawlerStatus.RUNNING, crawler2.crawlerContext.getStatus());
    
                crawler1.awaitTermination();
                crawler2.awaitTermination();
    
                assertEquals(maxCount, dataService.getCount(sessionId1));
                assertEquals(maxCount, dataService.getCount(sessionId2));
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt

          CertificatePinner.Pin(
            "**.example.co.uk",
            "sha256/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",
          )
        assertEquals(
          "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=".decodeBase64(),
          pin.hash,
        )
        assertEquals("sha256", pin.hashAlgorithm)
        assertEquals("**.example.co.uk", pin.pattern)
        Assertions.assertTrue(pin.matchesHostname("www.example.co.uk"))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java

        other.put("bar", 2, 'e');
        other.put("cat", 2, 'f');
        assertThrows(UnsupportedOperationException.class, () -> table.putAll(other));
        assertEquals((Character) 'a', table.get("foo", 1));
        assertEquals((Character) 'b', table.get("bar", 1));
        assertEquals((Character) 'c', table.get("foo", 3));
        assertSize(3);
      }
    
      @Override
      public void testPutNull() {}
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java

            System.out.println("b = " + artifact.getScope());
            assertEquals("test", artifact.getScope(), "Check scope");
            artifact = getArtifact(project, "maven-test-test", "scope-default");
            assertEquals("test", artifact.getScope(), "Check scope");
            artifact = getArtifact(project, "maven-test-test", "scope-runtime");
            assertEquals("test", artifact.getScope(), "Check scope");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/convert/IntegerConversionUtilTest.java

        /**
         * @throws Exception
         */
        public void testToInteger() throws Exception {
            assertEquals(new Integer("1000"), IntegerConversionUtil.toInteger("1,000"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveInt() throws Exception {
            assertEquals(1000, IntegerConversionUtil.toPrimitiveInt("1,000"));
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/UserInfoHelperTest.java

            UserInfoHelper userInfoHelper = new UserInfoHelper();
            assertEquals("009ab986effa1a9664ada54eb81d7fce", userInfoHelper.createUserCodeFromUserId("a"));
            assertEquals("b17816944bb30c19cb3265480470288caaa93e36666527a57ca94d8a8b8d7b80",
                    userInfoHelper.createUserCodeFromUserId("******@****.***"));
            assertEquals("41ebbef035e6cebb9d0cf6b98266d9335abd454718a3b172efa30635ef19f1cc",
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMapFirst() {
        assertEquals(a.getKey(), navigableMap.firstKey());
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMapLast() {
        assertEquals(a.getKey(), navigableMap.lastKey());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFirst() {
        assertEquals(a.getKey(), navigableMap.firstKey());
      }
    
      @CollectionSize.Require(SEVERAL)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                Thread.sleep(1000);
    
                assertEquals(CrawlerStatus.RUNNING, crawler1.crawlerContext.getStatus());
                assertEquals(CrawlerStatus.RUNNING, crawler2.crawlerContext.getStatus());
    
                crawler1.awaitTermination();
                crawler2.awaitTermination();
    
                assertEquals(maxCount, dataService.getCount(sessionId1));
                assertEquals(maxCount, dataService.getCount(sessionId2));
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

      public void testMergePresent() {
        assertEquals(
            "Map.merge(present, value, function) should return function result",
            v4(),
            getMap()
                .merge(
                    k0(),
                    v3(),
                    (oldV, newV) -> {
                      assertEquals(v0(), oldV);
                      assertEquals(v3(), newV);
                      return v4();
                    }));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top