Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testValidateUniqueRepositoryId (0.21 sec)

  1. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

            assertContains(
                    problems.messages.get(0),
                    "'profiles.profile.id' must be unique but found duplicate profile with id test");
        }
    
        @Test
        void testValidateUniqueRepositoryId() throws Exception {
            Settings settings = new Settings();
            Profile profile = new Profile();
            profile.setId("pro");
            settings.addProfile(profile);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top