- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 1,741 for tests (0.24 seconds)
-
clause/joins_test.go
package clause_test import ( "sync" "testing" "gorm.io/gorm" "gorm.io/gorm/clause" "gorm.io/gorm/schema" "gorm.io/gorm/utils/tests" ) func TestJoin(t *testing.T) { results := []struct { name string join clause.Join sql string }{ { name: "LEFT JOIN", join: clause.Join{ Type: clause.LeftJoin, Table: clause.Table{Name: "user"}, ON: clause.Where{
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Nov 03 13:03:13 GMT 2022 - 2.6K bytes - Click Count (0) -
cmd/data-usage-cache_test.go
"BETWEEN_1024B_AND_1_MB": 2, "BETWEEN_10_MB_AND_64_MB": 1, }, }, } for i, test := range tests { t.Run(fmt.Sprintf("Test-%d", i), func(t *testing.T) { var h sizeHistogram for _, sz := range test.sizes { h.add(sz) } got := h.toMap() exp := test.want // what is in exp is in got for k := range exp { if exp[k] != got[k] {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sat Jan 13 07:51:08 GMT 2024 - 2.6K bytes - Click Count (0) -
docs/pt/docs/advanced/testing-events.md
Quando você precisa que o `lifespan` seja executado em seus testes, você pode utilizar o `TestClient` com a instrução `with`: {* ../../docs_src/app_testing/tutorial004_py39.py hl[9:15,18,27:28,30:32,41:43] *} Você pode ler mais detalhes sobre o ["Executando lifespan em testes no site oficial da documentação do Starlette."](https://www.starlette.dev/lifespan/#running-lifespan-in-tests)Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 685 bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
import java.util.Iterator; import org.junit.Ignore; /** * Tests for {@link Multimap#putAll(Object, Iterable)}. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") @SuppressWarnings({ // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. "JUnit4ClassUsedInJUnit3",Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 7.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/OptionalTest.java
return FluentIterable.from(ImmutableList.<Number>of()); } /* * The following tests demonstrate the shortcomings of or() and test that the casting workaround * mentioned in the method Javadoc does in fact compile. */ @SuppressWarnings("unused") // compilation test public void testSampleCodeError1() { Optional<Integer> optionalInt = getSomeOptionalInt();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 10.5K bytes - Click Count (0) -
docs/en/docs/advanced/testing-events.md
When you need `lifespan` to run in your tests, you can use the `TestClient` with a `with` statement: {* ../../docs_src/app_testing/tutorial004_py39.py hl[9:15,18,27:28,30:32,41:43] *} You can read more details about the ["Running lifespan in tests in the official Starlette documentation site."](https://www.starlette.dev/lifespan/#running-lifespan-in-tests)Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 626 bytes - Click Count (0) -
android-test/src/androidTest/README.md
... BUILD SUCCESSFUL in 1m 30s 63 actionable tasks: 61 executed, 2 up-to-date ```
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Aug 22 08:12:58 GMT 2025 - 2.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/QueueTestSuiteBuilder.java
} private boolean runCollectionTests = true; /** * Specify whether to skip the general collection tests. Call this method when testing a * collection that's both a queue and a list, to avoid running the common collection tests twice. * By default, collection tests do run. */ @CanIgnoreReturnValue public QueueTestSuiteBuilder<E> skipCollectionTests() { runCollectionTests = false;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 2.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests {@code contains()} operations on a collection. Can't be invoked * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}. * * @author Kevin Bourrillion * @author Chris Povirk */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build")Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRetainAllTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests {@code retainAll} operations on a list. Can't be invoked * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}. * * @author Chris Povirk */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3K bytes - Click Count (0)