QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 1 | // Copyright (c) 2017 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef QUICHE_QUIC_PLATFORM_API_QUIC_TEST_H_ |
| 6 | #define QUICHE_QUIC_PLATFORM_API_QUIC_TEST_H_ |
| 7 | |
dschinazi | 4620e9a | 2019-04-26 16:07:11 -0700 | [diff] [blame] | 8 | #include "net/third_party/quiche/src/quic/platform/api/quic_logging.h" |
QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 9 | #include "net/quic/platform/impl/quic_test_impl.h" |
| 10 | |
| 11 | using QuicFlagSaver = QuicFlagSaverImpl; |
| 12 | |
| 13 | // Defines the base classes to be used in QUIC tests. |
| 14 | using QuicTest = QuicTestImpl; |
| 15 | template <class T> |
| 16 | using QuicTestWithParam = QuicTestWithParamImpl<T>; |
| 17 | |
| 18 | // Class which needs to be instantiated in tests which use threads. |
| 19 | using ScopedEnvironmentForThreads = ScopedEnvironmentForThreadsImpl; |
| 20 | |
| 21 | #define QUIC_TEST_DISABLED_IN_CHROME(name) \ |
| 22 | QUIC_TEST_DISABLED_IN_CHROME_IMPL(name) |
| 23 | |
| 24 | inline std::string QuicGetTestMemoryCachePath() { |
| 25 | return QuicGetTestMemoryCachePathImpl(); |
| 26 | } |
| 27 | |
| 28 | #endif // QUICHE_QUIC_PLATFORM_API_QUIC_TEST_H_ |