Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for assertEquals (0.19 sec)

  1. maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java

    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Apr 03 17:49:40 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

            assertNotNull(res.getClasspath(), "null classpath after runtime transform");
            assertEquals(4, res.getClasspath().size(), "runtime classpath should have 4 entries");
    
            ArtifactMetadata md = res.getClasspath().get(3);
            assertEquals("1.1", md.getVersion(), "runtime artifact version should be 1.1");
        }
    
    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)
  3. maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java

    import org.codehaus.plexus.util.xml.Xpp3Dom;
    import org.junit.jupiter.api.AfterEach;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    /**
     */
    class DefaultBeanConfiguratorPathTest {
    
        private BeanConfigurator configurator;
    
        @BeforeEach
        void setUp() throws Exception {
            configurator = new DefaultBeanConfigurator();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicyTest.java

        @Test
        void testDefaultPolicy() throws Exception {
            MetadataGraphEdge res;
    
            res = policy.apply(e1, e2);
            assertEquals("1.1", res.getVersion(), "Wrong depth edge selected");
    
            res = policy.apply(e1, e3);
            assertEquals("1.2", res.getVersion(), "Wrong version edge selected");
        }
        // ------------------------------------------------------------------------------------------
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

    import org.apache.maven.session.scope.internal.SessionScope;
    import org.junit.jupiter.api.Test;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    
    /**
     */
    @Deprecated
    class ArtifactDeployerTest extends AbstractArtifactComponentTestCase {
        @Inject
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            profileManager.addProfile(defaultActivated);
    
            List active = profileManager.getActiveProfiles();
    
            assertNotNull(active);
            assertEquals(1, active.size());
            assertEquals("defaultActivated", ((Profile) active.get(0)).getId());
        }
    
        @Test
        void testShouldNotActivateDefaultProfile() throws Exception {
            Profile syspropActivated = new Profile();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 7.3K bytes
    - Viewed (0)
Back to top