Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 127 for assertNotNull (0.21 sec)

  1. 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
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

       * @param c the character to escape
       */
      public static void assertEscaping(CharEscaper escaper, String expected, char c) {
    
        String escaped = computeReplacement(escaper, c);
        Assert.assertNotNull(escaped);
        Assert.assertEquals(expected, escaped);
      }
    
      /**
       * Asserts that a Unicode escaper escapes the given code point into the expected string.
       *
       * @param escaper the non-null escaper to test
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  3. 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),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

    import static org.hamcrest.Matchers.hasKey;
    import static org.hamcrest.Matchers.is;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    class ProjectBuilderTest extends AbstractCoreMavenComponentTestCase {
        @Override
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 28 17:17:10 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/lifecycle/MavenExecutionPlanTest.java

    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
        void testFindLastInPhase() throws Exception {
    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)
  6. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    @Deprecated
    class DefaultUpdateCheckManagerTest extends AbstractArtifactComponentTestCase {
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            Map artifactMap = project.getArtifactMap();
    
            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." );
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/es/config/exentity/WebConfigTest.java

                public void setInitParameterMap(final Map<String, Object> params) {
                    initParamMapSet.set(params);
                }
            });
            assertNotNull(crawlerClientFactory);
            Map<String, Object> initParamMap = initParamMapSet.get();
            assertNotNull(initParamMap);
            assertEquals(0, ((org.codelibs.fess.crawler.client.http.RequestHeader[]) initParamMap.get("requestHeaders")).length);
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  9. 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),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/repository/legacy/LegacyRepositorySystemTest.java

    import org.codehaus.plexus.testing.PlexusTest;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    /**
     * Tests {@link LegacyRepositorySystem}.
     *
     */
    @PlexusTest
    @Deprecated
    class LegacyRepositorySystemTest {
        @Inject
        private LegacyRepositorySystem repositorySystem;
    
        @Test
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.4K bytes
    - Viewed (0)
Back to top