blob: 2f3286541a9f4bfab741c74456e236e7e9b8206e [file] [log] [blame]
QUICHE teama6ef0a62019-03-07 20:34:33 -05001// 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
dschinazi4620e9a2019-04-26 16:07:11 -07008#include "net/third_party/quiche/src/quic/platform/api/quic_logging.h"
QUICHE teama6ef0a62019-03-07 20:34:33 -05009#include "net/quic/platform/impl/quic_test_impl.h"
10
11using QuicFlagSaver = QuicFlagSaverImpl;
12
13// Defines the base classes to be used in QUIC tests.
14using QuicTest = QuicTestImpl;
15template <class T>
16using QuicTestWithParam = QuicTestWithParamImpl<T>;
17
18// Class which needs to be instantiated in tests which use threads.
19using ScopedEnvironmentForThreads = ScopedEnvironmentForThreadsImpl;
20
21#define QUIC_TEST_DISABLED_IN_CHROME(name) \
22 QUIC_TEST_DISABLED_IN_CHROME_IMPL(name)
23
24inline std::string QuicGetTestMemoryCachePath() {
25 return QuicGetTestMemoryCachePathImpl();
26}
27
28#endif // QUICHE_QUIC_PLATFORM_API_QUIC_TEST_H_