Search Options

Results per page
Sort
Preferred Languages
Advance

Results 931 - 940 of 1,595 for Tests (0.01 sec)

  1. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

    import jcifs.Credentials;
    import jcifs.NameServiceClient;
    import jcifs.internal.SmbNegotiationResponse;
    
    /**
     * Unit tests for SmbTransportPoolImpl using JUnit 5 and Mockito
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    @DisplayName("SmbTransportPoolImpl Tests")
    class SmbTransportPoolImplTest {
    
        private SmbTransportPoolImpl pool;
    
        @Mock
        private CIFSContext ctx;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  2. src/archive/tar/strconv_test.go

    			}
    		}
    		if got != v.want {
    			t.Errorf("formatPAXRecord(%q, %q): got %q, want %q",
    				v.inKey, v.inVal, got, v.want)
    		}
    	}
    }
    
    func BenchmarkParsePAXTIme(b *testing.B) {
    	tests := []struct {
    		name string
    		in   string
    		want time.Time
    		ok   bool
    	}{
    		{
    			name: "NoNanos",
    			in:   "123456",
    			want: time.Unix(123456, 0),
    			ok:   true,
    		},
    		{
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 15K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbTransportPoolTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Comprehensive test suite for SmbTransportPool interface.
     * Tests all transport pool operations including connection management,
     * authentication, and lifecycle operations.
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("SmbTransportPool Tests")
    class SmbTransportPoolTest {
    
        @Mock
        private SmbTransportPool transportPool;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  4. android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt

    import okhttp3.DelegatingSSLSocketFactory
    import okhttp3.EventListener
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    
    /**
     * Tests for ALPN overriding on Android.
     */
    @Tag("Remote")
    class AlpnOverrideTest {
      class CustomSSLSocketFactory(
        delegate: SSLSocketFactory,
      ) : DelegatingSSLSocketFactory(delegate) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsValueTester.java

     * @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")
    public class MultimapContainsValueTester<K, V>
        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java

            // and set its own specific fields (ptype, flags).
            // The fact that the object is successfully created implies the super constructor was called.
        }
    
        // Additional tests could be added here if MsrpcSamrOpenAlias had more methods or complex logic.
        // For this specific class, the constructor is the main point of logic.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. utils/tests/models.go

    package tests
    
    import (
    	"database/sql"
    	"time"
    
    	"gorm.io/gorm"
    )
    
    // User has one `Account` (has one), many `Pets` (has many) and `Toys` (has many - polymorphic)
    // He works in a Company (belongs to), he has a Manager (belongs to - single-table), and also managed a Team (has many - single-table)
    // He speaks many languages (many to many) and has many friends (many to many - single-table)
    // His pet also has one Toy (has one - polymorphic)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Dec 15 08:36:08 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. .github/workflows/arm-ci-extended-cpp.yml

              ref: 'nightly'
          - name: Checkout repository
            if: ${{ github.event_name == 'push' }}
            uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
          - name: Build binary and run C++ tests
            shell: bash
            run: |
              is_nightly=0 && tf_project_name='tf_ci_ext_c' && ${{ github.event_name == 'schedule' }} && is_nightly=1 && tf_project_name='tf_nightly_ci_ext_c'
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Sep 01 15:40:11 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

    import java.util.Set;
    import java.util.concurrent.atomic.AtomicBoolean;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests {@link MapTestSuiteBuilder} by using it against maps that have various negative behaviors.
     *
     * @author George van den Driessche
     */
    @AndroidIncompatible // test-suite builders
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 22 16:18:11 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/BloomFilterTest.java

    import java.util.List;
    import java.util.Random;
    import java.util.stream.Stream;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for SimpleGenericBloomFilter and derived BloomFilter views.
     *
     * @author Dimitris Andreou
     */
    @NullUnmarked
    public class BloomFilterTest extends TestCase {
      private static final int NUM_PUTS = 100_000;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top