Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 145 for assertNotNull (0.09 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java

            assertNotNull(builder);
    
            DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();
            request.setProcessPlugins(true);
            request.setPomFile(getPom("simple"));
    
            ModelBuildingResult result = builder.build(request);
            assertNotNull(result);
            assertNotNull(result.getEffectiveModel());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java

            Artifact c = (Artifact) map.get("maven-test:t10-c");
    
            assertNotNull(a);
            assertNotNull(b);
            assertNotNull(c);
    
            // inherited from depMgmt
            System.out.println(a.getScope());
            assertTrue(a.getScope().equals("test"), "Incorrect scope for " + a.getDependencyConflictId());
    
            // transitive dep, overridden b depMgmt
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/EnumTest.java

                    String[] names = f.list();
                    assertNotNull(names);
                    assertEquals(3, names.length);
                    Arrays.sort(names);
                    Assert.assertArrayEquals(new String[] {
                        "a", "b", "c"
                    }, names);
    
                    SmbFile[] files = f.listFiles();
                    assertNotNull(files);
                    assertEquals(3, files.length);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java

    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;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    @Deprecated
    class ProjectClasspathTestType extends AbstractMavenProjectTestCase {
        static final String dir = "projects/scope/";
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

    import java.util.Map;
    
    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;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    /**
     * ReflectionValueExtractorTest class.
     */
    public class ReflectionValueExtractorTest {
        private Project project;
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

      private static void assertGoodTesterAnnotation(Class<? extends Annotation> annotationClass) {
        assertNotNull(
            rootLocaleFormat("%s must be annotated with @TesterAnnotation.", annotationClass),
            annotationClass.getAnnotation(TesterAnnotation.class));
        final Retention retentionPolicy = annotationClass.getAnnotation(Retention.class);
        assertNotNull(
            rootLocaleFormat("%s must have a @Retention annotation.", annotationClass),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:09:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/ContributorTest.java

     * under the License.
     */
    package org.apache.maven.model;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code Contributor}.
     *
     */
    class ContributorTest {
    
        @Test
        void testHashCodeNullSafe() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/ExtensionTest.java

     * under the License.
     */
    package org.apache.maven.model;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code Extension}.
     *
     */
    class ExtensionTest {
    
        @Test
        void testHashCodeNullSafe() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/PluginContainerTest.java

     * under the License.
     */
    package org.apache.maven.model;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code PluginContainer}.
     *
     */
    class PluginContainerTest {
    
        @Test
        void testHashCodeNullSafe() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/RelocationTest.java

     * under the License.
     */
    package org.apache.maven.model;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code Relocation}.
     *
     */
    class RelocationTest {
    
        @Test
        void testHashCodeNullSafe() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top