Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for c2 (0.02 sec)

  1. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            Comparable c2 = newComparable(v2);
            assertEquals(0, c1.compareTo(c2), "expected " + v1 + " == " + v2);
            assertEquals(0, c2.compareTo(c1), "expected " + v2 + " == " + v1);
            assertEquals(c1.hashCode(), c2.hashCode(), "expected same hashcode for " + v1 + " and " + v2);
            assertEquals(c1, c2, "expected " + v1 + ".equals( " + v2 + " )");
            assertEquals(c2, c1, "expected " + v2 + ".equals( " + v1 + " )");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

         *
         * @param c1 first signature to compare
         * @param c2 second signature to compare
         * @return MORE_SPECIFIC if c1 is more specific than c2, LESS_SPECIFIC if
         *         c1 is less specific than c2, INCOMPARABLE if they are incomparable.
         */
        private static int moreSpecific(Class<?>[] c1, Class<?>[] c2) {
            boolean c1MoreSpecific = false;
            boolean c2MoreSpecific = false;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        CharSource c1 = CharSource.wrap("abc");
        CharSource c2 = CharSource.wrap("");
        CharSource c3 = CharSource.wrap("de");
    
        String expected = "abcde";
    
        assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3)).read());
        assertEquals(expected, CharSource.concat(c1, c2, c3).read());
        assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3).iterator()).read());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/ModelVersionParserTest.java

            VersionConstraint c = versionParser.parseVersionConstraint("[1.0]");
            assertEquals("[1.0,1.0]", c.toString());
            VersionConstraint c2 = versionParser.parseVersionConstraint(c.toString());
            assertEquals(c, c2);
            assertTrue(c.contains(versionParser.parseVersion("1.0")));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            ArtifactSpec a = createArtifactSpec("a", "1.0");
            ArtifactSpec b = a.addDependency("b", "1.0");
            ArtifactSpec c2 = b.addDependency("c", "2.0");
            c2.addDependency("d", "1.0");
    
            ArtifactSpec e = createArtifactSpec("e", "1.0");
            ArtifactSpec c1 = e.addDependency("c", "1.0");
            ArtifactSpec f = c1.addDependency("f", "1.0");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

                            .getArtifactId());
            assertEquals(
                    "c2",
                    ((Artifact) ReflectionValueExtractor.evaluate("project.artifactMap(g2:a2:c2)", project))
                            .getClassifier());
        }
    
        public static class Artifact {
            private String groupId;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/net/UrlEscaperTesting.java

        assertUnescaped(e, '_');
        assertUnescaped(e, '.');
        assertUnescaped(e, '*');
    
        assertEscaping(e, "%00", '\u0000'); // nul
        assertEscaping(e, "%7F", '\u007f'); // del
        assertEscaping(e, "%C2%80", '\u0080'); // xx-00010,x-000000
        assertEscaping(e, "%DF%BF", '\u07ff'); // xx-11111,x-111111
        assertEscaping(e, "%E0%A0%80", '\u0800'); // xxx-0000,x-100000,x-00,0000
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 17:53:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java

        assertUnescaped(e, '_');
        assertUnescaped(e, '.');
        assertUnescaped(e, '*');
    
        assertEscaping(e, "%00", '\u0000'); // nul
        assertEscaping(e, "%7F", '\u007f'); // del
        assertEscaping(e, "%C2%80", '\u0080'); // xx-00010,x-000000
        assertEscaping(e, "%DF%BF", '\u07ff'); // xx-11111,x-111111
        assertEscaping(e, "%E0%A0%80", '\u0800'); // xxx-0000,x-100000,x-00,0000
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 17:53:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

            assertEscaping(e, escapeAscii(c), c);
          }
        }
    
        // Testing multibyte escape sequences
        assertEscaping(e, "%00", '\u0000'); // nul
        assertEscaping(e, "%7F", '\u007f'); // del
        assertEscaping(e, "%C2%80", '\u0080'); // xx-00010,x-000000
        assertEscaping(e, "%DF%BF", '\u07ff'); // xx-11111,x-111111
        assertEscaping(e, "%E0%A0%80", '\u0800'); // xxx-0000,x-100000,x-00,0000
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            assertThrows(IllegalArgumentException.class, () -> cli.calculateDegreeOfConcurrency("C2.2C"));
            assertThrows(IllegalArgumentException.class, () -> cli.calculateDegreeOfConcurrency("C2.2"));
            assertThrows(IllegalArgumentException.class, () -> cli.calculateDegreeOfConcurrency("2C2"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top