Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 2,562 for test5 (0.66 sec)

  1. src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java

            assertEquals(expectedTimestamp, avTimestamp.getTimestamp());
        }
    
        /**
         * Test getTimestamp method with a negative timestamp (though timestamps are usually positive).
         * This tests the underlying SMBUtil.readInt8 behavior.
         */
        @Test
        public void testGetTimestampNegative() {
            long expectedTimestamp = -1L; // Represents all bits set to 1 for an 8-byte long
            byte[] rawBytes = new byte[8];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.dcerpc.rpc;
    import jcifs.dcerpc.ndr.NdrBuffer;
    import jcifs.dcerpc.ndr.NdrException;
    
    /**
     * Comprehensive test suite for samr (Security Account Manager Remote) protocol
     * Tests all message types, data structures, and constants
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapReplaceValuesTester.java

    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * Tests for {@link SetMultimap#replaceValues}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ConfigTest.java

            testProperties.setProperty("test.bool.false", "false");
            testProperties.setProperty("test.host", "localhost");
            testProperties.setProperty("test.invalid.int", "abc");
        }
    
        @Test
        @DisplayName("Should get integer property with default value")
        void testGetIntWithDefault() {
            assertEquals(123, Config.getInt(testProperties, "test.int", 0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java

    import java.io.IOException;
    import java.nio.charset.StandardCharsets;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the NetShareEnumResponse class.
     */
    class NetShareEnumResponseTest {
    
        /**
         * Tests the readParametersWireFormat method.
         */
        @Test
        void testReadParametersWireFormat() {
            NetShareEnumResponse response = new NetShareEnumResponse();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            }
    
            @Test
            @DisplayName("Should accept empty file ID in constructor")
            void testConstructorWithEmptyFileId() {
                byte[] emptyFileId = new byte[16];
                assertDoesNotThrow(() -> new Smb2WriteRequest(mockConfig, emptyFileId));
            }
        }
    
        @Nested
        @DisplayName("FileId Tests")
        class FileIdTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/CloseableIteratorTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    /**
     * Test class for CloseableIterator interface functionality
     */
    @DisplayName("CloseableIterator Tests")
    class CloseableIteratorTest extends BaseTest {
    
        @Mock
        private CloseableIterator<SmbResource> mockIterator;
    
        @Test
        @DisplayName("Should define close method")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 964 bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAtIndexTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code remove(int)} operations on a list. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutAllTester.java

    import java.util.List;
    import java.util.Set;
    import org.junit.Ignore;
    
    /**
     * Tests for {@link SetMultimap#replaceValues}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. guava-gwt/pom.xml

          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>com.google.guava</groupId>
          <artifactId>guava-testlib</artifactId>
          <version>${project.version}</version>
          <classifier>tests</classifier>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>com.google.guava</groupId>
          <artifactId>guava-tests</artifactId>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top