assertion api changed slightly

This commit is contained in:
Brian Sweeney 2018-08-23 10:47:12 -06:00
parent 5a2b9c924d
commit e70fc3210c
3 changed files with 3 additions and 3 deletions

View File

@ -231,7 +231,7 @@ public class IngestedWithHashAndFileTypeInterCaseTests extends NbTestCase {
} catch (TskCoreException | NoCurrentCaseException | SQLException | EamDbException ex) {
Exceptions.printStackTrace(ex);
Assert.fail(ex);
Assert.fail(ex.getMessage());
}
}
}

View File

@ -384,7 +384,7 @@ class InterCaseTestUtils {
return tally == instanceCount;
} catch (EamDbException ex) {
Exceptions.printStackTrace(ex);
Assert.fail(ex);
Assert.fail(ex.getMessage());
return false;
}
}

View File

@ -218,7 +218,7 @@ class IntraCaseTestUtils {
return instanceIdToDataSource;
} catch (EamDbException ex) {
Exceptions.printStackTrace(ex);
Assert.fail(ex);
Assert.fail(ex.getMessage());
return instanceIdToDataSource;
}
}