Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for assertContains (0.11 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. 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)
  7. 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)
  8. 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)
  9. android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
      public void testAssertContains() {
        List<?> list = asList("a", "b");
        assertContains(list, "a");
        assertContains(list, "b");
    
        try {
          assertContains(list, "c");
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
      public void testAssertContainsAllOf() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
      public void testAssertContains() {
        List<?> list = asList("a", "b");
        assertContains(list, "a");
        assertContains(list, "b");
    
        try {
          assertContains(list, "c");
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
      public void testAssertContainsAllOf() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top