web_ide_suite:AddTest(tc_env_check);
end
+-- Test - path command
+function add_app_install_path_cmd_test(web_ide_suite)
+ print (" === app install path command test === ");
+
+ -- path command
+ local path_cmd = ssdb("path command");
+ path_cmd:AddParam1("pkgcmd -a");
+ path_cmd:SetSuccessToken("Tizen Application Installation Path: /opt/usr/apps");
+
+ --make tc, and added case
+ tc_path_cmd = cmd_suite("app installation path command test");
+ tc_path_cmd:AddCmdTest(path_cmd);
+
+ tc_path_cmd:SetLevel(1);
+
+ -- add Test suite
+ web_ide_suite:AddTest(tc_path_cmd);
+end
+
-- Test - create project
function add_project_create_test(web_ide_suite)
print (" === create project test === ");
web_ide_suite:AddTest(tc_debug_project);
end
+-- Test - query project
+function add_query_test(web_ide_suite)
+ print (" === query project test=== " );
+
+ -- query project
+ local query = ssdb("query project");
+ query:AddParam1("wrt-launcher -l | grep GO1DlAQVYD");
+ query:SetSuccessToken("GO1DlAQVYD");
+
+ -- make tc, and added case
+ tc_query_project = cmd_suite("query webapp project");
+ tc_query_project:AddCmdTest(query);
+
+ tc_query_project:SetLevel(1);
+
+ -- add Test suite
+ web_ide_suite:AddTest(tc_query_project);
+end
+
-- Test - uninstall project
function add_uninstall_test(web_ide_suite)
print (" === uninstall project test === " );
-- add test case
add_env_check_test(web_ide_suite)
+ add_app_install_path_cmd_test(web_ide_suite)
add_project_create_test(web_ide_suite)
add_install_test(web_ide_suite)
add_run_test(web_ide_suite)
add_kill_test(web_ide_suite)
add_debug_run_test(web_ide_suite)
+ add_query_test(web_ide_suite)
add_uninstall_test(web_ide_suite)
-- start