Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for assertNotNull (0.17 sec)

  1. src/test/java/jcifs/tests/DfsTest.java

            DfsReferralData ref = doResolve(null, "", true);
            DfsReferralData ref2 = doResolve(null, "", true);
            DfsReferralData ref3 = doResolve(null, "foo", true);
            assertNotNull(ref);
            assertNotNull(ref2);
            assertNotNull(ref3);
            assertEquals(ref, ref2);
            assertEquals(ref, ref3);
        }
    
    
        @Test
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 13.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/SessionTest.java

                assertNotNull(f);
                f.connect();
                f.exists();
                assertNotNull(f);
                try ( SmbTreeHandleInternal treeHandle = (SmbTreeHandleInternal) f.getTreeHandle();
                      SmbSessionInternal session = treeHandle.getSession().unwrap(SmbSessionInternal.class) ) {
                    assertNotNull(session);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/jcifs/tests/ContextConfigTest.java

        }
    
    
        @Test
        public void testSingletonInit () {
            assertNotNull(this.context.getBufferCache());
            assertNotNull(this.context.getNameServiceClient());
            assertNotNull(this.context.getTransportPool());
            assertNotNull(this.context.getUrlHandler());
            assertNotNull(this.context.getCredentials());
        }
    
    
        @Test
        public void testCredentials () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

            TreeMap.class);
      }
    
      public void testGet_misc() {
        assertNotNull(ArbitraryInstances.get(CharMatcher.class));
        assertNotNull(ArbitraryInstances.get(Currency.class).getCurrencyCode());
        assertNotNull(ArbitraryInstances.get(Locale.class));
        assertNotNull(ArbitraryInstances.get(Joiner.class).join(ImmutableList.of("a")));
        assertNotNull(ArbitraryInstances.get(Splitter.class).split("a,b"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  6. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            ToolchainsBuildingRequest request = new DefaultToolchainsBuildingRequest();
            ToolchainsBuildingResult result = toolchainBuilder.build(request);
            assertNotNull(result.getEffectiveToolchains());
            assertNotNull(result.getProblems());
            assertEquals(0, result.getProblems().size());
        }
    
        @Test
        void testBuildRequestWithUserToolchains() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.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.assertTrue;
    
    /**
     * Unit tests on <code>MavenProperties</code>.
     */
    public class MavenPropertiesTest {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top