Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for assertNotNull (0.08 sec)

  1. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultModelResolverTest.java

                    .version("(,2.0)")
                    .build();
    
            AtomicReference<Parent> modified = new AtomicReference<>();
            assertNotNull(this.newModelResolver().resolveModel(parent, modified));
            assertNotNull(modified.get());
            assertEquals("1.0", modified.get().getVersion());
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolverTest.java

            MetadataGraph res;
    
            res = resolver.resolveConflicts(graph, ArtifactScopeEnum.compile);
    
            assertNotNull(res, "null graph after resolver");
            assertNotNull(res.getVertices(), "no vertices in the resulting graph after resolver");
    
            assertNotNull(res.getExcidentEdges(v1), "no edges in the resulting graph after resolver");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java

        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new DependencyManagement().toString());
        }
    
        @Test
        void testDependencies() {
            DependencyManagement dm = new DependencyManagement();
            Dependency d1 = new Dependency();
            d1.setGroupId("myGroupId");
            assertNotNull(dm.getDependencies());
            assertEquals(0, dm.getDependencies().size());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

    import org.junit.jupiter.api.Disabled;
    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 DefaultProfileManagerTest {
    
        @Inject
        PlexusContainer container;
    
        protected PlexusContainer getContainer() {
            return container;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/MergerTest.java

                InputLocation propertiesLocation = model.getLocation("properties");
                assertNotNull(propertiesLocation);
                assertEquals(13, propertiesLocation.getLineNumber());
                assertEquals(5, propertiesLocation.getColumnNumber());
                InputLocation filterPropLocation = propertiesLocation.getLocation("my.filter.value");
                assertNotNull(filterPropLocation);
                assertEquals(14, filterPropLocation.getLineNumber());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

        void testCompileClasspathTransform() throws Exception {
            ClasspathContainer res;
    
            res = transform.transform(graph, ArtifactScopeEnum.compile, false);
    
            assertNotNull(res, "null classpath container after compile transform");
            assertNotNull(res.getClasspath(), "null classpath after compile transform");
            assertEquals(3, res.getClasspath().size(), "compile classpath should have 3 entries");
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java

            assertNotNull(accessResult5);
            assertNotNull(accessResult6);
            assertEquals("text/html", accessResult5.getMimeType());
            assertEquals("text/html", accessResult6.getMimeType());
    
            dataService.delete("id1");
    
            assertNull(dataService.getAccessResult("id1", "http://www.id1.com/"));
            assertNotNull(dataService.getAccessResult("id2", "http://www.id2.com/"));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

            ModelBuilder builder = new DefaultModelBuilderFactory().newInstance();
            assertNotNull(builder);
    
            Result<? extends Model> res = builder.buildRawModel(
                    new File(getClass().getResource("/poms/factory/simple.xml").getFile()),
                    ModelBuildingRequest.VALIDATION_LEVEL_MINIMAL,
                    false);
            assertNotNull(res.get());
        }
    
        /**
         * This test has
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactoryTest.java

            assertNotNull(builder);
    
            DefaultSettingsBuildingRequest request = new DefaultSettingsBuildingRequest();
            request.setSystemProperties(System.getProperties());
            request.setUserSettingsFile(getSettings("simple"));
    
            SettingsBuildingResult result = builder.build(request);
            assertNotNull(result);
            assertNotNull(result.getEffectiveSettings());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    /**
     * Tests {@code Model}.
     *
     */
    class ModelTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Model().hashCode();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top