Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 814 for assertequal (0.1 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    /**
     * Tests {@code Model}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java

            final DictionaryManager dictionaryManager = new DictionaryManager();
            dictionaryManager.init();
            assertEquals(0, dictionaryManager.creatorList.size());
    
            dictionaryManager.addCreator(new CharMappingCreator());
            dictionaryManager.init();
            assertEquals(1, dictionaryManager.creatorList.size());
        }
    
        /*
        public void test_storeSynonymFiles() throws Exception {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. api/maven-api-plugin/src/test/java/org/apache/maven/api/plugin/descriptor/another/ExtendedPluginDescriptorTest.java

                    .artifactId("maven-plugin-api")
                    .version("1.0.0");
            ExtendedPluginDescriptor descriptor = builder.build();
            assertEquals("additional", descriptor.getAdditionalField());
            assertEquals("org.apache.maven", descriptor.getGroupId());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 07:05:43 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/SessionTest.java

                assertNotNull(ntcreds.getUsername());
                assertEquals(user, ntcreds.getUsername());
                assertNotNull(ntcreds.getUserDomain());
                if ( dom != null ) {
                    assertEquals(dom, ntcreds.getUserDomain());
                }
                assertNotNull(ntcreds.getPassword());
                assertEquals(pass, ntcreds.getPassword());
    
                f.exists();
            }
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/FileLocationTest.java

                SmbResourceLocator fl = c.getLocator();
                assertEquals("1.2.3.4", fl.getServer());
                assertEquals(SmbConstants.TYPE_SHARE, fl.getType());
                assertEquals("share", fl.getShare());
                assertEquals("\\", fl.getUNCPath());
                assertEquals("smb://1.2.3.4/share/", fl.getCanonicalURL());
                assertEquals("/share/", fl.getURLPath());
            }
        }
    
    
        @Test
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/StringsTest.java

      public void testCommonPrefix() {
        assertEquals("", Strings.commonPrefix("", ""));
        assertEquals("", Strings.commonPrefix("abc", ""));
        assertEquals("", Strings.commonPrefix("", "abc"));
        assertEquals("", Strings.commonPrefix("abcde", "xyz"));
        assertEquals("", Strings.commonPrefix("xyz", "abcde"));
        assertEquals("", Strings.commonPrefix("xyz", "abcxyz"));
        assertEquals("a", Strings.commonPrefix("abc", "aaaaa"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

            assertEquals(exp, transformer.getHostOnFile(url));
    
            url = "file:";
            exp = "localhost";
            assertEquals(exp, transformer.getHostOnFile(url));
    
            url = "file://";
            exp = "localhost";
            assertEquals(exp, transformer.getHostOnFile(url));
    
            url = "file:///";
            exp = "localhost";
            assertEquals(exp, transformer.getHostOnFile(url));
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java

            final List<Map<String, String>> items = JsonPath.from(response).getList("response.settings");
            final int status = JsonPath.from(response).getInt("response.status");
            assertEquals(total, items.size());
            assertEquals(0, status);
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                final String value = RandomStringUtils.randomAlphabetic(550);
                assertEquals(128, crawlingInfoHelper.generateId(value.substring(0, 440)).length());
                assertEquals(128, crawlingInfoHelper.generateId(value.substring(0, 450)).length());
                assertEquals(128, crawlingInfoHelper.generateId(value.substring(0, 460)).length());
                assertEquals(128, crawlingInfoHelper.generateId(value.substring(0, 470)).length());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals(0, matcher.countIn(s));
      }
    
      private void reallyTestAllMatches(CharMatcher matcher, CharSequence s) {
        assertTrue(matcher.matches(s.charAt(0)));
        assertEquals(0, matcher.indexIn(s));
        assertEquals(0, matcher.indexIn(s, 0));
        assertEquals(1, matcher.indexIn(s, 1));
        assertEquals(-1, matcher.indexIn(s, s.length()));
        assertEquals(s.length() - 1, matcher.lastIndexIn(s));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top