Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 2,240 for testu (0.06 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

     * MultisetSetCountConditionallyTester}. It is used by those testers to test calls to the
     * unconditional {@code setCount()} method and calls to the conditional {@code setCount()} method
     * when the expected present count is correct.
     *
     * @author Chris Povirk
     */
    @GwtCompatible(emulated = true)
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. tests/preload_test.go

    				"Address.Country": {},
    			},
    			expect: org,
    		},
    	}
    
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			actual := Org{}
    			tx := DB.Where("id = ?", org.ID).Session(&gorm.Session{})
    			for name, args := range test.preloads {
    				tx = tx.Preload(name, args...)
    			}
    			if err := tx.Find(&actual).Error; err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

                Thread.interrupted();
                if (interruptingThread.isAlive()) {
                  // This will be hidden by test-output redirection:
                  logger.severe("InterruptenatorTask did not exit; future tests may be affected");
                  /*
                   * This won't do any good under JUnit 3, but I'll leave it around in
                   * case we ever switch to JUnit 4:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java

    import java.util.Collection;
    import java.util.Map;
    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /**
     * Tests for {@link Multimap#clear()}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultimapClearTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@link LegacyRepositorySystem}.
     *
     */
    @PlexusTest
    @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/testing-dependencies.md

    You probably want to test the external provider once, but not necessarily call it for every test that runs.
    
    In this case, you can override the dependency that calls that provider, and use a custom dependency that returns a mock user, only for your tests.
    
    ### Use the `app.dependency_overrides` attribute
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/testing.md

    Например, так: `pip install httpx`.
    
    ///
    
    Импортируйте `TestClient`.
    
    Создайте объект `TestClient`, передав ему в качестве параметра Ваше приложение **FastAPI**.
    
    Создайте функцию, название которой должно начинаться с `test_` (это стандарт из соглашений `pytest`).
    
    Используйте объект `TestClient` так же, как Вы используете `httpx`.
    
    Напишите простое утверждение с `assert` дабы проверить истинность Python-выражения (это тоже стандарт `pytest`).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. clause/clause_test.go

    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils/tests"
    )
    
    var db, _ = gorm.Open(tests.DummyDialector{}, nil)
    
    func checkBuildClauses(t *testing.T, clauses []clause.Interface, result string, vars []interface{}) {
    	var (
    		buildNames    []string
    		buildNamesMap = map[string]bool{}
    		user, _       = schema.Parse(&tests.User{}, &sync.Map{}, db.NamingStrategy)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Jun 02 02:50:38 UTC 2020
    - 1012 bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code remove} operations on a map. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author George van den Driessche
     * @author Chris Povirk
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code replace(K, V, V)} operations on a concurrent map. Can't
     * be invoked directly; please see {@link
     * com.google.common.collect.testing.ConcurrentMapTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top