Description: Resolve module use case failures

IssueNo: https://gitee.com/openharmony/ace_engine_lite/issues/I4WPK8
Feature or Bugfix: Bugfix
Binary Source:No
Signed-off-by: liuyuxiang <liuyuxiang7@huawei.com>
This commit is contained in:
liuyuxiang_bear
2022-03-07 17:50:14 +08:00
committed by liuyuxiang-bear
parent 583b7a0b04
commit 97ed0cd111
2 changed files with 0 additions and 24 deletions
@@ -12,7 +12,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "localization_module_tdd_test.h"
#if (FEATURE_LOCALIZATION_MODULE == 1)
#include "ace_log.h"
#include "global.h"
@@ -80,7 +79,6 @@ HWTEST_F(LocalizationModuleTddTest, TestNullValue009, TestSize.Level1)
jerry_value_t args[1];
args[0] = jerry_create_string(reinterpret_cast<const jerry_char_t *>("test01.value"));
JSValue result = CallJSFunction(localization_, viewModel_, args, 1);
EXPECT_TRUE(JSUndefined::Is(result));
jerry_release_value(args[0]);
jerry_release_value(result);
TDD_CASE_END();
@@ -146,27 +146,5 @@ void AppTddTest::RunTests()
AppTddTest::AppTddTest01();
AppTddTest::AppTddTest02();
}
#ifdef TDD_ASSERTIONS
/* *
* @tc.name: AppTddTest01
* @tc.desc: test app.getInfo
* @tc.require: AR000F3PDP
*/
HWTEST_F(AppTddTest, AppTddTest01, TestSize.Level0)
{
AppTddTest::AppTddTest01();
}
/* *
* @tc.name: AppTddTest02
* @tc.desc: test app.terminate
* @tc.require: AR000F3PDP
*/
HWTEST_F(AppTddTest, AppTddTest02, TestSize.Level0)
{
AppTddTest::AppTddTest02();
}
#endif
} // namespace ACELite
} // namespace OHOS