Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 1,907 for testu (0.06 sec)

  1. internal/logger/target/testlogger/testlogger.go

    // Package testlogger contains an autoregistering logger that can be used to capture logging events
    // for individual tests.
    // This package should only be included by test files.
    // To enable logging for a test, use:
    //
    //	func TestSomething(t *testing.T) {
    //		defer testlogger.T.SetLogTB(t)()
    //
    // This cannot be used for parallel tests.
    package testlogger
    
    import (
    	"context"
    	"fmt"
    	"os"
    	"strings"
    	"sync/atomic"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

    import java.util.HashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a Map implementation.
     *
     * @author George van den Driessche
     */
    @GwtIncompatible
    public class MapTestSuiteBuilder<K, V>
        extends PerCollectionSizeTestSuiteBuilder<
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. cmd/erasure-metadata_test.go

    		nonTieredTest(16, 4, 11),
    	}
    	for i, test := range tests {
    		t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) {
    			if got := listObjectParities(test.metaArr, test.errs); !slices.Equal(got, test.parities) {
    				t.Fatalf("Expected parities %v but got %v", test.parities, got)
    			}
    			if got := commonParity(test.parities, len(test.metaArr)/2); got != test.parity {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:02:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. src/main/webapp/WEB-INF/view/common/admin/sidebar.jsp

    		<span class="brand-text">
    		<c:if test="${empty param.brandName or empty param.logoPath}"><img src="${fe:url('/images/logo-head.png')}" alt="<la:message key="labels.header_brand_name" />" /></c:if
    		><c:if test="${not empty param.brandName and not empty param.logoPath}"><img src="${fe:url(param.logoPath)}" alt="${f:h(param.brandName)}" /></c:if>
    		</span>
    	</la:link>
    	<div class="sidebar">
    		<c:if test="${fe:permission('admin-searchlist-view')}">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Apr 15 20:55:28 UTC 2021
    - 17.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A simplistic set which implements the bare minimum so that it can be used in tests without
     * relying on any specific Set implementations. Slow. Explicitly allows null elements so that they
     * can be used in the testers.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

       *
       * <p>If the order is non-deterministic, as with {@link java.util.HashSet}, this method can return
       * its input unmodified. Provided that the test suite is built without {@link
       * com.google.common.collect.testing.features.CollectionFeature#KNOWN_ORDER}, the tests will look
       * only at the returned contents without regard for order.
       */
      Iterable<E> order(List<E> insertionOrder);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

    import java.util.concurrent.CancellationException;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Future;
    import java.util.concurrent.ScheduledFuture;
    import junit.framework.TestCase;
    
    /**
     * Tests for TestingExecutors.
     *
     * @author Eric Chang
     */
    public class TestingExecutorsTest extends TestCase {
      private volatile boolean taskDone;
    
      public void testNoOpScheduledExecutor() throws InterruptedException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java

    import org.junit.Ignore;
    
    /**
     * Tester for {@code Multimap.equals}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @ElementTypesAreNonnullByDefault
    public class MultimapEqualsTester<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Sets;
    import java.util.Map;
    import java.util.Random;
    import java.util.Set;
    import junit.framework.TestCase;
    
    /**
     * Tests that the different algorithms benchmarked in {@link QuantilesBenchmark} are actually all
     * returning more-or-less the same answers.
     */
    public class QuantilesAlgorithmTest extends TestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_request_form_models/test_tutorial002.py

    import pytest
    from fastapi.testclient import TestClient
    
    from tests.utils import needs_pydanticv2
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.request_form_models.tutorial002 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_pydanticv2
    def test_post_body_form(client: TestClient):
        response = client.post("/login/", data={"username": "Foo", "password": "secret"})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 17:31:18 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top