You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We now distinguish cases where SSV rows are not in scope at all from those where they don't identify a known type or method, or where input or output specs could not be parsed.
print("Expected exactly one getTestCase result with one column (got: %s)"%json.dumps(testCaseRows), file=sys.stderr)
152
149
ifany(len(row) !=1forrowinsupportModelRows):
153
150
print("Expected exactly one column in getASupportMethodModel relation (got: %s)"%json.dumps(supportModelRows), file=sys.stderr)
154
-
ifany(len(row) !=1forrowinfailedRows):
155
-
print("Expected exactly one column in getAFailedRow relation (got: %s)"%json.dumps(failedRows), file=sys.stderr)
156
-
iflen(failedRows) !=0:
157
-
print("The following rows failed to generate any test case. Check package, class and method name spelling, and argument and result specifications:\n%s"%"\n".join(r[0] forrinfailedRows), file=sys.stderr)
151
+
ifany(len(row) !=2forrowinparseFailureRows):
152
+
print("Expected exactly two columns in parseFailureRows relation (got: %s)"%json.dumps(parseFailureRows), file=sys.stderr)
153
+
154
+
iflen(missingSummaryModelCsvRows) !=0:
155
+
print("Tests for some SSV rows were requested that were not in scope (SummaryModelCsv.row does not hold):\n"+"\n".join(r[0] forrinmissingSummaryModelCsvRows))
156
+
sys.exit(1)
157
+
iflen(parseFailureRows) !=0:
158
+
print("The following rows failed to generate any test case. Check package, class and method name spelling, and argument and result specifications:\n%s"%"\n".join(r[0] +": "+r[1] forrinparseFailureRows), file=sys.stderr)
0 commit comments