Ocean
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 
15 namespace Ocean
16 {
17 
18 namespace Test
19 {
20 
21 namespace TestPlatform
22 {
23 
24 /**
25  * This class implements a test for the Apple library.
26  * @ingroup testplatform
27  */
28 class OCEAN_TEST_PLATFORM_EXPORT TestApple
29 {
30  public:
31 
32  /**
33  * Invokes all tests that are defined.
34  * @param testDuration The number of seconds for each test
35  * @return True, if succeeded
36  */
37  static bool test(const double testDuration);
38 
39  /**
40  * Tests the toCGImage() function.
41  * @param testDuration The number of seconds for each test
42  * @return True, if succeeded
43  */
44  static bool testToCGImage(const double testDuration);
45 };
46 
47 }
48 
49 }
50 
51 }
52 
53 #endif // META_OCEAN_TEST_TESTPLATFORM_TEST_APPLE_H
This class implements a test for the Apple library.
Definition: TestApple.h:29
static bool testToCGImage(const double testDuration)
Tests the toCGImage() function.
static bool test(const double testDuration)
Invokes all tests that are defined.
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15