Refactor and cleanup codes. No functional changes.

This commit is contained in:
KongQun Yang
2019-01-23 15:16:31 -08:00
parent 84f66d2320
commit 93265ab9d1
207 changed files with 14893 additions and 3332 deletions

17
testing/gunit.h Normal file
View File

@@ -0,0 +1,17 @@
////////////////////////////////////////////////////////////////////////////////
// Copyright 2017 Google LLC.
//
// This software is licensed under the terms defined in the Widevine Master
// License Agreement. For a copy of this agreement, please contact
// widevine-licensing@google.com.
////////////////////////////////////////////////////////////////////////////////
#ifndef TESTING_GUNIT_H_
#define TESTING_GUNIT_H_
#include <gtest/gtest.h>
#define EXPECT_OK(expression) EXPECT_EQ(error::OK, expression.error_code())
#define ASSERT_OK(expression) ASSERT_EQ(error::OK, expression.error_code())
#endif // TESTING_GUNIT_H_