summaryrefslogtreecommitdiffstats
path: root/test/types_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/types_test.cpp')
-rw-r--r--test/types_test.cpp38
1 files changed, 38 insertions, 0 deletions
diff --git a/test/types_test.cpp b/test/types_test.cpp
new file mode 100644
index 0000000..04e13d5
--- /dev/null
+++ b/test/types_test.cpp
@@ -0,0 +1,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