Added test description to make test better described 97/72597/3
authorKazimierz Krosman <k.krosman@samsung.com>
Wed, 1 Jun 2016 17:06:14 +0000 (19:06 +0200)
committerKazimierz Krosman <k.krosman@samsung.com>
Tue, 21 Jun 2016 08:42:14 +0000 (10:42 +0200)
Change-Id: I90909b035da16dce39ac28278c1561ecf0396335

src/test-libdbuspolicy1-method.cpp
src/test-libdbuspolicy1-ownership.cpp
src/test-libdbuspolicy1-signal.cpp

index d1116da..58424d1 100644 (file)
@@ -23,6 +23,11 @@ struct MethodTest {
        MessageDirection recv_send;
 };
 
+/**
+ * This test set tests ability to parse xml db
+ * and check method call allowance in many use cases
+ */
+
 struct MethodTest method_tests[]={
        (struct MethodTest){true,    0,    0, "test", "org.test.test2",  NULL, "org.test.Itest1", "DoIt", MessageType::METHOD_CALL, MessageDirection::SEND},
        (struct MethodTest){true,    0,    0, "test", "org.test.test3",  NULL, "org.test.Itest1", "DoIt", MessageType::METHOD_CALL, MessageDirection::RECEIVE},
index 30c3fa7..bf97fc5 100644 (file)
@@ -14,7 +14,11 @@ struct OwnershipTest {
        const char* label;
        const char* service;
 };
-
+/**
+ * This test set tests ability to parse xml db
+ * and check ownership privilege in many use cases
+ * including prefix feature
+ */
 struct OwnershipTest ownership_tests[]={
        (struct OwnershipTest){true,  0,    0, "test", "org.test.test1"},
        (struct OwnershipTest){true,  5009, 0, "test", "org.test.test1"},
index 19cc2e9..af38490 100644 (file)
@@ -15,7 +15,10 @@ struct SignalTest {
        const char* dest;
        const char* interface;
 };
-
+/**
+ * This test set tests ability to parse xml db
+ * and check signal call allowance in many use cases
+ */
 struct SignalTest signal_tests[]={
        (struct SignalTest){true,  0,    0, "test", "bli.bla.blubb test.test1 test.tes3", "/an/object/path"},
        (struct SignalTest){false,  5010, 0, "test", "bli.bla.blubb", "/an/object/path"},