2014-02-14 23:21:05 +00:00
|
|
|
// Copyright 2014 Google Inc. All rights reserved.
|
|
|
|
//
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file or at
|
|
|
|
// https://developers.google.com/open-source/licenses/bsd
|
2013-10-11 21:44:55 +00:00
|
|
|
|
|
|
|
#ifndef MEDIA_BASE_STATUS_TEST_UTIL_H_
|
|
|
|
#define MEDIA_BASE_STATUS_TEST_UTIL_H_
|
|
|
|
|
2014-08-21 22:40:44 +00:00
|
|
|
#include <gtest/gtest.h>
|
|
|
|
|
2014-10-01 22:10:21 +00:00
|
|
|
#include "packager/media/base/status.h"
|
2013-10-11 21:44:55 +00:00
|
|
|
|
2014-09-19 20:41:13 +00:00
|
|
|
namespace edash_packager {
|
|
|
|
namespace media {
|
|
|
|
|
|
|
|
#define EXPECT_OK(val) EXPECT_EQ(Status::OK, (val))
|
|
|
|
#define ASSERT_OK(val) ASSERT_EQ(Status::OK, (val))
|
|
|
|
|
|
|
|
} // namespace media
|
|
|
|
} // namespace edash_packager
|
2013-10-11 21:44:55 +00:00
|
|
|
|
|
|
|
#endif // MEDIA_BASE_STATUS_TEST_UTIL_H_
|