Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 2,323 for test5 (0.12 sec)

  1. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

    import java.util.Arrays;
    import java.util.Optional;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for {@link DosError}.  Since {@link DosError} only contains
     * constants, the tests exercise the data and small helper logic in this
     * test class.
     */
    public class DosErrorTest {
        private static Optional<Integer> findNtStatus(int dosErrorCode) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/StringsTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.CsvSource;
    import org.junit.jupiter.params.provider.NullAndEmptySource;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.Configuration;
    import jcifs.RuntimeCIFSException;
    
    /**
     * Comprehensive test suite for Strings utility class.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Abstract test case parent for anything implementing {@link ListenableFuture}. Tests the two get
     * methods and the addListener method.
     *
     * @author Sven Mawson
     * @since 10.0
     */
    @GwtIncompatible
    public abstract class AbstractListenableFutureTest extends TestCase {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. cmd/signature-v2_test.go

    	}
    	for i, test := range testCases {
    		formValues := make(http.Header)
    		formValues.Set("Awsaccesskeyid", test.accessKey)
    		formValues.Set("Signature", test.signature)
    		formValues.Set("Policy", test.policy)
    		_, errCode := doesPolicySignatureV2Match(formValues)
    		if errCode != test.errCode {
    			t.Fatalf("(%d) expected to get %s, instead got %s", i+1, niceError(test.errCode), niceError(errCode))
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for PreauthIntegrityNegotiateContext
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("PreauthIntegrityNegotiateContext Tests")
    class PreauthIntegrityNegotiateContextTest {
    
        @Mock
        private Configuration mockConfig;
    
        private static final int BUFFER_SIZE = 1024;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionStreamTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code stream} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @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.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

    import org.junit.jupiter.api.BeforeEach;
    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.Configuration;
    
    /**
     * Unit tests for {@link SmbComFindClose2}.
     * The class is intentionally tiny – the tests mainly verify that the
     * parameter word (the session identifier) is written in little‑endian form
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/AddressTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    /**
     * Comprehensive test suite for Address interface.
     * Tests the contract and behavior of Address implementations.
     */
    @DisplayName("Address Interface Tests")
    class AddressTest extends BaseTest {
    
        @Mock
        private CIFSContext mockContext;
    
        @Mock
        private Address mockAddress;
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbConnectionTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.config.PropertyConfiguration;
    
    /**
     * Tests for SMB connection batch limit functionality.
     * Tests the batch limit configuration for various SMB commands.
     */
    public class SmbConnectionTest {
    
        /**
         * Test that getBatchLimit returns correct values for different commands
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K 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