From 81586b2412ad8e87dede8f9d01f528773fb35468 Mon Sep 17 00:00:00 2001
From: bayanxing <bayanxing@kaihongdigi.com>
Date: Sat, 21 May 2022 14:00:40 +0800
Subject: [PATCH] add test cases

Signed-off-by: bayanxing <bayanxing@kaihongdigi.com>
---
 .idea/workspace.xml                           | 39 +++++++++++++++++++
 .../default/test/battery_common_event.test.js |  2 +-
 2 files changed, 40 insertions(+), 1 deletion(-)
 create mode 100644 .idea/workspace.xml

diff --git a/.idea/workspace.xml b/.idea/workspace.xml
new file mode 100644
index 000000000..72423ff22
--- /dev/null
+++ b/.idea/workspace.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="AutoImportSettings">
+    <option name="autoReloadType" value="SELECTIVE" />
+  </component>
+  <component name="ChangeListManager">
+    <list default="true" id="ce9894ed-6879-4b8e-a046-5d8d0188b266" name="Changes" comment="" />
+    <option name="SHOW_DIALOG" value="false" />
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
+    <option name="LAST_RESOLUTION" value="IGNORE" />
+  </component>
+  <component name="ExternalProjectsManager">
+    <system id="GRADLE">
+      <state>
+        <projects_view>
+          <tree_state>
+            <expand />
+            <select />
+          </tree_state>
+        </projects_view>
+      </state>
+    </system>
+  </component>
+  <component name="Git.Settings">
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
+  </component>
+  <component name="ProjectId" id="29SRufnT8pJJTbMAzxBK3ertGAy" />
+  <component name="ProjectViewState">
+    <option name="hideEmptyMiddlePackages" value="true" />
+    <option name="showLibraryContents" value="true" />
+  </component>
+  <component name="PropertiesComponent">
+    <property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
+    <property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
+    <property name="show.inlinked.gradle.project.popup" value="false" />
+  </component>
+  <component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
+</project>
\ No newline at end of file
diff --git a/powermgr/powermgrbattery/src/main/js/default/test/battery_common_event.test.js b/powermgr/powermgrbattery/src/main/js/default/test/battery_common_event.test.js
index e9b3be779..6e1141408 100644
--- a/powermgr/powermgrbattery/src/main/js/default/test/battery_common_event.test.js
+++ b/powermgr/powermgrbattery/src/main/js/default/test/battery_common_event.test.js
@@ -151,7 +151,7 @@ function createLockedBootCompletedSubscriber() {
         }).catch((error) => {
         console.error('Operation failed. Cause: ' + JSON.stringify(error));
     });
-}
+}    
 
 function createBootCompletedSubscriber() {
     var commonEventSubscribeInfo = {
-- 
GitLab