refactoring: print 'serialized' instead of 'flatbuffers' 87/246287/3
authorAdrian Szyndela <adrian.s@samsung.com>
Tue, 27 Oct 2020 11:41:21 +0000 (12:41 +0100)
committerAdrian Szyndela <adrian.s@samsung.com>
Fri, 30 Oct 2020 11:17:48 +0000 (12:17 +0100)
Change-Id: I262f6345277133bb1c0ea16d270a38bfa066695b

src/dbuspolicy-verifier
src/stest_performance.cpp
src/test-libdbuspolicy1-access-deny-gdi.cpp
src/test-libdbuspolicy1-method-gdi.cpp
src/test-libdbuspolicy1-ownership-gdi.cpp
src/test-libdbuspolicy1-send_destination_prefix-deny-gdi.cpp
src/test-libdbuspolicy1-signal-gdi.cpp

index 4b06995..3a99f9c 100755 (executable)
@@ -24,7 +24,7 @@ do
 
        echo Verifying SHA1...
        sha1sum -c $FNAME.sha1
-       echo Verifying FlatBuffers structure...
+       echo Verifying serialized file structure...
        dbuspolicy-printer $1 -v
        shift
 done
index 30a8a56..8d96316 100644 (file)
@@ -224,7 +224,7 @@ void run_fb(const char *conf_file, bool verify, size_t count, bool worst) {
        StorageBackendSerialized storage;
        storage.initFromData(buff, size);
 
-       printf("FLATBUFFERS:\n");
+       printf("SERIALIZED:\n");
        if (!worst)
                run_x_times([&storage](){ send_prefix_test(storage, tests); }, count);
        else
index 7dd22da..515959a 100644 (file)
@@ -172,7 +172,7 @@ bool run_fb(const std::pair<TestBusSetup, TestBusSetup> access_test) {
 
        ldp_serialized::StorageBackendSerialized storage_sys, storage_ses;
 
-       printf("FLATBUFFERS:\n");
+       printf("SERIALIZED:\n");
 
        storage_sys.initFromData(buff_sys, size_sys);
        bool res = run_tests_for_bus(storage_sys, policy_checker_system(), system_bus_setup.second, i, passed);
index 800a4df..eb3b79d 100644 (file)
@@ -151,7 +151,7 @@ bool run_fb() {
 
        ldp_serialized::StorageBackendSerialized storage;
        storage.initFromData(buff, size);
-       printf("FLATBUFFERS:\n");
+       printf("SERIALIZED:\n");
        bool ret = method_test(storage);
        return ret;
 }
index ad8b8f6..9236221 100644 (file)
@@ -129,7 +129,7 @@ bool run_fb() {
 
        ldp_serialized::StorageBackendSerialized storage;
        storage.initFromData(buff, size);
-       printf("FLATBUFFERS:\n");
+       printf("SERIALIZED:\n");
        return ownership_test(storage);
 }
 
index ed6e15e..e42095f 100644 (file)
@@ -214,7 +214,7 @@ bool run_fb() {
        ldp_serialized::StorageBackendSerialized storage;
        storage.initFromData(buff, size);
 
-       printf("FLATBUFFERS:\n");
+       printf("SERIALIZED:\n");
        return send_prefix_test(storage);
 }
 
index 817406c..1627821 100644 (file)
@@ -109,7 +109,7 @@ bool run_fb() {
        ldp_serialized::StorageBackendSerialized storage;
        storage.initFromData(buff, size);
 
-       printf("FLATBUFFERS:\n");
+       printf("SERIALIZED:\n");
        return signal_test(storage);
 }