blob: 3674fec58677f21f858ae09de22d346b24d9f4ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// Copyright 2014 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 MOJO_PUBLIC_TESTS_TEST_SUPPORT_PRIVATE_H_
#define MOJO_PUBLIC_TESTS_TEST_SUPPORT_PRIVATE_H_
#include "mojo/public/c/test_support/test_support.h"
namespace mojo {
namespace test {
// Implementors of the test support APIs can use this interface to install their
// implementation into the mojo_test_support dynamic library.
class MOJO_TEST_SUPPORT_EXPORT TestSupport {
public:
virtual ~TestSupport();
static void Init(TestSupport* test_support);
static TestSupport* Get();
static void Reset();
virtual void LogPerfResult(const char* test_name,
double value,
const char* units) = 0;
};
} // namespace test
} // namespace mojo
#endif // MOJO_PUBLIC_TESTS_TEST_SUPPORT_PRIVATE_H_
|