// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "platform/base/error.h" #include "gtest/gtest.h" namespace { class Dummy { … }; } // namespace namespace openscreen { TEST(ErrorTest, TestDefaultError) { … } TEST(ErrorTest, TestNonDefaultError) { … } TEST(ErrorOrTest, ErrorToString) { … } TEST(ErrorOrTest, ErrorCodeToString) { … } TEST(ErrorOrTest, ErrorOrWithError) { … } TEST(ErrorOrTest, ErrorOrWithPrimitiveValue) { … } TEST(ErrorOrTest, ErrorOrWithValue) { … } TEST(ErrorOrTest, ComparisonTests) { … } } // namespace openscreen