54 references to Fail
Microsoft.ML.Core.Tests (19)
UnitTests\CoreBaseTestClass.cs (10)
262
Fail
($"Different types {type1} and {type2}");
283
Fail
("Left has more rows at position: {0}", curs1.Position);
285
Fail
("Right has more rows at position: {0}", curs2.Position);
312
Fail
("Different values in column {0} of row {1}", col, curs1.Position);
317
Fail
("Different values in ID of row {0}", curs1.Position);
351
Fail
("Different types");
368
Fail
("Left has more rows at position: {0}", curs1.Position);
370
Fail
("Right {0} has more rows at position: {1}", col, cursors[2].Position);
384
Fail
("Different values in column {0} of row {1}", col, curs1.Position);
390
Fail
("Different values in ID values for column {0} cursor of row {1}", col, curs1.Position);
UnitTests\TestResourceDownload.cs (9)
44
Fail
("Uri could not be created");
49
Fail
("Environment variable not set properly");
68
Fail
($"File '{Path.Combine(saveToDir, fileName)}' should have been deleted.");
74
Fail
("Uri could not be created");
78
Fail
("Environment variable not set properly");
97
Fail
($"File '{Path.Combine(saveToDir, fileName)}' should have been deleted.");
105
Fail
("Environment variable not set properly");
121
Fail
(String.Format("Expected zero length error string. Received error: {0}", results.ErrorMessage));
123
Fail
("Download did not complete successfully");
Microsoft.ML.Predictor.Tests (1)
CompareBaselines.cs (1)
334
Fail
("Parsing a double failed!");
Microsoft.ML.TestFramework (34)
BaseTestBaseline.cs (12)
227
Fail
(msg);
234
Fail
(msg, args);
454
Fail
("Baseline sequence had {0} items, but the suffix seems to have more", suffixList.Count);
471
Fail
("Baseline sequence mismatched {0} length suffix {1} item from the end",
525
Fail
("Output is shorter than the skip value of {0}!", skip);
537
Fail
("Couldn't match output file line to a line in the baseline!");
564
Fail
("Output and baseline different lengths: '{0}'", relPath);
566
Fail
("Output and baseline mismatch at line {1}, expected '{2}' but got '{3}' : '{0}'", relPath, count, line1, line2);
663
Fail
(message +
942
Fail
("Output file not found: {0}", outPath);
956
Fail
("Baseline file not found: {0}", basePath);
975
Fail
("The test threw an exception - {0}", e);
DataPipe\TestDataPipe.cs (4)
509
Fail
($"Values different values in VerifyMatch<{typeof(TSrc).Name}, {typeof(TDst).Name}>: converted from {typeof(TSrc).Name} to {typeof(TDst).Name}: {v}. Parsed from text: {dst}");
595
Fail
("Values don't match in columns F13, F23");
637
Fail
("Values don't match");
778
Fail
("Did not find expected columns");
DataPipe\TestDataPipeBase.cs (18)
334
Fail
("Parsing arguments failed!");
367
Fail
("Custom unparse failed on '{0}' starting with '{1}': '{2}' vs '{3}'", commandLineFactory.Name, str, exp1, exp2);
371
Fail
($"TestDataPipeBase was called with a non command line loader or transform '{factory}'");
418
Fail
("Couldn't parse the args '{0}' in '{1}'", argsLoader, pathData);
484
Fail
("Null returned from GetMetadataTypes");
489
Fail
("Duplicate metadata type: {0}", metaColumn.Name);
496
Fail
("SlotNames types don't match");
506
Fail
("KeyValues types don't match");
719
Fail
($"Different types {type1} and {type2}");
740
Fail
("Left has more rows at position: {0}", curs1.Position);
742
Fail
("Right has more rows at position: {0}", curs2.Position);
770
Fail
("Different values in column {0} of row {1}", col, curs1.Position);
775
Fail
("Different values in ID of row {0}", curs1.Position);
809
Fail
("Different types");
826
Fail
("Left has more rows at position: {0}", curs1.Position);
828
Fail
("Right {0} has more rows at position: {1}", col, cursors[2].Position);
842
Fail
("Different values in column {0} of row {1}", col, curs1.Position);
848
Fail
("Different values in ID values for column {0} cursor of row {1}", col, curs1.Position);