Ocean
Loading...
Searching...
No Matches
TestSTL.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7
8#ifndef META_OCEAN_TEST_TESTBASE_TEST_STL_H
9#define META_OCEAN_TEST_TESTBASE_TEST_STL_H
10
13
14namespace Ocean
15{
16
17namespace Test
18{
19
20namespace TestBase
21{
22
23/**
24 * This class implements tests for c++ functions.
25 * @ingroup testbase
26 */
27class OCEAN_TEST_BASE_EXPORT TestSTL
28{
29 public:
30
31 /**
32 * Tests all c++ functions.
33 * @param selector Optional test selector to control which tests to run
34 * @return True, if succeeded
35 */
36 static bool testSTL(const TestSelector& selector = TestSelector());
37
38 private:
39
40 /**
41 * Event function for at std::atexit events.
42 */
43 static void onAtExit();
44};
45
46}
47
48}
49
50}
51
52#endif // META_OCEAN_TEST_TESTBASE_TEST_STL_H
This class implements tests for c++ functions.
Definition TestSTL.h:28
static void onAtExit()
Event function for at std::atexit events.
static bool testSTL(const TestSelector &selector=TestSelector())
Tests all c++ functions.
This class implements a test selector that parses test function strings and determines which tests sh...
Definition TestSelector.h:51
The namespace covering the entire Ocean framework.
Definition Accessor.h:15