Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 352 for assertNull (0.68 sec)

  1. src/test/java/org/codelibs/core/security/MessageDigestUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.security;
    
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertNull;
    import static org.junit.Assert.assertTrue;
    
    import org.codelibs.core.exception.EmptyArgumentException;
    import org.codelibs.core.exception.NoSuchAlgorithmRuntimeException;
    import org.junit.Test;
    
    /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java

            CrawlerClient client;
    
            url = null;
            client = clientFactory.getClient(url);
            assertNull(client);
    
            url = "";
            client = clientFactory.getClient(url);
            assertNull(client);
    
            url = " ";
            client = clientFactory.getClient(url);
            assertNull(client);
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/spnego/NegTokenTargTest.java

            assertEquals(NegTokenTarg.ACCEPT_INCOMPLETE, parsed.getResult(), "result should be present");
            assertNull(parsed.getMechanism(), "mechanism should be null when omitted");
            assertNull(parsed.getMechanismToken(), "mechanism token should be null when omitted");
            assertNull(parsed.getMechanismListMIC(), "MIC should be null when omitted");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            assertNotNull(info502);
            // Initial state of ShareInfo502 fields
            assertNull(info502.netname);
            assertNull(info502.remark);
            assertNull(info502.path);
            assertNull(info502.password);
            assertNull(info502.security_descriptor);
            assertEquals(0, info502.type);
            assertEquals(0, info502.permissions);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

    public class MapComputeIfPresentTester<K, V> extends AbstractMapTester<K, V> {
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testComputeIfPresent_supportedAbsent() {
        assertNull(
            "computeIfPresent(notPresent, function) should return null",
            getMap()
                .computeIfPresent(
                    k3(),
                    (k, v) -> {
                      throw new AssertionFailedError();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java

            assertNull(source.getPath());
            assertEquals(path.toString(), source.getLocation());
            assertEquals(modelId, source.getModelId());
            assertNull(source.resolve("subdir"));
    
            ModelSource.ModelLocator locator = mock(ModelSource.ModelLocator.class);
            assertNull(source.resolve(locator, "subproject"));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java

            Thread.sleep(2000);
            assertTrue(expiredCount > 0);
            assertEquals(1, TimeoutManager.getInstance().getTimeoutTaskCount());
            TimeoutManager.getInstance().stop();
            assertNull(TimeoutManager.getInstance().thread);
            Thread.sleep(10);
            int count = expiredCount;
            task.stop();
            TimeoutManager.getInstance().start();
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/LmhostsTest.java

            assertNull(result);
        }
    
        @Test
        void testGetByNameWithNonExistentFile() {
            // Test with non-existent file
            when(mockConfig.getLmHostsFileName()).thenReturn("/non/existent/lmhosts");
    
            NbtAddress result = lmhosts.getByName("TEST_HOST", mockContext);
    
            assertNull(result);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    
    import org.junit.jupiter.api.Test;
    
    class ConnectionTimeoutExceptionTest {
    
        @Test
        void testNoArgsConstructor() {
            // Test the no-argument constructor
            ConnectionTimeoutException exception = new ConnectionTimeoutException();
            assertNull(exception.getMessage(), "Message should be null for no-arg constructor");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/UnicodeStringTest.java

    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;
    
    import org.junit.jupiter.api.Test;
    
    class UnicodeStringTest {
    
        @Test
        void testConstructorWithZterm() {
            // Test with zterm = true
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top