Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 508 for assertNull (0.07 sec)

  1. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

                assertNull(testRequest.getNext());
                assertEquals(0, nextRequest.getFlags() & SMB2_FLAGS_RELATED_OPERATIONS);
            }
    
            @Test
            @DisplayName("split should return null when no next request")
            void testSplitNoNext() {
                CommonServerMessageBlockRequest result = testRequest.split();
                assertNull(result);
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          return;
        }
        assertNull(map.get(unmappedKey));
      }
    
      public void testGetForEmptyMap() {
        Map<K, V> map;
        K unmappedKey = null;
        try {
          map = makeEmptyMap();
          unmappedKey = getKeyNotInPopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        assertNull(map.get(unmappedKey));
      }
    
      public void testGetNull() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            assertFalse(iterator.hasNext());
            assertNull(iterator.next());
    
            verify(resource, never()).close();
        }
    
        @Test
        @DisplayName("Empty iterator")
        void emptyIterator() {
            when(delegate.hasNext()).thenReturn(false);
    
            TestIterator iterator = new TestIterator(null);
    
            assertFalse(iterator.hasNext());
            assertNull(iterator.next());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  4. 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: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/transport/MessageTest.java

    package jcifs.util.transport;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    class MessageTest {
    
        private Message message;
    
        @BeforeEach
        void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. 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: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

      }
    
      public void testGet_constantWithGenericsNotUsed() {
        assertNull(ArbitraryInstances.get(WithGenericConstant.class));
      }
    
      public void testGet_nullConstant() {
        assertNull(ArbitraryInstances.get(WithNullConstant.class));
      }
    
      public void testGet_constantTypeDoesNotMatch() {
        assertNull(ArbitraryInstances.get(ParentClassHasConstant.class));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

            concreteBlock.reset();
            assertEquals(0L, concreteBlock.getMid());
            assertEquals(0, concreteBlock.getCommand());
            assertNull(concreteBlock.getDigest());
            assertNull(concreteBlock.getResponse());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java

            assertEquals(NtStatus.NT_STATUS_UNSUCCESSFUL, ex.getNtStatus(), "Default NT status should be UNSUCCESSFUL");
            assertNull(ex.getCause(), "Cause should be null by default");
            assertNull(ex.getRootCause(), "Root cause should be null by default");
            assertTrue(ex instanceof SmbException, "Should be an SmbException subtype");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top