mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-19 11:07:43 +00:00
assertion api changed slightly
This commit is contained in:
parent
5a2b9c924d
commit
e70fc3210c
@ -231,7 +231,7 @@ public class IngestedWithHashAndFileTypeInterCaseTests extends NbTestCase {
|
|||||||
|
|
||||||
} catch (TskCoreException | NoCurrentCaseException | SQLException | EamDbException ex) {
|
} catch (TskCoreException | NoCurrentCaseException | SQLException | EamDbException ex) {
|
||||||
Exceptions.printStackTrace(ex);
|
Exceptions.printStackTrace(ex);
|
||||||
Assert.fail(ex);
|
Assert.fail(ex.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -384,7 +384,7 @@ class InterCaseTestUtils {
|
|||||||
return tally == instanceCount;
|
return tally == instanceCount;
|
||||||
} catch (EamDbException ex) {
|
} catch (EamDbException ex) {
|
||||||
Exceptions.printStackTrace(ex);
|
Exceptions.printStackTrace(ex);
|
||||||
Assert.fail(ex);
|
Assert.fail(ex.getMessage());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -218,7 +218,7 @@ class IntraCaseTestUtils {
|
|||||||
return instanceIdToDataSource;
|
return instanceIdToDataSource;
|
||||||
} catch (EamDbException ex) {
|
} catch (EamDbException ex) {
|
||||||
Exceptions.printStackTrace(ex);
|
Exceptions.printStackTrace(ex);
|
||||||
Assert.fail(ex);
|
Assert.fail(ex.getMessage());
|
||||||
return instanceIdToDataSource;
|
return instanceIdToDataSource;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user