Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for assertContains (0.25 sec)

  1. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/ModelVersionParserTest.java

            assertContains(c, "1.0", "2.0", "3.0");
            assertNotContains(c, "1.5");
    
            c = versionParser.parseVersionConstraint("[1,3),(3,5)");
            assertContains(c, "1", "2", "4");
            assertNotContains(c, "3", "5");
    
            c = versionParser.parseVersionConstraint("[1,3),(3,)");
            assertContains(c, "1", "2", "4");
            assertNotContains(c, "3");
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionRangeTest.java

            VersionRange range = parseValid("[1,2]");
            assertContains(range, "1");
            assertContains(range, "1.1-SNAPSHOT");
            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");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

            assertEquals(4, problems.messages.size());
            assertContains(problems.messages.get(0), "'mirrors.mirror.id' must not be 'local'");
            assertContains(problems.messages.get(1), "'mirrors.mirror.url' for local is missing");
            assertContains(problems.messages.get(2), "'mirrors.mirror.mirrorOf' for local is missing");
            assertContains(problems.messages.get(3), "'mirrors.mirror.id' must not contain any of these characters");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            assertViolations(result, 0, 4, 0);
    
            assertContains(result.getErrors().get(0), "duplicate execution with id a");
            assertContains(result.getErrors().get(1), "duplicate execution with id default");
            assertContains(result.getErrors().get(2), "duplicate execution with id c");
            assertContains(result.getErrors().get(3), "duplicate execution with id b");
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java

            System.out.println(message);
            assertContains(message, "ErrorCode=7650");
            assertContains(message, "SQLState=fooState");
            assertContains(message, "some reason");
            assertContains(message, "ErrorCode=7660");
            assertContains(message, "SQLState=barState");
            assertContains(message, "hoge reason");
            assertContains(message, "ErrorCode=7670");
            assertContains(message, "SQLState=bazState");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

            assertEquals(1, StringUtils.countMatches(result.output, "Failed to stop service 'testFilesCleanupBuildService'"))
            result.output.assertContains("failed-report-with-leftover/build/tmp/teŝt files/leftover")
            result.output.assertContains("failed-test-with-leftover/build/tmp/teŝt files/leftover")
    
            assertArchivedFilesSeen(
                "report-failed-test-with-leftover-test.zip",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 14 12:35:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java

     * the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.Helpers.assertContains;
    import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt

                files.forEach {
                    assertContains("API changes in file '${it.name}' should be in alphabetical order (by type and member), yet these changes were not:\n")
                }
                changes?.forEach { assertContains(it.toString()) }
                assertContains(cleanupHint)
            }
        }
    
        private
        fun StringWriter.assertContains(text: String) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

        boolean errorNotThrown = false;
        try {
          SerializableTester.reserializeAndAssert(orig);
          errorNotThrown = true;
        } catch (AssertionFailedError error) {
          // expected
          assertContains("must be Object#equals to", error.getMessage());
        }
        assertFalse(errorNotThrown);
      }
    
      public void testClassWhichIsAlwaysEqualButHasDifferentHashcodes() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

        boolean errorNotThrown = false;
        try {
          SerializableTester.reserializeAndAssert(orig);
          errorNotThrown = true;
        } catch (AssertionFailedError error) {
          // expected
          assertContains("must be Object#equals to", error.getMessage());
        }
        assertFalse(errorNotThrown);
      }
    
      public void testClassWhichIsAlwaysEqualButHasDifferentHashcodes() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top