Export media_cas_packager_sdk
This commit is contained in:
19
testing/gunit.h
Normal file
19
testing/gunit.h
Normal file
@@ -0,0 +1,19 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// 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(util::error::OK, expression.error_code())
|
||||
#define ASSERT_OK(expression) \
|
||||
ASSERT_EQ(util::error::OK, expression.error_code())
|
||||
|
||||
#endif // TESTING_GUNIT_H_
|
||||
Reference in New Issue
Block a user