[iot][deprecatedapi][fix add addDraftMessage error callback] 76/302676/1
authorchen <chen89.chen@samsung.com>
Tue, 12 Dec 2023 03:47:42 +0000 (11:47 +0800)
committerchen <chen89.chen@samsung.com>
Tue, 12 Dec 2023 03:47:48 +0000 (11:47 +0800)
Change-Id: I8e0bfd9172f7bd2aea43cce1bd3ba73efd46041a
Signed-off-by: chen <chen89.chen@samsung.com>
iot/tct-deprecatedapi-tizen-tests/inst.wgt.py
iot/tct-deprecatedapi-tizen-tests/suite.json
mobile/tct-deprecatedapi-tizen-tests/inst.wgt.py
mobile/tct-deprecatedapi-tizen-tests/suite.json

index 8e0d9ef1ac5649b442f894d42aea36e60df8bd95..b69e1584e64816ac53a3e6ef4b4f08dedcaf3e3e 100755 (executable)
@@ -168,6 +168,12 @@ def instPKGs():
             if not doRemoteCopy(item, "%s/%s" % (PKG_SRC_DIR, item_name)):
             #if not doRemoteCopy(item, PKG_SRC_DIR):
                 action_status = False
+    for item in os.listdir(SCRIPT_DIR):
+        print(SCRIPT_DIR)
+        print(item)
+        if item.find("webapi-tizen-messaging-test_") != -1:
+            if not doRemoteCopy("%s/%s" % (SCRIPT_DIR, item), "%s/%s/%s" % (SRC_DIR, PKG_NAME, item)):
+                action_status = False
 
     return action_status
 
index 07bc359172e736fe071197a456fdc3d7dc2305d5..b97e0f7dd8b77f7c0b7f8487677a99eb5e9308b1 100755 (executable)
@@ -1,43 +1,45 @@
-{
-    "pkg-blacklist": [
-        "config.xml",
-        "pack.py",
-        "testcase.xsl",
-        "testresult.xsl",
-        "tests.css",
-        "icon.png",
-        "manifest.json",
-        "suite.json",
-        "inst.*"
-    ],
-    "pkg-list": {
-        "wgt": {
-            "blacklist": [
-                "*"
-            ],
-            "copylist": {
-                "inst.wgt.py": "inst.py",
-                "shellmanager.py": "shellmanager.py",
-                "Queue.py": "Queue.py",
-                "askpolicy.sh": "askpolicy.sh",
-                "tests.xml": "tests.xml",
-                "media": "media",
-                "MediaControllerHelper.wgt": "MediaControllerHelper.wgt"
-            },
-            "pkg-app": {
-                "sign-flag": "true"
-            },
-            "subapp-list": {
-                "tct-bt-helper": {
-                    "app-name": "tct-bt-helper",
-                    "blacklist": [
-                        "manifest.json"
-                    ],
-                    "install-path": "apps",
-                    "sign-flag": "true"
-                }
-            }
-        }
-    },
-    "pkg-name": "tct-deprecatedapi-tizen-tests"
-}
+{\r
+    "pkg-blacklist": [\r
+        "config.xml",\r
+        "pack.py",\r
+        "testcase.xsl",\r
+        "testresult.xsl",\r
+        "tests.css",\r
+        "icon.png",\r
+        "manifest.json",\r
+        "suite.json",\r
+        "inst.*"\r
+    ],\r
+    "pkg-list": {\r
+        "wgt": {\r
+            "blacklist": [\r
+                "*"\r
+            ],\r
+            "copylist": {\r
+                "inst.wgt.py": "inst.py",\r
+                "shellmanager.py": "shellmanager.py",\r
+                "Queue.py": "Queue.py",\r
+                "askpolicy.sh": "askpolicy.sh",\r
+                "tests.xml": "tests.xml",\r
+                "media": "media",\r
+                "MediaControllerHelper.wgt": "MediaControllerHelper.wgt",\r
+                "webapi-tizen-messaging-test_image.jpg": "webapi-tizen-messaging-test_image.jpg",\r
+                "webapi-tizen-messaging-test_noise.mp3": "webapi-tizen-messaging-test_noise.mp3"\r
+            },\r
+            "pkg-app": {\r
+                "sign-flag": "true"\r
+            },\r
+            "subapp-list": {\r
+                "tct-bt-helper": {\r
+                    "app-name": "tct-bt-helper",\r
+                    "blacklist": [\r
+                        "manifest.json"\r
+                    ],\r
+                    "install-path": "apps",\r
+                    "sign-flag": "true"\r
+                }\r
+            }\r
+        }\r
+    },\r
+    "pkg-name": "tct-deprecatedapi-tizen-tests"\r
+}\r
index 8e0d9ef1ac5649b442f894d42aea36e60df8bd95..ade5c7ec373cb736ea94d6c734a2ab5f733a91c8 100755 (executable)
@@ -168,6 +168,10 @@ def instPKGs():
             if not doRemoteCopy(item, "%s/%s" % (PKG_SRC_DIR, item_name)):
             #if not doRemoteCopy(item, PKG_SRC_DIR):
                 action_status = False
+    for item in os.listdir(SCRIPT_DIR):
+        if item.find("webapi-tizen-messaging-test_") != -1:
+            if not doRemoteCopy("%s/%s" % (SCRIPT_DIR, item), "%s/%s/%s" % (SRC_DIR, PKG_NAME, item)):
+                action_status = False
 
     return action_status
 
index 07bc359172e736fe071197a456fdc3d7dc2305d5..b97e0f7dd8b77f7c0b7f8487677a99eb5e9308b1 100755 (executable)
@@ -1,43 +1,45 @@
-{
-    "pkg-blacklist": [
-        "config.xml",
-        "pack.py",
-        "testcase.xsl",
-        "testresult.xsl",
-        "tests.css",
-        "icon.png",
-        "manifest.json",
-        "suite.json",
-        "inst.*"
-    ],
-    "pkg-list": {
-        "wgt": {
-            "blacklist": [
-                "*"
-            ],
-            "copylist": {
-                "inst.wgt.py": "inst.py",
-                "shellmanager.py": "shellmanager.py",
-                "Queue.py": "Queue.py",
-                "askpolicy.sh": "askpolicy.sh",
-                "tests.xml": "tests.xml",
-                "media": "media",
-                "MediaControllerHelper.wgt": "MediaControllerHelper.wgt"
-            },
-            "pkg-app": {
-                "sign-flag": "true"
-            },
-            "subapp-list": {
-                "tct-bt-helper": {
-                    "app-name": "tct-bt-helper",
-                    "blacklist": [
-                        "manifest.json"
-                    ],
-                    "install-path": "apps",
-                    "sign-flag": "true"
-                }
-            }
-        }
-    },
-    "pkg-name": "tct-deprecatedapi-tizen-tests"
-}
+{\r
+    "pkg-blacklist": [\r
+        "config.xml",\r
+        "pack.py",\r
+        "testcase.xsl",\r
+        "testresult.xsl",\r
+        "tests.css",\r
+        "icon.png",\r
+        "manifest.json",\r
+        "suite.json",\r
+        "inst.*"\r
+    ],\r
+    "pkg-list": {\r
+        "wgt": {\r
+            "blacklist": [\r
+                "*"\r
+            ],\r
+            "copylist": {\r
+                "inst.wgt.py": "inst.py",\r
+                "shellmanager.py": "shellmanager.py",\r
+                "Queue.py": "Queue.py",\r
+                "askpolicy.sh": "askpolicy.sh",\r
+                "tests.xml": "tests.xml",\r
+                "media": "media",\r
+                "MediaControllerHelper.wgt": "MediaControllerHelper.wgt",\r
+                "webapi-tizen-messaging-test_image.jpg": "webapi-tizen-messaging-test_image.jpg",\r
+                "webapi-tizen-messaging-test_noise.mp3": "webapi-tizen-messaging-test_noise.mp3"\r
+            },\r
+            "pkg-app": {\r
+                "sign-flag": "true"\r
+            },\r
+            "subapp-list": {\r
+                "tct-bt-helper": {\r
+                    "app-name": "tct-bt-helper",\r
+                    "blacklist": [\r
+                        "manifest.json"\r
+                    ],\r
+                    "install-path": "apps",\r
+                    "sign-flag": "true"\r
+                }\r
+            }\r
+        }\r
+    },\r
+    "pkg-name": "tct-deprecatedapi-tizen-tests"\r
+}\r