blob: 9a60af3e068c2d465aade2154b5edbeb1223dc5e [file] [log] [blame]
// Copyright (c) 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef QUICHE_QUIC_PLATFORM_API_QUIC_TEST_H_
#define QUICHE_QUIC_PLATFORM_API_QUIC_TEST_H_
#include "quiche/quic/platform/api/quic_logging.h"
#include "quiche/common/platform/api/quiche_test.h"
using QuicFlagSaver = QuicheFlagSaver;
// Defines the base classes to be used in QUIC tests.
using QuicTest = QuicheTest;
template <class T>
using QuicTestWithParam = QuicheTestWithParam<T>;
// Class which needs to be instantiated in tests which use threads.
using ScopedEnvironmentForThreads = ScopedEnvironmentForThreadsImpl;
#define QUIC_TEST_DISABLED_IN_CHROME(name) QUICHE_TEST_DISABLED_IN_CHROME(name)
#define QUIC_SLOW_TEST(test) QUICHE_SLOW_TEST(test)
#endif // QUICHE_QUIC_PLATFORM_API_QUIC_TEST_H_