Search Options

Results per page
Sort
Preferred Languages
Advance

Results 991 - 1000 of 1,478 for Tests (0.05 sec)

  1. guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.Executor;
    import java.util.concurrent.Executors;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link ExecutionList}.
     *
     * @author Nishant Thakkar
     * @author Sven Mawson
     */
    public class ExecutionListTest extends TestCase {
    
      private final ExecutionList list = new ExecutionList();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_cookie_param_models/test_tutorial002.py

    import importlib
    
    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    from tests.utils import needs_py39, needs_py310, needs_pydanticv1, needs_pydanticv2
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial002", marks=needs_pydanticv2),
            pytest.param("tutorial002_py310", marks=[needs_py310, needs_pydanticv2]),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. ci/official/containers/linux_arm64/devel.usertools/code_check_changed_files.bats

        if [[ "$(git rev-parse --abbrev-ref HEAD)" = "pull_branch" ]]; then
            # TF's CI runs 'git fetch origin "pull/PR#/merge:pull_branch"'
            # To get the as-merged branch during the CI tests
            git diff --diff-filter ACMRT --name-only pull_branch^ pull_branch > $BATS_FILE_TMPDIR/changed_files
        else
            # If the branch is not present, then diff against origin/master
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. src/bytes/bytes_test.go

    func TestRepeatCatchesOverflow(t *testing.T) {
    	type testCase struct {
    		s      string
    		count  int
    		errStr string
    	}
    
    	runTestCases := func(prefix string, tests []testCase) {
    		for i, tt := range tests {
    			err := repeat([]byte(tt.s), tt.count)
    			if tt.errStr == "" {
    				if err != nil {
    					t.Errorf("#%d panicked %v", i, err)
    				}
    				continue
    			}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  5. cmd/os-readdir_test.go

    }
    
    // teardown - cleans up test directories.
    func teardown(testResults []result) {
    	for _, r := range testResults {
    		os.RemoveAll(r.dir)
    	}
    }
    
    // TestReadDir - test function to run various readDir() tests.
    func TestReadDir(t *testing.T) {
    	var testResults []result
    
    	// Setup and capture test results for empty directory.
    	testResults = append(testResults, setupTestReadDirEmpty(t)...)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Tests for {@code CompactLinkedHashMap}.
     *
     * @author Louis Wasserman
     */
    public class CompactLinkedHashMapTest extends TestCase {
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

    import com.google.common.base.MoreObjects;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableTable;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link EquivalenceTester}.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    public class EquivalenceTesterTest extends TestCase {
      private EquivalenceTester<Object> tester;
      private MockEquivalence equivalenceMock;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

    import com.google.common.base.MoreObjects;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableTable;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link EquivalenceTester}.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    public class EquivalenceTesterTest extends TestCase {
      private EquivalenceTester<Object> tester;
      private MockEquivalence equivalenceMock;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        tester.testFailedFuture("failure");
      }
    
      public void testCancel() throws Exception {
        assertTrue(future.cancel(true));
        tester.testCancelledFuture();
      }
    
      /** Tests the initial state of the future. */
      public void testCreate() throws Exception {
        SettableFuture<Integer> future = SettableFuture.create();
        assertFalse(future.isDone());
        assertFalse(future.isCancelled());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. cmd/object-api-getobjectinfo_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"testing"
    )
    
    // Wrapper for calling GetObjectInfo tests for both Erasure multiple disks and single node setup.
    func TestGetObjectInfo(t *testing.T) {
    	ExecObjectLayerTest(t, testGetObjectInfo)
    }
    
    // Testing GetObjectInfo().
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 5.6K bytes
    - Viewed (0)
Back to top