- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 880 for assertEquals (0.06 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java
assertEquals("/.*\\?.*", httpClient.convertRobotsTxtPathPattern("/*?*")); assertEquals("/.*", httpClient.convertRobotsTxtPathPattern("/")); assertEquals("/index\\.html$", httpClient.convertRobotsTxtPathPattern("/index.html$")); assertEquals(".*index\\.html$", httpClient.convertRobotsTxtPathPattern("index.html$")); assertEquals("/\\..*", httpClient.convertRobotsTxtPathPattern("/."));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu May 09 09:28:25 UTC 2024 - 8.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java
profileManager.addProfile(defaultActivated); List active = profileManager.getActiveProfiles(); assertNotNull(active); assertEquals(1, active.size()); assertEquals("defaultActivated", ((Profile) active.get(0)).getId()); } @Test void testShouldNotActivateDefaultProfile() throws Exception { Profile syspropActivated = new Profile();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.3K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionRangeTest.java
assertContains(range, "2"); assertEquals(range, parseValid(range.toString())); } @Test void testLowerBoundInclusiveUpperBoundExclusive() { VersionRange range = parseValid("[1.2.3.4.5,1.2.3.4.6)"); assertContains(range, "1.2.3.4.5"); assertNotContains(range, "1.2.3.4.6"); assertEquals(range, parseValid(range.toString())); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java
validator.validate(model, problems); assertEquals(0, problems.messages.size()); Repository repo = new Repository(org.apache.maven.api.settings.Repository.newInstance(false)); prof.addRepository(repo); problems = new SimpleProblemCollector(); validator.validate(model, problems); assertEquals(2, problems.messages.size()); repo.setUrl("http://xxx.xxx.com");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java
public void testFind_yes() { assertEquals( getMethodName() + "(firstElement) should return 0", 0, find(getOrderedElements().get(0))); } public void testFind_no() { assertEquals(getMethodName() + "(notPresent) should return -1", -1, find(e3())); } @CollectionFeature.Require(ALLOWS_NULL_VALUES) public void testFind_nullNotContainedButSupported() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.3K bytes - Viewed (0) -
compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/MojoDescriptorTest.java
param1.setDefaultValue("value1"); mojoDescriptor.addParameter(param1); assertEquals(1, mojoDescriptor.getParameters().size()); assertEquals( mojoDescriptor.getParameters().size(), mojoDescriptor.getParameterMap().size()); Parameter param2 = new Parameter(); param2.setName("param2"); param2.setDefaultValue("value2");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java
resolver.resolve( project, Collections.singleton( Artifact.SCOPE_COMPILE ), session ); assertEquals( 0, artifactDependencies.size() ); artifactDependencies = resolver.resolve( project, Collections.singleton( Artifact.SCOPE_RUNTIME ), session ); assertEquals( 1, artifactDependencies.size() ); assertEquals( "b", artifactDependencies.iterator().next().getArtifactId() ); } */ @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java
} @Test void testToSnapshotVersion() { assertEquals("1.2.3", ArtifactUtils.toSnapshotVersion("1.2.3")); assertEquals("1.2.3-SNAPSHOT", ArtifactUtils.toSnapshotVersion("1.2.3-SNAPSHOT")); assertEquals("1.2.3-SNAPSHOT", ArtifactUtils.toSnapshotVersion("1.2.3-20090413.094722-2")); assertEquals("1.2.3-20090413X094722-2", ArtifactUtils.toSnapshotVersion("1.2.3-20090413X094722-2")); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItemTest.java
public void test_new1() { final StemmerOverrideItem stemmerOverrideItem = new StemmerOverrideItem(1, "aaa", "a"); assertEquals(1, stemmerOverrideItem.getId()); assertEquals("aaa", stemmerOverrideItem.getInput()); assertEquals("a", stemmerOverrideItem.getOutput()); assertNull(stemmerOverrideItem.getNewInput()); assertNull(stemmerOverrideItem.getNewOutput());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.5K bytes - Viewed (0) -
mockwebserver/README.md
chat.loadMore(); assertEquals("hello, world!", chat.messages()); chat.loadMore(); chat.loadMore(); assertEquals("" + "hello, world!\n" + "sup, bra?\n" + "yo dog", chat.messages()); // Optional: confirm that your app made the HTTP requests you were expecting. RecordedRequest request1 = server.takeRequest(); assertEquals("/v1/chat/messages/", request1.getPath());
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Dec 17 15:34:10 UTC 2023 - 5K bytes - Viewed (0)