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
11
#include "
ocean/test/testplatform/TestPlatform.h
"
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
Frame.h
TestPlatform.h
Ocean::Test::TestPlatform::TestApple
This class implements a test for the Apple library.
Definition
TestApple.h:29
Ocean::Test::TestPlatform::TestApple::testToCGImage
static bool testToCGImage(const double testDuration)
Tests the toCGImage() function.
Ocean::Test::TestPlatform::TestApple::test
static bool test(const double testDuration)
Invokes all tests that are defined.
Ocean
The namespace covering the entire Ocean framework.
Definition
Accessor.h:15
impl
ocean
test
testplatform
TestApple.h
Generated on Sun Mar 9 2025 06:03:32 for Ocean by
1.9.8