| 62 | } |
| 63 | |
| 64 | class EncoderOutputTest : public ::testing::WithParamInterface<EncodeFileParam>, |
| 65 | public EncoderInitTest , public BaseEncoderTest::Callback { |
| 66 | public: |
| 67 | virtual void SetUp() { |
| 68 | EncoderInitTest::SetUp(); |
| 69 | if (HasFatalFailure()) { |
| 70 | return; |
| 71 | } |
| 72 | SHA1Reset (&ctx_); |
| 73 | } |
| 74 | virtual void onEncodeFrame (const SFrameBSInfo& frameInfo) { |
| 75 | UpdateHashFromFrame (frameInfo, &ctx_); |
| 76 | } |
| 77 | |
| 78 | protected: |
| 79 | SHA1Context ctx_; |
| 80 | }; |
| 81 | |
| 82 | |
| 83 | TEST_P (EncoderOutputTest, CompareOutput) { |
nothing calls this directly
no outgoing calls
no test coverage detected