+++ /dev/null
-#!/bin/sh
-
-export TET_INSTALL_PATH=$HOME/git/tetware/TETware # local tetware path
-export TET_TARGET_PATH=$TET_INSTALL_PATH/tetware-target
-export PATH=$TET_TARGET_PATH/bin:$PATH
-export LD_LIBRARY_PATH=$TET_TARGET_PATH/lib/tet3:$LD_LIBRARY_PATH
-export TET_ROOT=$TET_TARGET_PATH
-
-export TET_SUITE_ROOT=`pwd`
-FILE_NAME_EXTENSION=`date +%s`
-
-RESULT_DIR=results
-HTML_RESULT=$RESULT_DIR/build-tar-result-$FILE_NAME_EXTENSION.html
-JOURNAL_RESULT=$RESULT_DIR/build-tar-result-$FILE_NAME_EXTENSION.journal
-
-mkdir -p $RESULT_DIR
-
-tcc -c -p ./
-tcc -b -j $JOURNAL_RESULT -p ./
-grw -c 3 -f chtml -o $HTML_RESULT $JOURNAL_RESULT
+++ /dev/null
-#!/bin/sh
-export TET_INSTALL_PATH=/mnt/nfs/git/tetware/TETware
-export TET_TARGET_PATH=$TET_INSTALL_PATH/tetware-target
-export PATH=$TET_TARGET_PATH/bin:$PATH
-export LD_LIBRARY_PATH=$TET_TARGET_PATH/lib/tet3:$LD_LIBRARY_PATH
-
-export TET_ROOT=$TET_TARGET_PATH
-
-export TET_SUITE_ROOT=`pwd`
-FILE_NAME_EXTENSION=`date +%s`
-
-RESULT_DIR=results
-HTML_RESULT=$RESULT_DIR/exec-tar-result-$FILE_NAME_EXTENSION.html
-JOURNAL_RESULT=$RESULT_DIR/exec-tar-result-$FILE_NAME_EXTENSION.journal
-
-mkdir -p $RESULT_DIR
-
-tcc -e -j $JOURNAL_RESULT -p ./
-grw -c 3 -f chtml -o $HTML_RESULT $JOURNAL_RESULT
+++ /dev/null
-# TET reserved codes
-0 "PASS"
-1 "FAIL"
-2 "UNRESOLVED"
-3 "NOTINUSE"
-4 "UNSUPPORTED"
-5 "UNTESTED"
-6 "UNINITIATED"
-7 "NORESULT"
-
-# Test suite additional codes
-33 "INSPECT"
+++ /dev/null
-all
- ^TEST
-##### Scenarios for TEST #####
-
-# Test scenario
-TEST
- :include:/unit/tslist
+++ /dev/null
-TET_OUTPUT_CAPTURE=False
-TET_BUILD_TOOL=make
+++ /dev/null
-TET_OUTPUT_CAPTURE=False
-TET_CLEAN_TOOL=make clean
+++ /dev/null
-TET_OUTPUT_CAPTURE=False
+++ /dev/null
-CC ?= gcc
-
-TARGETS = utc_ApplicationFW_ac_register_launch_privilege_func \
- utc_ApplicationFW_ac_unregister_launch_privilege_func \
- utc_ApplicationFW_ac_check_launch_privilege_func
-
-PKGS = glib-2.0 dlog app-checker
-
-LDFLAGS = `pkg-config --libs $(PKGS)`
-LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o
-LDFLAGS += -L$(TET_ROOT)/lib/tet3 -ltcm_s
-LDFLAGS += -L$(TET_ROOT)/lib/tet3 -lapi_s
-LDFLAGS += -L/usr/lib -lpthread
-
-CFLAGS = -I. `pkg-config --cflags $(PKGS)`
-CFLAGS += -I$(TET_ROOT)/inc/tet3
-CFLAGS += -Wall
-
-all: $(TARGETS)
-
-$(TARGETS): %: %.c
- $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS)
-
-clean:
- rm -f $(TARGETS)
+++ /dev/null
-#!/bin/sh
-
-TMPSTR=$0
-SCRIPT=${TMPSTR##*/}
-
-if [ $# -lt 2 ]; then
- echo "Usage) $SCRIPT module_name api_name"
- exit 1
-fi
-
-MODULE=$1
-API=$2
-TEMPLATE=utc_MODULE_API_func.c.in
-TESTCASE=utc_${MODULE}_${API}_func
-
-sed -e '
- s^@API@^'"$API"'^g
- s^@MODULE@^'"$MODULE"'^g
- ' $TEMPLATE > $TESTCASE.c
-
-if [ ! -e "$TESTCASE.c" ]; then
- echo "Failed"
- exit 1
-fi
-echo "Testcase file is $TESTCASE.c"
-echo "Done"
-echo "please put \"$TESTCASE\" as Target in Makefile"
-echo "please put \"/unit/$TESTCASE\" in tslist"
+++ /dev/null
-/unit/utc_ApplicationFW_ac_register_launch_privilege_func
-/unit/utc_ApplicationFW_ac_unregister_launch_privilege_func
-/unit/utc_ApplicationFW_ac_check_launch_privilege_func
+++ /dev/null
-/*
- * app-checker
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Jayoun Lee <airjany@samsung.com>, Sewook Park <sewook7.park@samsung.com>,
- * Jaeho Lee <jaeho81.lee@samsung.com>, Shobhit Srivastava <shobhit.s@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * 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.
- *
- */
-#include <tet_api.h>
-#include <app-checker.h>
-#include <unistd.h>
-#include <sys/types.h>
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup) (void) = startup;
-void (*tet_cleanup) (void) = cleanup;
-
-static void utc_ApplicationFW_ac_check_launch_privilege_func_01(void);
-static void utc_ApplicationFW_ac_check_launch_privilege_func_02(void);
-static void utc_ApplicationFW_ac_check_launch_privilege_func_03(void);
-static void utc_ApplicationFW_ac_check_launch_privilege_func_04(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- {utc_ApplicationFW_ac_check_launch_privilege_func_01, POSITIVE_TC_IDX},
- {utc_ApplicationFW_ac_check_launch_privilege_func_02, NEGATIVE_TC_IDX},
- {utc_ApplicationFW_ac_check_launch_privilege_func_03, NEGATIVE_TC_IDX},
- {utc_ApplicationFW_ac_check_launch_privilege_func_04, NEGATIVE_TC_IDX},
- {NULL, 0},
-};
-
-static void startup(void)
-{
-}
-
-static void cleanup(void)
-{
-}
-
-/** API Prototype
-*int ac_check_launch_privilege(const char *pkg_name,
-* const char *pkg_type, int pid);
-*/
-
-
-/**
- * @brief Positive test case of ac_check_launch_privilege()
- */
-static void utc_ApplicationFW_ac_check_launch_privilege_func_01(void)
-{
- int r = AC_R_ERROR;
- r = ac_check_launch_privilege("org.tizen.calculator", "deb",
- getpid());
- if (r < 0) {
- tet_infoline
- ("ac_check_launch_privilege()"
- " failed in positive test case");
- tet_result(TET_FAIL);
- return;
- }
- tet_result(TET_PASS);
-}
-
-/**
- * @brief Negative test case 01 of ac_check_launch_privilege()
- */
-static void utc_ApplicationFW_ac_check_launch_privilege_func_02(void)
-{
- int r = AC_R_ERROR;
- r = ac_check_launch_privilege(NULL, "deb", getpid());
- if (r != AC_R_EINVAL) {
- tet_infoline
- ("ac_check_launch_privilege()"
- " failed in negative test case");
- tet_result(TET_FAIL);
- return;
- }
- tet_result(TET_PASS);
-}
-
-/**
- * @brief Negative test case 02 of ac_check_launch_privilege()
- */
-static void utc_ApplicationFW_ac_check_launch_privilege_func_03(void)
-{
- int r = AC_R_ERROR;
- r = ac_check_launch_privilege("org.tizen.calculator", NULL, getpid());
- if (r != AC_R_EINVAL) {
- tet_infoline
- ("ac_check_launch_privilege()"
- " failed in negative test case");
- tet_result(TET_FAIL);
- return;
- }
- tet_result(TET_PASS);
-}
-
-/**
- * @brief Negative test case 03 of ac_check_launch_privilege()
- */
-static void utc_ApplicationFW_ac_check_launch_privilege_func_04(void)
-{
- int r = AC_R_ERROR;
- r = ac_check_launch_privilege(NULL, NULL, getpid());
- if (r != AC_R_EINVAL) {
- tet_infoline
- ("ac_check_launch_privilege()"
- " failed in negative test case");
- tet_result(TET_FAIL);
- return;
- }
- tet_result(TET_PASS);
-}
+++ /dev/null
-/*
- * app-checker
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Jayoun Lee <airjany@samsung.com>, Sewook Park <sewook7.park@samsung.com>,
- * Jaeho Lee <jaeho81.lee@samsung.com>, Shobhit Srivastava <shobhit.s@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * 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.
- *
- */
-#include <tet_api.h>
-#include <app-checker.h>
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup) (void) = startup;
-void (*tet_cleanup) (void) = cleanup;
-
-static void utc_ApplicationFW_ac_register_launch_privilege_func_01(void);
-static void utc_ApplicationFW_ac_register_launch_privilege_func_02(void);
-static void utc_ApplicationFW_ac_register_launch_privilege_func_03(void);
-static void utc_ApplicationFW_ac_register_launch_privilege_func_04(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- {utc_ApplicationFW_ac_register_launch_privilege_func_01,
- POSITIVE_TC_IDX},
- {utc_ApplicationFW_ac_register_launch_privilege_func_02,
- NEGATIVE_TC_IDX},
- {utc_ApplicationFW_ac_register_launch_privilege_func_03,
- NEGATIVE_TC_IDX},
- {utc_ApplicationFW_ac_register_launch_privilege_func_04,
- NEGATIVE_TC_IDX},
- {NULL, 0},
-};
-
-static void startup(void)
-{
-}
-
-static void cleanup(void)
-{
-}
-/** API Prototype
-*int ac_register_launch_privilege(const char *pkg_name,
-* const char *pkg_type);
-*/
-
-/**
- * @brief Positive test case of ac_register_launch_privilege()
- */
-static void utc_ApplicationFW_ac_register_launch_privilege_func_01(void)
-{
- int r = AC_R_ERROR;
- r = ac_register_launch_privilege("org.tizen.calculator", "deb");
- if (r < 0 && r != AC_R_ENOPULUGINS) {
- tet_infoline
- ("ac_register_launch_privilege()"
- " failed in positive test case");
- tet_result(TET_FAIL);
- return;
- }
- tet_result(TET_PASS);
-}
-
-/**
- * @brief Negative test case 01 of ac_register_launch_privilege()
- */
-static void utc_ApplicationFW_ac_register_launch_privilege_func_02(void)
-{
- int r = AC_R_ERROR;
- r = ac_register_launch_privilege(NULL, "deb");
- if (r != AC_R_EINVAL) {
- tet_infoline
- ("ac_register_launch_privilege()"
- " failed in negative test case");
- tet_result(TET_FAIL);
- return;
- }
- tet_result(TET_PASS);
-}
-
-/**
- * @brief Negative test case 02 of ac_register_launch_privilege()
- */
-static void utc_ApplicationFW_ac_register_launch_privilege_func_03(void)
-{
- int r = AC_R_ERROR;
- r = ac_register_launch_privilege("org.tizen.calculator", NULL);
- if (r != AC_R_EINVAL) {
- tet_infoline
- ("ac_register_launch_privilege()"
- " failed in negative test case");
- tet_result(TET_FAIL);
- return;
- }
- tet_result(TET_PASS);
-}
-
-/**
- * @brief Negative test case 03 of ac_register_launch_privilege()
- */
-static void utc_ApplicationFW_ac_register_launch_privilege_func_04(void)
-{
- int r = AC_R_ERROR;
- r = ac_register_launch_privilege(NULL, NULL);
- if (r != AC_R_EINVAL) {
- tet_infoline
- ("ac_register_launch_privilege()"
- " failed in negative test case");
- tet_result(TET_FAIL);
- return;
- }
- tet_result(TET_PASS);
-}
+++ /dev/null
-/*
- * app-checker
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Jayoun Lee <airjany@samsung.com>, Sewook Park <sewook7.park@samsung.com>,
- * Jaeho Lee <jaeho81.lee@samsung.com>, Shobhit Srivastava <shobhit.s@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * 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.
- *
- */
-#include <tet_api.h>
-#include <app-checker.h>
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup) (void) = startup;
-void (*tet_cleanup) (void) = cleanup;
-
-static void utc_ApplicationFW_ac_unregister_launch_privilege_func_01(void);
-static void utc_ApplicationFW_ac_unregister_launch_privilege_func_02(void);
-static void utc_ApplicationFW_ac_unregister_launch_privilege_func_03(void);
-static void utc_ApplicationFW_ac_unregister_launch_privilege_func_04(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- {utc_ApplicationFW_ac_unregister_launch_privilege_func_01,
- POSITIVE_TC_IDX},
- {utc_ApplicationFW_ac_unregister_launch_privilege_func_02,
- NEGATIVE_TC_IDX},
- {utc_ApplicationFW_ac_unregister_launch_privilege_func_03,
- NEGATIVE_TC_IDX},
- {utc_ApplicationFW_ac_unregister_launch_privilege_func_04,
- NEGATIVE_TC_IDX},
- {NULL, 0},
-};
-
-static void startup(void)
-{
-}
-
-static void cleanup(void)
-{
-}
-
-/** API Prototype
-*int ac_unregister_launch_privilege(const char *pkg_name,
-* const char *pkg_type);
-*/
-
-
-/**
- * @brief Positive test case of ac_unregister_launch_privilege()
- */
-static void utc_ApplicationFW_ac_unregister_launch_privilege_func_01(void)
-{
- int r = AC_R_ERROR;
- r = ac_unregister_launch_privilege("org.tizen.calculator", "deb");
- if (r < 0 && r != AC_R_ENOPULUGINS) {
- tet_infoline
- ("ac_unregister_launch_privilege()"
- " failed in positive test case");
- tet_result(TET_FAIL);
- return;
- }
- tet_result(TET_PASS);
-}
-
-/**
- * @brief Negative test case 01 of ac_unregister_launch_privilege()
- */
-static void utc_ApplicationFW_ac_unregister_launch_privilege_func_02(void)
-{
- int r = AC_R_ERROR;
- r = ac_unregister_launch_privilege(NULL, "deb");
- if (r != AC_R_EINVAL) {
- tet_infoline
- ("ac_unregister_launch_privilege()"
- " failed in negative test case");
- tet_result(TET_FAIL);
- return;
- }
- tet_result(TET_PASS);
-}
-
-/**
- * @brief Negative test case 02 of ac_unregister_launch_privilege()
- */
-static void utc_ApplicationFW_ac_unregister_launch_privilege_func_03(void)
-{
- int r = AC_R_ERROR;
- r = ac_unregister_launch_privilege("org.tizen.calculator", NULL);
- if (r != AC_R_EINVAL) {
- tet_infoline
- ("ac_unregister_launch_privilege()"
- " failed in negative test case");
- tet_result(TET_FAIL);
- return;
- }
- tet_result(TET_PASS);
-}
-
-/**
- * @brief Negative test case 03 of ac_unregister_launch_privilege()
- */
-static void utc_ApplicationFW_ac_unregister_launch_privilege_func_04(void)
-{
- int r = AC_R_ERROR;
- r = ac_unregister_launch_privilege(NULL, NULL);
- if (r != AC_R_EINVAL) {
- tet_infoline
- ("ac_unregister_launch_privilege()"
- " failed in negative test case");
- tet_result(TET_FAIL);
- return;
- }
- tet_result(TET_PASS);
-}
+++ /dev/null
-#include <tet_api.h>
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void utc_@MODULE@_@API@_func_01(void);
-static void utc_@MODULE@_@API@_func_02(void);
-
-enum {
- POSITIVE_TC_IDX = 0x01,
- NEGATIVE_TC_IDX,
-};
-
-struct tet_testlist tet_testlist[] = {
- { utc_@MODULE@_@API@_func_01, POSITIVE_TC_IDX },
- { utc_@MODULE@_@API@_func_02, NEGATIVE_TC_IDX },
-};
-
-static void startup(void)
-{
- int r;
-/*
- char *err;
- r = initailze...;
- if (r) {
- err = "Error message.......";
- tet_infoline(err);
- tet_delete(POSITIVE_TC_IDX, err);
- tet_delete(NEGATIVE_TC_IDX, err);
- }
-*/
-
-}
-
-static void cleanup(void)
-{
-}
-
-/**
- * @brief Positive test case of @API@()
- */
-static void utc_@MODULE@_@API@_func_01(void)
-{
- int r = 0;
-
-/*
- r = @API@(...);
-*/
- if (r) {
- tet_infoline("@API@() failed in positive test case");
- tet_result(TET_FAIL);
- return;
- }
- tet_result(TET_PASS);
-}
-
-/**
- * @brief Negative test case of ug_init @API@()
- */
-static void utc_@MODULE@_@API@_func_02(void)
-{
- int r = 0;
-
-/*
- r = @API@(...);
-*/
- if (!r) {
- tet_infoline("@API@() failed in negative test case");
- tet_result(TET_FAIL);
- return;
- }
- tet_result(TET_PASS);
-}
app-checker (0.0.8) unstable; urgency=low
- * Initial release
- * Git: pkgs/a/app-checker
+ * Fixed compile warnings
+ * Git: slp/pkgs/a/app-checker
* Tag: app-checker_0.0.8
-- Jaeho Lee <jaeho81.lee@samsung.com> Tue, 20 Mar 2012 13:42:36 +0900
+
+app-checker (0.0.7) unstable; urgency=low
+
+ * Fix bug (memset)
+ * Git: slp/pkgs/a/app-checker
+ * Tag: app-checker_0.0.7
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com> Fri, 02 Mar 2012 18:09:01 +0900
+
+app-checker (0.0.6) unstable; urgency=low
+
+ * Added TC
+ * Git: slp/pkgs/a/app-checker
+ * Tag: app-checker_0.0.6
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com> Mon, 19 Dec 2011 19:06:25 +0900
+
+app-checker (0.0.5) unstable; urgency=low
+
+ * Changed boilerplate
+ * Git: 165.213.180.234:slp/pkgs/a/app-checker
+ * Tag: app-checker_0.0.5
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com> Mon, 05 Dec 2011 16:35:25 +0900
+
+app-checker (0.0.4) unstable; urgency=low
+
+ * Fix svace bugs
+ * Git: 165.213.180.234:slp/pkgs/a/app-checker
+ * Tag: app-checker_0.0.4
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com> Tue, 25 Oct 2011 19:04:37 +0900
+
+app-checker (0.0.3) unstable; urgency=low
+
+ * Fix memory leak
+ * Git: 165.213.180.234:slp/pkgs/a/app-checker
+ * Tag: app-checker_0.0.3
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com> Tue, 25 Oct 2011 16:36:06 +0900
+
+app-checker (0.0.2) unstable; urgency=low
+
+ * add plugin directory
+ * Git: 165.213.180.234:slp/pkgs/a/app-checker
+ * Tag: app-checker_0.0.2
+
+ -- root <jaeho81.lee@samsung.com> Mon, 17 Oct 2011 19:09:13 +0900
+
+app-checker (0.0.1) unstable; urgency=low
+
+ * initial update
+ * Git: 165.213.180.234:slp/pkgs/a/app-checker
+ * Tag: app-checker_0.0.1
+
+ -- Jaeho Lee <jaeho81.lee@samsung.com> Tue, 19 Jul 2011 10:23:24 +0900
+