- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 204 for testname1 (0.33 sec)
-
tests/query_test.go
func TestQueryScanToArray(t *testing.T) { err := DB.Create(&User{Name: "testname1", Age: 10}).Error if err != nil { t.Fatal(err) } users := [2]*User{{Name: "1"}, {Name: "2"}} err = DB.Model(&User{}).Where("name = ?", "testname1").Find(&users).Error if err != nil { t.Fatal(err) } if users[0] == nil || users[0].Name != "testname1" { t.Error("users[0] not covered") } if users[1] != nil {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 49.8K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/TestClassExecutionResult.java
*/ default TestClassExecutionResult assertTestOutcomes(TestOutcome status, String... testNames) { if (status == TestOutcome.SKIPPED) { return assertTestsSkipped(testNames); } for (String testName : testNames) { switch (status) { case PASSED: assertTestPassed(testName); break; case FAILED:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.1K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/DefaultTestExecutionResult.groovy
static String removeParentheses(String testName) { testName.size() > 2 && testName.endsWith('()') ? testName[0..-3] : testName } static String[] removeAllParentheses(String... testNames) { testNames.collect { removeParentheses(it) } as String[] } static String[][] removeAllParentheses(String[]... testNames) { testNames.collect { [removeParentheses(it[0]), it[1]] } as String[][]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/TestNGExecutionResult.groovy
this } private def findConfigMethod(String testName) { def testMethods = findConfigMethods() if (!testMethods.containsKey(testName)) { throw new AssertionError("Could not find configuration method ${testClass}.${testName}. Found ${testMethods.keySet()}") } testMethods[testName] } private def findConfigMethods() { Map testMethods = [:]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9.6K bytes - Viewed (0) -
src/internal/trace/testdata/mktests.go
} } return &context{ testNames: make(map[string]struct{}), filter: filter, }, nil } func (ctx *context) register(testName string) (skip bool, err error) { if _, ok := ctx.testNames[testName]; ok { return true, fmt.Errorf("duplicate test %s found", testName) } if ctx.filter != nil { return !ctx.filter.MatchString(testName), nil } return false, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3.7K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/HtmlTestExecutionResult.groovy
def testDisplayName = it.textNodes().first().wholeText.trim() def testName = hasMethodNameColumn() ? it.nextElementSibling().text() : testDisplayName def failureMessage = getFailureMessages(testName) def testCase = testCase(testName, testDisplayName, failureMessage) testsExecuted << testCase target << testCase }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/publish/AbstractPublishArtifactTest.groovy
assert testName == artifact.name assert testType == artifact.type assert testExt == artifact.extension assert testFile == artifact.file if (shouldHaveClassifier) { assert testClassifier == artifact.classifier } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 17 11:02:13 UTC 2016 - 1.9K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/BaseCrossBuildResultsStore.java
String testName = testExecutions.getString(2); String testProject = testExecutions.getString(3); if (testProject != null && testClass != null) { testNames.add(new PerformanceExperiment(testProject, new PerformanceScenario(testClass, testName))); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 12.4K bytes - Viewed (0) -
hack/verify-e2e-test-ownership.sh
level: \$p.level, reason: \$p.reason, passing: map(select(.policy.fail | not)) | length, failing: map(select(.policy.fail)) | length, testnames: map(select(.policy.fail) | .testname), } }) # add a meta policy based on whether any policy failed + { all_policies: \$results | { level: "WARN", reason: "should pass all policies",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 20 06:46:18 UTC 2022 - 7.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h
#define GTEST_TEST_CLASS_NAME_(test_case_name, test_name) \ test_case_name##_##test_name##_Test // Helper macro for defining tests. #define GTEST_TEST_(test_case_name, test_name, parent_class, parent_id)\ class GTEST_TEST_CLASS_NAME_(test_case_name, test_name) : public parent_class {\ public:\ GTEST_TEST_CLASS_NAME_(test_case_name, test_name)() {}\ private:\ virtual void TestBody();\
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 43.1K bytes - Viewed (0)