Ocean
Loading...
Searching...
No Matches
TestApple.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_TESTPLATFORM_TEST_APPLE_H
9#define META_OCEAN_TEST_TESTPLATFORM_TEST_APPLE_H
10
12
13#include "ocean/base/Frame.h"
14
16
17namespace Ocean
18{
19
20namespace Test
21{
22
23namespace TestPlatform
24{
25
26/**
27 * This class implements a test for the Apple library.
28 * @ingroup testplatform
29 */
30class OCEAN_TEST_PLATFORM_EXPORT TestApple
31{
32 public:
33
34 /**
35 * Invokes all tests that are defined.
36 * @param testDuration The number of seconds for each test
37 * @param selector The test selector to filter specific tests
38 * @return True, if succeeded
39 */
40 static bool test(const double testDuration, const TestSelector& selector);
41
42 /**
43 * Tests the toCGImage() function.
44 * @param testDuration The number of seconds for each test
45 * @return True, if succeeded
46 */
47 static bool testToCGImage(const double testDuration);
48};
49
50}
51
52}
53
54}
55
56#endif // META_OCEAN_TEST_TESTPLATFORM_TEST_APPLE_H
This class implements a test for the Apple library.
Definition TestApple.h:31
static bool testToCGImage(const double testDuration)
Tests the toCGImage() function.
static bool test(const double testDuration, const TestSelector &selector)
Invokes all tests that are defined.
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