Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 738 for testDfs (0.05 sec)

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

    import jcifs.smb1.util.Hexdump;
    
    /**
     * Unit test for {@link Trans2QueryFSInformation}. The class contains mostly
     * trivial wire-format helpers and a custom {@code toString()} implementation.
     * All tests are pure unit tests – no network or file system access is
     * required.
     */
    class Trans2QueryFSInformationTest {
    
        /** Small helper to create a byte buffer larger than the maximum expected
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

    import org.junit.jupiter.api.extension.AfterEachCallback
    import org.junit.jupiter.api.extension.BeforeEachCallback
    import org.junit.jupiter.api.extension.ExtensionContext
    
    /**
     * Apply this rule to all tests. It adds additional checks for leaked resources and uncaught
     * exceptions.
     *
     * Use [newClient] as a factory for a OkHttpClient instances. These instances are specifically
     * configured for testing.
     */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. utils/utils_test.go

    		{"string", "abc", "abc"},
    		{"other", true, ""},
    	}
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			if out := ToString(test.in); test.out != out {
    				t.Fatalf("ToString(%v) want: %s, got: %s", test.in, test.out, out)
    			}
    		})
    	}
    }
    
    func TestRTrimSlice(t *testing.T) {
    	tests := []struct {
    		name     string
    		input    []int
    		trimLen  int
    		expected []int
    	}{
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/Platform.java

     * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
     * License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Locale;
    
    /**
     * This class is emulated in GWT.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    final class Platform {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.3K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

        if (parentFile == directory) return true
        return parentFile.isDescendentOf(directory)
      }
    
      /**
       * See FinalizationTester for discussion on how to best trigger GC in tests.
       * https://android.googlesource.com/platform/libcore/+/master/support/src/test/java/libcore/
       * java/lang/ref/FinalizationTester.java
       */
      @Throws(Exception::class)
      @JvmStatic
      fun awaitGarbageCollection() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

    import com.google.common.testing.SerializableTester;
    import java.io.Serializable;
    import java.lang.reflect.Method;
    import java.util.Collections;
    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * Tests for the {@code inverse} view of a BiMap.
     *
     * <p>This assumes that {@code bimap.inverse().inverse() == bimap}, which is not technically
     * required but is fulfilled by all current implementations.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

     */
    @ExtendWith(MockitoExtension.class)
    class NegotiateContextResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        @Nested
        @DisplayName("PreauthIntegrityNegotiateContext Tests")
        class PreauthIntegrityNegotiateContextTest {
    
            private PreauthIntegrityNegotiateContext context;
            private byte[] testSalt;
            private int[] testHashAlgos;
    
            @BeforeEach
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for Smb2LockRequest functionality
     */
    @DisplayName("Smb2LockRequest Tests")
    class Smb2LockRequestTest {
    
        @Mock
        private Configuration mockConfig;
    
        @Mock
        private CIFSContext mockContext;
    
        @Mock
        private Smb2Lock mockLock;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/http/HandlerTest.java

    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSContext;
    
    /**
     * Tests for the {@link Handler} class.
     * This class tests the functionality of the NTLM URLStreamHandler wrapper.
     */
    @ExtendWith(MockitoExtension.class)
    class HandlerTest {
    
        @Mock
        private CIFSContext mockCifsContext;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. guava-testlib/src/module-info.java

      exports com.google.common.collect.testing;
      exports com.google.common.collect.testing.features;
      exports com.google.common.collect.testing.google;
      exports com.google.common.collect.testing.testers;
      exports com.google.common.escape.testing;
      exports com.google.common.testing;
      exports com.google.common.util.concurrent.testing;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 01 21:16:20 UTC 2025
    - 1.2K bytes
    - Viewed (0)
Back to top