// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // ---------------------------------------------------------------------- // // Unittest for the Interval class. // // Author: Will Neveitt ([email protected]) // ---------------------------------------------------------------------- #include "net/base/interval.h" #include "net/test/gtest_util.h" #include "testing/gtest/include/gtest/gtest.h" string; namespace net::test { namespace { class IntervalTest : public ::testing::Test { … }; TEST_F(IntervalTest, ConstructorsCopyAndClear) { … } TEST_F(IntervalTest, GettersSetters) { … } TEST_F(IntervalTest, CoveringOps) { … } TEST_F(IntervalTest, Length) { … } TEST_F(IntervalTest, IntervalOfTypeWithNoOperatorMinus) { … } } // unnamed namespace } // namespace net::test