diff --git a/notification/BUILD.gn b/notification/BUILD.gn index f143b3b2d4db38f3b67a41d4d098a99a196d2e8a..135947109780d641ceee26eebddac7cff93779ad 100644 --- a/notification/BUILD.gn +++ b/notification/BUILD.gn @@ -16,9 +16,9 @@ import("//build/ohos_var.gni") group("notification") { testonly = true if (is_standard_system) { - deps = [ + deps = [ + "ans_standard:ans_standard", "ces_standard:ces_standard", - "ans_standard:ans_standard" - ] + ] } } diff --git a/notification/ans_standard/BUILD.gn b/notification/ans_standard/BUILD.gn index c9b2ee869f327822931d6204948befcaa4d9f559..aa0b217731a694eaa33ad3afc8f7343f68f7132a 100644 --- a/notification/ans_standard/BUILD.gn +++ b/notification/ans_standard/BUILD.gn @@ -16,9 +16,9 @@ import("//build/ohos_var.gni") group("ans_standard") { testonly = true if (is_standard_system) { - deps = [ + deps = [ "cancel_test:cancel_test", - "publish_test:publish_test" - ] + "publish_test:publish_test", + ] } } diff --git a/notification/ans_standard/cancel_test/BUILD.gn b/notification/ans_standard/cancel_test/BUILD.gn index 19ec5a62a0b0020e4f37a7aad9950e3c5d2b31ea..b5dfbf68140b74a1f402d47a3ec85f1670c4882e 100644 --- a/notification/ans_standard/cancel_test/BUILD.gn +++ b/notification/ans_standard/cancel_test/BUILD.gn @@ -10,21 +10,11 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -import("//build/config/ohos/rules.gni") -import("//test/xts/tools/build/suite.gni") - -ohos_js_hap_suite("AnsNotificationTestCancel") { - test_hap_name = "AnsNotificationTestCancel" - hap_source_path = "hap/ans_signed.hap" -} - import("//build/ohos_var.gni") group("cancel_test") { testonly = true if (is_standard_system) { - deps = [ - "MyApplicationCancelAll:ans_signed" - ] + deps = [ "MyApplicationCancelAll:ans_signed" ] } } diff --git a/notification/ans_standard/publish_test/BUILD.gn b/notification/ans_standard/publish_test/BUILD.gn index f534059be288cad6b4cb862844fa332534a1a3b0..4e94344567ebd59db85c1ddc69ac9e92495a40d8 100644 --- a/notification/ans_standard/publish_test/BUILD.gn +++ b/notification/ans_standard/publish_test/BUILD.gn @@ -10,21 +10,11 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -import("//build/config/ohos/rules.gni") -import("//test/xts/tools/build/suite.gni") - -ohos_js_hap_suite("AnsNotificationTestCancel") { - test_hap_name = "AnsNotificationTestCancel" - hap_source_path = "hap/ans_signed.hap" -} - import("//build/ohos_var.gni") group("publish_test") { testonly = true if (is_standard_system) { - deps = [ - "notification-ContentType-All:contentType-signed" - ] + deps = [ "notification-ContentType-All:contentType-signed" ] } }