Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 127 for assertNotNull (0.22 sec)

  1. maven-compat/src/test/java/org/apache/maven/project/inheritance/t07/ProjectInheritanceTest.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.assertTrue;
    
    /**
     * A test which demonstrates maven's dependency management
     *
     */
    @Deprecated
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

    import org.junit.jupiter.api.condition.DisabledOnOs;
    import org.junit.jupiter.api.condition.OS;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * A test which demonstrates maven's recursive inheritance where
     * a distinct value is taken from each parent contributing to
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/FileAttributesTest.java

     */
    package jcifs.tests;
    
    
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertNotEquals;
    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertTrue;
    
    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.net.UnknownHostException;
    import java.util.Collection;
    import java.util.Date;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/project/inheritance/t04/ProjectInheritanceTest.java

    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 the version of a dependency listed in a parent's
     * dependencyManagement section is chosen over another version of the same
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

      }
    
      public void testLocalClassInsideStaticMethod() {
        assertNotNull(staticMethodWithLocalClass());
      }
    
      public void testLocalClassInsideNonStaticMethod() {
        class MyLocalClass<T> {
          Type getType() {
            return new TypeToken<T>(getClass()) {}.getType();
          }
        }
        assertNotNull(new MyLocalClass<String>().getType());
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleTaskSegmentCalculatorImplTest.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;
    
    /**
     */
    class LifecycleTaskSegmentCalculatorImplTest {
        @Test
        void testCalculateProjectBuilds() throws Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/rtinfo/internal/DefaultRuntimeInformationTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    @PlexusTest
    class DefaultRuntimeInformationTest {
        @Inject
        RuntimeInformation rtInfo;
    
        @Test
        void testGetMavenVersion() {
            String mavenVersion = rtInfo.getMavenVersion();
            assertNotNull(mavenVersion);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/project/inheritance/t05/ProjectInheritanceTest.java

    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;
    
    /**
     * A test which demonstrates maven's dependency management
     *
     */
    @Deprecated
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

        for (K key : keys) {
          resetContainer();
    
          int size = getNumElements();
    
          Collection<V> collection = multimap().asMap().get(key);
          assertNotNull(collection);
          Collection<V> expectedCollection = Helpers.copyToList(collection);
    
          multimap().put(key, v3());
          expectedCollection.add(v3());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

        for (Entry<K, V> entry : entries) {
          resetContainer();
    
          K key = entry.getKey();
          V value = entry.getValue();
          Collection<V> collection = multimap().get(key);
          assertNotNull(collection);
          Collection<V> expectedCollection = Helpers.copyToList(collection);
    
          multimap().remove(key, value);
          expectedCollection.remove(value);
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 6.6K bytes
    - Viewed (0)
Back to top