Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 352 for assertNull (1.23 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

            // Test the getResults method
            // By default, it should return null until results are set
            assertNull(response.getResults());
        }
    
        @Test
        void testGetLastName() {
            // Test the getLastName method
            // By default, it should return null
            assertNull(response.getLastName());
        }
    
        @Test
        void testGetSubCommand() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

                      throw new AssertionFailedError();
                    }));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testComputeIfAbsent_functionReturnsNullNotInserted() {
        assertNull(
            "computeIfAbsent(absent, returnsNull) should return null",
            getMap()
                .computeIfAbsent(
                    k3(),
                    k -> {
                      assertEquals(k3(), k);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class MapPutIfAbsentTester<K, V> extends AbstractMapTester<K, V> {
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutIfAbsent_supportedAbsent() {
        assertNull(
            "putIfAbsent(notPresent, value) should return null", getMap().putIfAbsent(k3(), v3()));
        expectAdded(e3());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 02:04:51 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java

            netdfs.DfsStorageInfo decodedStorageInfo = new netdfs.DfsStorageInfo();
            decodedStorageInfo.decode(src);
    
            assertEquals(storageInfo.state, decodedStorageInfo.state);
            assertNull(decodedStorageInfo.server_name);
            assertNull(decodedStorageInfo.share_name);
        }
    
        @Test
        void testDfsInfo3_EncodeDecode() throws NdrException {
            netdfs.DfsInfo3 info3 = new netdfs.DfsInfo3();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

            concreteBlock.reset();
            assertEquals(0L, concreteBlock.getMid());
            assertEquals(0, concreteBlock.getCommand());
            assertNull(concreteBlock.getDigest());
            assertNull(concreteBlock.getResponse());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  6. 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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/curl/CurlResponseTest.java

     */
    package org.codelibs.curl;
    
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertNull;
    import static org.junit.Assert.assertSame;
    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Arrays;
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dfs/ReferralTest.java

            assertEquals(specialName, referral.getSpecialName());
            assertArrayEquals(expandedNames, referral.getExpandedNames());
            assertNull(referral.getRpath());
            assertNull(referral.getAltPath());
            assertNull(referral.getNode());
        }
    
        @Test
        public void testVersion3WithZeroOffsets() {
            // Prepare test data with zero offsets
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilderTest.java

    import org.eclipse.aether.DefaultRepositorySystemSession;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    @PlexusTest
    class LifecycleModuleBuilderTest {
        @Inject
        PlexusContainer container;
    
        @Test
        void testCurrentProject() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top