Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 1,422 for test1 (0.02 sec)

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

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    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)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            @Test
            public void testGetName() throws MalformedURLException {
                // Test file name extraction
                assertEquals("file.txt", new SmbFile("smb1://server/share/file.txt").getName());
                // Test directory name extraction (should include trailing slash)
                assertEquals("dir/", new SmbFile("smb1://server/share/dir/").getName());
                // Test share name extraction
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

    import org.junit.jupiter.api.DisplayName;
    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;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/RecordingCallback.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.io.IOException
    import java.util.concurrent.TimeUnit
    
    /**
     * Records received HTTP responses so they can be later retrieved by tests.
     */
    class RecordingCallback : Callback {
      private val responses = mutableListOf<RecordedResponse>()
    
      @Synchronized
      override fun onFailure(
        call: Call,
        e: IOException,
      ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import okhttp3.internal.http2.hpackjson.HpackJsonUtil
    import okhttp3.internal.http2.hpackjson.Story
    import okio.Buffer
    
    /**
     * Tests Hpack implementation using https://github.com/http2jp/hpack-test-case/
     */
    open class HpackDecodeTestBase {
      private val bytesIn = Buffer()
      private val hpackReader = Hpack.Reader(bytesIn, 4096)
    
      protected fun testDecoder(story: Story) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/ConcurrentMapTestSuiteBuilder.java

    import com.google.common.collect.testing.testers.ConcurrentMapReplaceTester;
    import java.util.List;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a ConcurrentMap
     * implementation.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public class ConcurrentMapTestSuiteBuilder<K, V> extends MapTestSuiteBuilder<K, V> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.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 static <V extends @Nullable Object> ListenableFuture<V> catching(
          ListenableFuture<? extends V> input,
          Class<Throwable> exceptionType,
          Function<? super Throwable, ? extends V> fallback,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. .github/workflows/arm-ci.yml

          - name: Checkout repository
            uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
          - name: Build binary and run python tests
            shell: bash
            run: |
              CI_DOCKER_BUILD_EXTRA_PARAMS="--pull --build-arg py_major_minor_version=${{ matrix.pyver }} --build-arg is_nightly=1 --build-arg tf_project_name=tf_nightly_ci" \
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Sep 01 15:40:11 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. docs/es/docs/deployment/versions.md

    ## Actualizando las versiones de FastAPI
    
    Deberías añadir tests para tu aplicación.
    
    Con **FastAPI** es muy fácil (gracias a Starlette), revisa la documentación: [Testing](../tutorial/testing.md){.internal-link target=_blank}
    
    Después de tener tests, puedes actualizar la versión de **FastAPI** a una más reciente, y asegurarte de que todo tu código está funcionando correctamente ejecutando tus tests.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top