Search Options

Results per page
Sort
Preferred Languages
Advance

Results 851 - 860 of 1,595 for Tests (0.15 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultimapValuesTester.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 MultimapValuesTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      public void testValues() {
        List<V> expected = new ArrayList<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. ci/official/envs/windows_x86_2022

    TFCI_OUTPUT_DIR=build_output
    TFCI_FIND_BIN=C:/tools/msys64/usr/bin/find.exe
    TFCI_LIB_SUFFIX="-cpu-windows-x86_64"
    # auditwheel is not supported for Windows
    TFCI_WHL_AUDIT_ENABLE=0
    TFCI_WHL_AUDIT_PLAT=0
    # Tests are extremely slow at the moment
    TFCI_WHL_BAZEL_TEST_ENABLE=0
    TFCI_WHL_SIZE_LIMIT=450M
    TFCI_WHL_SIZE_LIMIT_ENABLE=1
    TFCI_WHL_IMPORT_TEST_ENABLE=1
    TFCI_PYTHON_VERIFY_PIP_INSTALL_ARGS=""
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Mar 19 00:58:54 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. android-test/src/test/kotlin/okhttp/android/test/DisabledInitialiserTest.kt

            )
            hasClass<IOException>()
          }
        }
      }
    
      companion object {
        @AfterClass
        @JvmStatic
        fun resetContext() {
          // Ensure we don't make other tests fail
          Platform.resetForTests()
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 16:25:39 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt

    import okio.Buffer
    import org.junit.jupiter.api.Assumptions.assumeFalse
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ArgumentsSource
    
    /**
     * Tests for round-tripping headers through hpack.
     *
     * TODO: update hpack-test-case with the output of our encoder.
     * This test will hide complementary bugs in the encoder and decoder,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFluentFutureCatchingSpecialization.java

      /*
       * In the GWT versions of the methods (below), every exceptionType parameter is required to be
       * Class<Throwable>. To handle only certain kinds of exceptions under GWT, you'll need to write
       * your own instanceof tests.
       */
    
      public final FluentFuture<V> catching(
          Class<Throwable> exceptionType,
          Function<? super Throwable, ? extends V> fallback,
          Executor executor) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.Configuration;
    
    /**
     * Tests for {@link SmbComWriteResponse}.
     */
    public class SmbComWriteResponseTest {
    
        private SmbComWriteResponse resp;
        private Configuration cfgMock;
    
        @BeforeEach
        public void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java

    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Tests for SmbEndOfFileException focusing on message, status, and throwability.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbEndOfFileExceptionTest {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. tests/benchmark_test.go

    package tests_test
    
    import (
    	"fmt"
    	"testing"
    
    	. "gorm.io/gorm/utils/tests"
    )
    
    func BenchmarkCreate(b *testing.B) {
    	user := *GetUser("bench", Config{})
    
    	for x := 0; x < b.N; x++ {
    		user.ID = 0
    		DB.Create(&user)
    	}
    }
    
    func BenchmarkFind(b *testing.B) {
    	user := *GetUser("find", Config{})
    	DB.Create(&user)
    
    	for x := 0; x < b.N; x++ {
    		DB.Find(&User{}, "id = ?", user.ID)
    	}
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 01 03:50:57 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbFileTest.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;
    
    /**
     * Unit tests for the SmbFile class.
     * This class focuses on testing the logic of SmbFile without actual network communication,
     * using mocks where necessary.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbFileTest {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.Configuration;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Unit tests for TransTransactNamedPipe class
     */
    @DisplayName("TransTransactNamedPipe Tests")
    class TransTransactNamedPipeTest {
    
        @Mock
        private Configuration mockConfig;
    
        private static final int TEST_FID = 0x1234;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top