Fail early in oemcrypto unit tests
Merge from widevine of http://go/wvgerrit/16293 This CL adds ASSERT_NO_FATAL_FAILURE around many subroutines in the oemcrypto unit tests. This should help debug tradefed tests because it will cause a test to stop after the first error. This is important for tests that are failing on OpenSession and then spewing garbage into the log as every other ASSERT fails after that. I also replaced the home-grown EXPECT_ALMOST with the standard EXPECT_NEAR. I also passed the file through clang-format to corect whitespace problems. Change-Id: I2c2c1c1dbeac234291dafc9fa8c23da8d270eb4e
This commit is contained in: