summaryrefslogtreecommitdiffstats
path: root/test/types_test.cpp
blob: 04e13d5b5d68ff5ea804964156616aebf0bd3813 (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
32
33
34
35
36
37
38
#include "../types.hpp"

/**
 * No runtime tests - just make sure we have the right headers included.
 */
using namespace phosphor::inventory::manager;

struct Empty
{
};

void functionUsingInterfaceVariantType(InterfaceVariantType&)
{
}
void functionUsingInterfaceType(InterfaceType<Empty>&)
{
}
void functionUsingObjectType(ObjectType<Empty>&)
{
}
void functionUsingInterface(Interface&)
{
}
void functionUsingObject(Object&)
{
}
void functionUsingAction(Action&)
{
}
void functionUsingFilter(Filter&)
{
}
void functionUsingPathCondition(PathCondition&)
{
}
void functionUsingGetProperty(GetProperty<Empty>&)
{
}
OpenPOWER on IntegriCloud