Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 128 for insertions (0.15 sec)

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

    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;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     */
    class DefaultSettingsValidatorTest {
    
        private SettingsBuilder validator;
    
        @BeforeEach
        void setUp() throws Exception {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolverTest.java

    import org.codehaus.plexus.testing.PlexusTest;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    /**
     *
     *
     */
    @PlexusTest
    @Deprecated
    class DefaultGraphConflictResolverTest {
        @Inject
        GraphConflictResolver resolver;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  3. maven-builder-support/src/test/java/org/apache/maven/building/StringSourceTest.java

     * under the License.
     */
    package org.apache.maven.building;
    
    import java.io.InputStream;
    import java.util.Scanner;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    class StringSourceTest {
        @Test
        void testGetInputStream() throws Exception {
            StringSource source = new StringSource("Hello World!");
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/project/ProjectBuildingResultWithProblemMessageMatcher.java

    import org.hamcrest.BaseMatcher;
    import org.hamcrest.Description;
    import org.hamcrest.Matcher;
    
    import static java.util.stream.Collectors.joining;
    
    /**
     * Hamcrest matcher to help create fluent assertions about {@link ProjectBuildingResult} instances.
     */
    class ProjectBuildingResultWithProblemMessageMatcher extends BaseMatcher<ProjectBuildingResult> {
        private final String problemMessage;
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 2.7K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCacheTest.java

    import org.apache.maven.artifact.DefaultArtifact;
    import org.apache.maven.lifecycle.internal.SetWithResolutionResult;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    
    class DefaultProjectArtifactsCacheTest {
    
        private ProjectArtifactsCache cache;
    
        @BeforeEach
        void setUp() throws Exception {
            cache = new DefaultProjectArtifactsCache();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Dec 15 06:34:19 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/project/inheritance/t00/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
    - 3.5K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/project/inheritance/t01/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
     * we are testing to make sure that elements stated in a model are
     * not clobbered by the same elements elsewhere in the lineage.
     *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.testing.PlexusTest;
    import org.eclipse.aether.DefaultRepositorySystemSession;
    import org.junit.jupiter.api.BeforeEach;
    
    import static org.junit.jupiter.api.Assertions.fail;
    import static org.mockito.Mockito.mock;
    
    /**
     */
    @PlexusTest
    @Deprecated
    public abstract class AbstractMavenProjectTestCase {
        protected ProjectBuilder projectBuilder;
    
        @Inject
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/lifecycle/internal/BuildListCalculatorTest.java

    import org.apache.maven.lifecycle.internal.stub.ProjectDependencyGraphStub;
    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.assertSame;
    
    class BuildListCalculatorTest {
    
        @Test
        void testCalculateProjectBuilds() throws Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  10. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/TestApiStandalone.java

    import org.apache.maven.api.services.ModelSource;
    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;
    
    class TestApiStandalone {
    
        @Test
        void testStandalone() {
            Session session = ApiRunner.createSession();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 2.5K bytes
    - Viewed (0)
Back to top