2022-08-26 15:44:59 +00:00
|
|
|
// Copyright 2014 Google LLC. All rights reserved.
|
2017-06-29 22:23:53 +00:00
|
|
|
//
|
|
|
|
// 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
|
|
|
|
|
|
|
|
#ifndef PACKAGER_STATUS_TEST_UTIL_H_
|
|
|
|
#define PACKAGER_STATUS_TEST_UTIL_H_
|
|
|
|
|
|
|
|
#include <gtest/gtest.h>
|
|
|
|
|
2022-10-25 02:09:10 +00:00
|
|
|
#include "packager/status/status.h"
|
2017-06-29 22:23:53 +00:00
|
|
|
|
|
|
|
#define EXPECT_OK(val) EXPECT_EQ(shaka::Status::OK, (val))
|
|
|
|
#define ASSERT_OK(val) ASSERT_EQ(shaka::Status::OK, (val))
|
2017-09-12 19:22:39 +00:00
|
|
|
#define EXPECT_NOT_OK(val) EXPECT_NE(shaka::Status::OK, (val))
|
|
|
|
#define ASSERT_NOT_OK(val) ASSERT_NE(shaka::Status::OK, (val))
|
2017-06-29 22:23:53 +00:00
|
|
|
|
|
|
|
#endif // PACKAGER_STATUS_TEST_UTIL_H_
|