- Sort Score
- Result 10 results
- Languages All
Results 661 - 670 of 1,844 for test2 (0.03 sec)
-
tests/associations_test.go
package tests_test import ( "testing" "gorm.io/gorm" "gorm.io/gorm/clause" "gorm.io/gorm/schema" . "gorm.io/gorm/utils/tests" ) func AssertAssociationCount(t *testing.T, data interface{}, name string, result int64, reason string) { if count := DB.Model(data).Association(name).Count(); count != result { t.Fatalf("invalid %v count %v, expects: %v got %v", name, reason, result, count) } var newUser User
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Feb 08 08:29:09 UTC 2023 - 10.9K bytes - Viewed (0) -
cmd/update_test.go
if got != testCase.tag && testCase.errStr == "" { t.Errorf("Test %d: Expected %v but got %v", i+1, testCase.tag, got) } } tagTime, err := releaseTagToReleaseTime(testCase.tag) if err != nil && err.Error() != testCase.errStr { t.Errorf("Test %d: Expected %v but got %v", i+1, testCase.errStr, err.Error()) } if err == nil && !tagTime.Equal(testCase.t) { t.Errorf("Test %d: Expected %v but got %v", i+1, testCase.t, tagTime) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 10.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
} /** * Determines whether the specified artifact refers to test classes. * * @param artifact The artifact to check, must not be {@code null}. * @return {@code true} if the artifact refers to test classes, {@code false} otherwise. */ private static boolean isTestArtifact(Artifact artifact) { return ("test-jar".equals(artifact.getProperty("type", "")))
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.3K bytes - Viewed (0) -
docs/de/docs/contributing.md
Und diese Python-Dateien werden beim Generieren der Site in die Dokumentation eingefügt. ### Dokumentation für Tests Tatsächlich arbeiten die meisten Tests mit den Beispielquelldateien in der Dokumentation. Dadurch wird sichergestellt, dass: * Die Dokumentation aktuell ist. * Die Dokumentationsbeispiele ohne Änderung ausgeführt werden können.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 16.1K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/DocsTest.kt
mkdir test-splits del /f /q test-splits\include-test-classes.properties del /f /q test-splits\exclude-test-classes.properties ( $linesWithEcho ) > test-splits\$action-test-classes.properties echo "Tests to be ${action}d in this build" type test-splits\$action-test-classes.properties """ return { script { name = "PREPARE_TEST_CLASSES" executionMode = BuildStep.ExecutionMode.ALWAYS
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Sep 25 07:23:49 UTC 2024 - 4.7K bytes - Viewed (0) -
docs/tr/docs/advanced/testing-websockets.md
# WebSockets'i Test Etmek WebSockets testi yapmak için `TestClient`'ı kullanabilirsiniz. Bu işlem için, `TestClient`'ı bir `with` ifadesinde kullanarak WebSocket'e bağlanabilirsiniz: ```Python hl_lines="27-31" {!../../docs_src/app_testing/tutorial002.py!} ``` /// note | "Not"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 472 bytes - Viewed (0) -
compat/maven-embedder/src/examples/simple-project/src/test/java/org/apache/maven/embedder/AppTest.java
package org.apache.maven.embedder; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for simple App. */ public class AppTest extends TestCase { /** * Create the test case * * @param testName name of the test case */ public AppTest( String testName ) { super( testName ); } /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 651 bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java
items.addAll(ImmutableList.copyOf(group)); return this; } /** Run tests on equivalence methods, throwing a failure on an invalid test */ @CanIgnoreReturnValue public EquivalenceTester<T> test() { for (int run = 0; run < REPETITIONS; run++) { testItems(); delegate.test(); } return this; } private void testItems() { for (T item : items) { /*
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 25 11:57:12 UTC 2023 - 4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java
import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Set; import junit.framework.TestSuite; /** * Creates, based on your criteria, a JUnit test suite that exhaustively tests a Set implementation. * * @author George van den Driessche */ @GwtIncompatible public class SetTestSuiteBuilder<E> extends AbstractCollectionTestSuiteBuilder<SetTestSuiteBuilder<E>, E> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/EquivalenceTester.java
items.addAll(ImmutableList.copyOf(group)); return this; } /** Run tests on equivalence methods, throwing a failure on an invalid test */ @CanIgnoreReturnValue public EquivalenceTester<T> test() { for (int run = 0; run < REPETITIONS; run++) { testItems(); delegate.test(); } return this; } private void testItems() { for (T item : items) { /*
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 25 11:57:12 UTC 2023 - 4K bytes - Viewed (0)