Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 880 for assertEquals (0.1 sec)

  1. android/guava-tests/test/com/google/common/io/CountingOutputStreamTest.java

        assertEquals(written, out.size());
        assertEquals(written, counter.getCount());
    
        counter.write(0);
        written += 1;
        assertEquals(written, out.size());
        assertEquals(written, counter.getCount());
    
        byte[] data = new byte[10];
        counter.write(data);
        written += 10;
        assertEquals(written, out.size());
        assertEquals(written, counter.getCount());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

        assertEquals("", MoreFiles.getFileExtension(root()));
        assertEquals("", MoreFiles.getFileExtension(FS.getPath(".")));
        assertEquals("", MoreFiles.getFileExtension(FS.getPath("..")));
        assertEquals("", MoreFiles.getFileExtension(FS.getPath("...")));
        assertEquals("", MoreFiles.getFileExtension(FS.getPath("blah")));
        assertEquals("", MoreFiles.getFileExtension(FS.getPath("blah.")));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/SidTest.java

            SID s = new SID(sid);
            s.resolve(getRequiredProperty(TestProperties.TEST_DOMAIN_DC), withTestNTLMCredentials(getContext()));
            assertEquals(getRequiredProperty(TestProperties.TEST_USER_DOMAIN_SHORT), s.getDomainName());
            assertEquals(getTestUser(), s.getAccountName());
            assertEquals(jcifs.SID.SID_TYPE_USER, s.getType());
        }
    
    
        @Test
        public void resolveGroupSID () throws IOException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java

        public void testConvertNumber_byte() throws Exception {
            assertEquals(new Byte("1"), NumberConversionUtil.convertNumber(Byte.class, "1"));
        }
    
        /**
         * @throws Exception
         */
        public void testConvertNumber_primitiveWrapper() throws Exception {
            assertEquals(new Byte("1"), NumberConversionUtil.convertPrimitiveWrapper(byte.class, "1"));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/AbstractVersionTest.java

                assertEquals(1, Integer.signum(v2.compareTo(v1)), "expected " + v2 + " > " + v1);
                assertNotEquals(v1, v2, "expected " + v1 + " != " + v2);
                assertNotEquals(v2, v1, "expected " + v2 + " != " + v1);
            } else {
                assertEquals(0, v1.compareTo(v2), "expected " + v1 + " == " + v2);
                assertEquals(0, v2.compareTo(v1), "expected " + v2 + " == " + v1);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java

        initMultimapWithNullKeyAndValue();
        assertEquals(getNumElements(), multimap().size());
        assertFalse(multimap().isEmpty());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testSizeMultipleValues() {
        resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v2()));
    
        assertEquals(3, multimap().size());
        assertEquals(3, multimap().entries().size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java

        }
    
        public void test_name() {
            assertEquals("fileTransformer", fileTransformer.getName());
        }
    
        public void test_getFilePath() {
            String url;
    
            url = "http://www.example.com/";
            assertEquals("http_CLN_/www.example.com/index.html", fileTransformer.getFilePath(url));
    
            url = "http://www.example.com/action?a=1";
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java

      public void testKeys() {
        resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k1(), v0()));
        Multiset<K> keys = multimap().keys();
        assertEquals(2, keys.count(k0()));
        assertEquals(1, keys.count(k1()));
        assertEquals(3, keys.size());
        assertContainsAllOf(keys, k0(), k1());
        assertContainsAllOf(
            keys.entrySet(), Multisets.immutableEntry(k0(), 2), Multisets.immutableEntry(k1(), 1));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t00/ProjectInheritanceTest.java

            assertEquals("Codehaus", p4.getOrganization().getName());
    
            // ----------------------------------------------------------------------
            // Value taken from super model
            // ----------------------------------------------------------------------
    
            assertEquals("4.0.0", p4.getModelVersion());
    
            assertEquals("4.0.0", p4.getModelVersion());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

            assertEquals("4.0.0", ReflectionValueExtractor.evaluate("project.modelVersion", project));
    
            assertEquals("org.apache.maven", ReflectionValueExtractor.evaluate("project.groupId", project));
    
            assertEquals("maven-core", ReflectionValueExtractor.evaluate("project.artifactId", project));
    
            assertEquals("Maven", ReflectionValueExtractor.evaluate("project.name", project));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top