xref: /aosp_15_r20/external/cronet/net/third_party/quiche/src/quiche/quic/platform/api/quic_test.h (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
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 
8 #include "quiche/quic/platform/api/quic_logging.h"
9 #include "quiche/common/platform/api/quiche_test.h"
10 
11 namespace quic::test {
12 
13 using QuicFlagSaver = quiche::test::QuicheFlagSaver;
14 
15 // Defines the base classes to be used in QUIC tests.
16 using QuicTest = quiche::test::QuicheTest;
17 template <class T>
18 using QuicTestWithParam = quiche::test::QuicheTestWithParam<T>;
19 
20 }  // namespace quic::test
21 
22 #define QUIC_TEST_DISABLED_IN_CHROME(name) QUICHE_TEST_DISABLED_IN_CHROME(name)
23 
24 #define QUIC_SLOW_TEST(test) QUICHE_SLOW_TEST(test)
25 
26 #endif  // QUICHE_QUIC_PLATFORM_API_QUIC_TEST_H_
27