Files
media_cas_proxy_sdk_source/testing/gunit.h
Fang Yu 79f14e6e0b Fix media_cas_proxy_sdk build issue.
Add example binary for testing building the SDK after 'git clone' from our repo.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=227583629
2019-01-02 14:51:34 -08:00

18 lines
631 B
C

////////////////////////////////////////////////////////////////////////////////
// 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_