Shaka Packager SDK
Loading...
Searching...
No Matches
status_test_util.h
1// Copyright 2014 Google LLC. All rights reserved.
2//
3// Use of this source code is governed by a BSD-style
4// license that can be found in the LICENSE file or at
5// https://developers.google.com/open-source/licenses/bsd
6
7#ifndef PACKAGER_STATUS_TEST_UTIL_H_
8#define PACKAGER_STATUS_TEST_UTIL_H_
9
10#include <gtest/gtest.h>
11
12#include <packager/status.h>
13
14#define EXPECT_OK(val) EXPECT_EQ(shaka::Status::OK, (val))
15#define ASSERT_OK(val) ASSERT_EQ(shaka::Status::OK, (val))
16#define EXPECT_NOT_OK(val) EXPECT_NE(shaka::Status::OK, (val))
17#define ASSERT_NOT_OK(val) ASSERT_NE(shaka::Status::OK, (val))
18
19#endif // PACKAGER_STATUS_TEST_UTIL_H_