Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 105 for assertEquals (0.63 sec)

  1. maven-api-impl/src/test/java/org/apache/maven/internal/impl/resolver/DefaultModelResolverTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import static org.hamcrest.MatcherAssert.assertThat;
    import static org.hamcrest.Matchers.containsString;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    /**
     * Test cases for the project {@code ModelResolver} implementation.
     */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/project/inheritance/t03/ProjectInheritanceTest.java

    import org.apache.maven.project.MavenProject;
    import org.apache.maven.project.inheritance.AbstractProjectInheritanceTestCase;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    /**
     * A test which demonstrates maven's recursive inheritance where
     * a distinct value is taken from each parent contributing to
     * the final model of the project being assembled. There is no
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  3. maven-api-impl/src/test/java/org/apache/maven/internal/impl/model/MavenModelMergerTest.java

    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.model.Prerequisites;
    import org.apache.maven.api.model.Profile;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    class MavenModelMergerTest {
        private MavenModelMerger modelMerger = new MavenModelMerger();
    
        // modelVersion is neither inherited nor injected
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  4. api/maven-api-settings/src/test/java/org/apache/maven/api/settings/SettingsTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    class SettingsTest {
    
        @Test
        void testSetLocalRepository() {
            Settings s = Settings.newInstance();
    
            s = s.withLocalRepository("xxx");
            assertEquals("xxx", s.getLocalRepository());
    
            s = s.withLocalRepository("yyy");
            assertEquals("yyy", s.getLocalRepository());
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java

    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.testing.PlexusTest;
    import org.junit.jupiter.api.BeforeEach;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    /**
     * Provides a basis for testing conflict resolvers.
     *
     */
    @PlexusTest
    @Deprecated
    public abstract class AbstractConflictResolverTest {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            assertNotNull( artifactMap, "artifact-map should not be null." );
            assertEquals( 1, artifactMap.size(), "artifact-map should contain 1 element." );
    
            Artifact artifact = (Artifact) artifactMap.get( key );
    
            assertNotNull( artifact, "dependency artifact not found in map." );
            assertEquals( Artifact.SCOPE_COMPILE, artifact.getScope(), "dependency artifact has wrong scope." );
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.List;
    
    import org.codehaus.plexus.util.FileUtils;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    @Deprecated
    public class TestFileManager {
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java

    import org.apache.maven.project.MavenProject;
    import org.apache.maven.project.inheritance.AbstractProjectInheritanceTestCase;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Verifies scope inheritance of direct and transitive dependencies.
     *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/toolchain/RequirementMatcherFactoryTest.java

            assertTrue(matcher.matches("(1.4,1.5.2]"));
            assertTrue(matcher.matches("(1.5,)"));
            assertEquals("1.5.2", matcher.toString());
    
            // Ensure it is not printed as 1.5.0
            matcher = RequirementMatcherFactory.createVersionMatcher("1.5");
            assertEquals("1.5", matcher.toString());
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/lifecycle/MavenExecutionPlanTest.java

    import org.apache.maven.lifecycle.internal.stub.LifecycleExecutionPlanCalculatorStub;
    import org.apache.maven.model.Plugin;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    /**
     */
    class MavenExecutionPlanTest {
    
        @Test
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.8K bytes
    - Viewed (0)
Back to top