todo: warnings would have been nice!
This commit is contained in:
parent
1ffb4dfd9b
commit
a2930e60b8
|
@ -48,6 +48,7 @@ TEST(etb, integrated) {
|
||||||
}
|
}
|
||||||
|
|
||||||
extern int timeNowUs;
|
extern int timeNowUs;
|
||||||
|
extern WarningCodeState unitTestWarningCodeState;
|
||||||
|
|
||||||
TEST(etb, intermittentTps) {
|
TEST(etb, intermittentTps) {
|
||||||
EngineTestHelper eth(TEST_ENGINE); // we have a destructor so cannot move EngineTestHelper into utility method
|
EngineTestHelper eth(TEST_ENGINE); // we have a destructor so cannot move EngineTestHelper into utility method
|
||||||
|
@ -91,6 +92,8 @@ TEST(etb, intermittentTps) {
|
||||||
etb->update();
|
etb->update();
|
||||||
|
|
||||||
EXPECT_NE(0, etb->etbErrorCode);
|
EXPECT_NE(0, etb->etbErrorCode);
|
||||||
|
// todo: warnings would have been nice!
|
||||||
|
EXPECT_EQ( 0, unitTestWarningCodeState.recentWarnings.getCount()) << "intermittentTps";
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(etb, intermittentPps) {
|
TEST(etb, intermittentPps) {
|
||||||
|
|
Loading…
Reference in New Issue