Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 591 for assertNotNull (0.04 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/lifecycle/mapping/LifecyclePhaseTest.java

            phase.set("");
            assertNotNull(phase.getMojos());
            assertEquals(0, phase.getMojos().size());
    
            phase.set("jar:jar, war:war");
    
            List<LifecycleMojo> mojos = phase.getMojos();
            assertNotNull(mojos);
            assertEquals(2, mojos.size());
    
            LifecycleMojo mojo1 = mojos.get(0);
            assertNotNull(mojo1);
            assertEquals("jar:jar", mojo1.getGoal());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java

            response = new SmbComReadAndXResponse();
        }
    
        @Test
        public void testConstructor() {
            assertNotNull(response);
        }
    
        @Test
        public void testConstructorWithParameters() {
            byte[] b = new byte[0];
            response = new SmbComReadAndXResponse(b, 0);
            assertNotNull(response);
            assertEquals(b, response.b);
            assertEquals(0, response.off);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            RdmaProvider provider = RdmaProviderFactory.selectBestProvider();
            assertNotNull(provider, "Should always select an RDMA provider (at minimum TCP fallback)");
            assertNotNull(provider.getProviderName(), "Provider name should not be null");
            assertNotNull(provider.getSupportedCapabilities(), "Supported capabilities should not be null");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SidResolverTest.java

    import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
    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;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.ArgumentMatchers.anyInt;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

            SmbResource first = iterator.next();
            assertNotNull(first, "First element should not be null");
            assertEquals("file1.txt", first.getName());
    
            assertTrue(iterator.hasNext(), "Should have second element");
            SmbResource second = iterator.next();
            assertNotNull(second, "Second element should not be null");
            assertEquals("file2.txt", second.getName());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

    import org.codehaus.plexus.util.FileUtils;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.io.TempDir;
    
    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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

    package jcifs.internal.smb2.info;
    
    import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            char[] plaintext = new char[0];
    
            byte[] encrypted = storage.encryptCredentials(plaintext);
            assertNotNull(encrypted, "Encrypted empty data should not be null");
    
            char[] decrypted = storage.decryptCredentials(encrypted);
            assertNotNull(decrypted, "Decrypted empty data should not be null");
            assertEquals(0, decrypted.length, "Decrypted empty array should have zero length");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/PacLogonInfoTest.java

            assertEquals(TEST_SERVER, logonInfo.getServerName());
            assertNotNull(logonInfo.getLogonTime());
            assertNotNull(logonInfo.getLogoffTime());
            assertNotNull(logonInfo.getKickOffTime());
            assertNotNull(logonInfo.getPwdLastChangeTime());
            assertNotNull(logonInfo.getPwdCanChangeTime());
            assertNotNull(logonInfo.getPwdMustChangeTime());
            assertEquals(10, logonInfo.getLogonCount());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/XmlUtilTest.java

        public void test_stripInvalidXMLCharacters_valid() {
            // Test valid XML characters
            String input = "Valid XML text 123\t\n\r";
            String result = XmlUtil.stripInvalidXMLCharacters(input);
            assertNotNull(result);
            assertTrue(result.contains("Valid XML text 123"));
        }
    
        public void test_stripInvalidXMLCharacters_withInvalidChars() {
            // Test with invalid control characters (0x1-0x8, 0xB, 0xC, 0xE-0x1F)
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top