Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 491 for assertNull (0.06 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

    import org.junit.jupiter.params.provider.MethodSource;
    
    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.assertTrue;
    
    /**
     * Tests Artifact extraction, computation, and parent resolution functionality.
     */
    @DisplayName("GAVUtils")
    class GAVUtilsTest {
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

     * Each method is exercised for normal inputs, extreme or edge cases, and
     * interaction verification.
     */
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.verifyNoMoreInteractions;
    import static org.mockito.Mockito.when;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java

            assertEquals(token, accessTokenHelper.getAccessTokenFromRequest(req));
        }
    
        @Test
        public void test_getAccessTokenFromRequest_bad0() {
            MockletHttpServletRequest req = getMockRequest();
            assertNull(accessTokenHelper.getAccessTokenFromRequest(req));
        }
    
        @Test
        public void test_getAccessTokenFromRequest_bad1() {
            final String token = "INVALID _TOKEN0";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/api/chat/ChatApiManagerTest.java

        }
    
        @Test
        public void test_chatSource_properties() {
            final ChatSource source = new ChatSource();
    
            assertNull(source.getUrl());
            assertNull(source.getTitle());
            assertNull(source.getSnippet());
    
            source.setUrl("https://example.com");
            source.setTitle("Example Page");
            source.setSnippet("This is a snippet...");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 14 01:39:16 GMT 2026
    - 35K bytes
    - Click Count (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    /**
     * Tests {@code Model}.
     *
     */
    class ModelTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Model().hashCode();
        }
    
        @Test
        void testBuild() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 08:09:30 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt

     * limitations under the License.
     */
    package okhttp3.internal.authenticator
    
    import java.net.Authenticator
    import java.net.InetAddress
    import junit.framework.TestCase.assertNull
    import okhttp3.FakeDns
    import okhttp3.Protocol.HTTP_2
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.TestValueFactory
    import okhttp3.internal.RecordingAuthenticator
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            decodedInfo.decode(decodeBuffer);
    
            // Verify nulls are preserved
            assertEquals(0, decodedInfo.name.length);
            assertEquals(0, decodedInfo.name.maximum_length);
            assertNull(decodedInfo.name.buffer);
            assertNull(decodedInfo.sid);
        }
    
        @Test
        void testLsarDnsDomainInfoEncodeDecodeRoundTrip() throws NdrException {
            // Create DNS domain info with test data
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/CredentialsInternalTest.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNotSame;
    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;
    import static org.mockito.Mockito.inOrder;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/core/convert/LongConversionUtilTest.java

            assertEquals(0, LongConversionUtil.toPrimitiveLong(""));
        }
    
        /**
         * @throws Exception
         */
        public void testToLongForEmptyString() throws Exception {
            assertNull(LongConversionUtil.toLong(""));
        }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  10. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java

    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;
    
    class DefaultProblemCollectorTest {
    
        @Test
        void testGetProblems() {
            DefaultProblemCollector collector = new DefaultProblemCollector(null);
            assertNotNull(collector.getProblems());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
Back to Top