Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 804 for test_ws (0.04 sec)

  1. tests/embedded_struct_test.go

    package tests_test
    
    import (
    	"database/sql/driver"
    	"encoding/json"
    	"errors"
    	"reflect"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestEmbeddedStruct(t *testing.T) {
    	type ReadOnly struct {
    		ReadOnly *bool
    	}
    
    	type BasePost struct {
    		Id    int64
    		Title string
    		URL   string
    		ReadOnly
    	}
    
    	type Author struct {
    		ID    string
    		Name  string
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Unit tests for DirectoryLeaseContext
     */
    public class DirectoryLeaseContextTest {
    
        @Test
        public void testConstructor() {
            Smb2LeaseKey key = new Smb2LeaseKey();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

        }
        assertFailsWith<Exception> {
          badPublicSuffixDatabase.getEffectiveTldPlusOne("squareup.com")
        }.also { e ->
          assertEquals(firstFailure.toString(), e.toString())
        }
      }
    
      /** These tests are provided by [publicsuffix.org](https://publicsuffix.org/list/). */
      @Test
      fun publicSuffixDotOrgTestCases() {
        // Any copyright is dedicated to the Public Domain.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.RepeatedTest;
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for SimpleCircuitBreaker
     */
    public class SimpleCircuitBreakerTest {
    
        private SimpleCircuitBreaker circuitBreaker;
    
        @BeforeEach
        void setUp() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

          )
    
        val pool =
          factory.newConnectionPool(
            taskRunner = taskRunner,
            maxIdleConnections = 2,
          )
        factory.newConnection(pool, routeA1)
        // Racy causing flaky tests
        // assertThat(taskRunner.activeQueues()).isNotEmpty()
        assertThat(taskRunnerThreads).isNotEmpty()
        Thread.sleep(100)
        for (t in taskRunnerThreads) {
          t.interrupt()
        }
        Thread.sleep(100)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultProjectDependencyGraphTest.java

        }
    
        @Test
        void testVerifyExpectedParentStructure() throws CycleDetectedException, DuplicateProjectException {
            // This test verifies the baseline structure used in subsequent tests. If this fails, the rest will fail.
            ProjectDependencyGraph graph = threeProjectsDependingOnASingle();
            final List<MavenProject> sortedProjects = graph.getSortedProjects();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_sql_databases/test_tutorial002.py

    from fastapi.testclient import TestClient
    from inline_snapshot import Is, snapshot
    from sqlalchemy import StaticPool
    from sqlmodel import SQLModel, create_engine
    from sqlmodel.main import default_registry
    
    from tests.utils import needs_py310
    
    
    def clear_sqlmodel():
        # Clear the tables in the metadata for the default base model
        SQLModel.metadata.clear()
        # Clear the Models associated with the registry, to avoid warnings
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

      }
    
      /**
       * The supplied multimap will be mutated and an unmodifiable instance used in its stead. If the
       * multimap does not support null keys or values, alternatives may be specified for tests
       * involving nulls.
       */
      private static void checkUnmodifiableMultimap(
          Multimap<@Nullable String, @Nullable Integer> multimap,
          boolean permitsDuplicates,
          @Nullable String nullKey,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Generated tests for {@link Monitor}.
     *
     * <p>This test class generates all of its own test cases in the {@link #suite()} method. Every
     * {@code enterXxx}, {@code tryEnterXxx}, and {@code waitForXxx} method of the {@code Monitor} class
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/DoubleMathTest.java

    import java.math.BigDecimal;
    import java.math.BigInteger;
    import java.math.RoundingMode;
    import java.util.Arrays;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@code DoubleMath}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullUnmarked
    public class DoubleMathTest extends TestCase {
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 14:15:36 UTC 2025
    - 27.3K bytes
    - Viewed (0)
Back to top