optimal & fix file cmake
This commit is contained in:
@@ -233,7 +233,8 @@ TEST(SensorGateway, LayerNamedAfterATopicDoesNotReceiveTheSample)
|
||||
|
||||
bench.gateway().pushLaserScan("/b_scan", makeScan());
|
||||
|
||||
EXPECT_EQ(trap->count(), 0U) << "layer trùng TÊN topic nhưng sai KIỂU vẫn nhận được dữ liệu";
|
||||
EXPECT_EQ(trap->count(), 0U) << "a layer matching the topic NAME but with the wrong TYPE still "
|
||||
"received data";
|
||||
EXPECT_EQ(voxel->count(), 1U);
|
||||
}
|
||||
|
||||
@@ -310,7 +311,8 @@ TEST(SensorGateway, ExceptionFromOneLayerDoesNotStarveTheNextOnes)
|
||||
bench.gateway().pushLaserScan("/b_scan", makeScan());
|
||||
|
||||
EXPECT_EQ(exploding->count(), 0U);
|
||||
EXPECT_EQ(healthy->count(), 1U) << "layer lành bị bỏ qua vì layer trước nó ném exception";
|
||||
EXPECT_EQ(healthy->count(), 1U) << "a healthy layer was skipped because the layer before it "
|
||||
"threw an exception";
|
||||
EXPECT_EQ(bench.gateway().stats().layer_exceptions, 1U);
|
||||
EXPECT_EQ(bench.gateway().stats().delivered, 1U);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user