Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 591 for assertNotNull (0.96 sec)

  1. src/test/java/org/codelibs/curl/CurlExceptionTest.java

            assertNotNull(toString);
            assertTrue(toString.contains("CurlException"));
            assertTrue(toString.contains(message));
        }
    
        @Test
        public void testStackTrace() {
            CurlException exception = new CurlException("Test message");
            StackTraceElement[] stackTrace = exception.getStackTrace();
    
            assertNotNull(stackTrace);
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java

            Element root = doc.root();
    
            Element buildElement = DomUtils.findChildElement(root, "build");
            assertNotNull(buildElement, "Should find build element");
    
            Element pluginsElement = DomUtils.findChildElement(buildElement, "plugins");
            assertNotNull(pluginsElement, "Should find plugins element");
        }
    
        @Test
        void testInsertNewElement() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 31.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

    import static org.codelibs.opensearch.runner.OpenSearchRunner.newConfigs;
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertFalse;
    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertTrue;
    
    import java.io.IOException;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.suggest.Suggester;
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.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;
    
    @PlexusTest
    @Deprecated
    class DefaultProfileManagerTest {
    
        @Inject
        PlexusContainer container;
    
        protected PlexusContainer getContainer() {
            return container;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

            // Assert
            assertNotNull(transWaitNamedPipe);
            assertNull(transWaitNamedPipe.name);
        }
    
        @Test
        @DisplayName("Constructor with empty pipe name should handle gracefully")
        void testConstructorWithEmptyPipeName() {
            // Act
            transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, "");
    
            // Assert
            assertNotNull(transWaitNamedPipe);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            KerberosRelevantAuthData relevantAuthData = new KerberosRelevantAuthData(token, keys);
    
            // 3. THEN
            assertNotNull(relevantAuthData, "The KerberosRelevantAuthData object should not be null.");
            List<KerberosAuthData> authorizations = relevantAuthData.getAuthorizations();
            assertNotNull(authorizations, "The authorizations list should not be null.");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            prepareMinimalSecurityDescriptorBuffer(testBuffer, 0, true, true, false);
    
            SecurityDescriptor sd = new SecurityDescriptor(testBuffer, 0, testBuffer.length);
    
            assertNotNull(sd.getOwnerUserSid());
            assertNotNull(sd.getOwnerGroupSid());
            assertNull(sd.getAces());
        }
    
        @Test
        @DisplayName("Test decode with owner SID only")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolverTest.java

            IdnDnsResolver resolver = new IdnDnsResolver();
    
            // Test IPv6 loopback address with brackets
            String host = "[::1]";
            InetAddress[] addresses = resolver.resolve(host);
            assertNotNull(addresses);
            assertTrue(addresses.length > 0);
            // IPv6 loopback can be represented as ::1 or 0:0:0:0:0:0:0:1
            String hostAddress = addresses[0].getHostAddress();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 06 07:24:43 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/context/AbstractCIFSContextTest.java

    package jcifs.context;
    
    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;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    import java.net.URLStreamHandler;
    
    import org.junit.jupiter.api.BeforeEach;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

    package jcifs.smb1.smb1;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top