/* * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved * * 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 #include #include static void startup(void); static void cleanup(void); void (*tet_startup)(void) = startup; void (*tet_cleanup)(void) = cleanup; static void startup(void) { // TODO : How to copy sample image???? } static void cleanup(void) { /* end of TC */ } face_h face = NULL; static void utc_uix_face_create_positive_01(void) { static const char szFunc[] = "face_create"; int err; err = face_create(&face); dts_check_eq(szFunc, err, FACE_ERROR_NONE); } static void utc_uix_face_destroy_positive_01(void) { static const char szFunc[] = "face_destroy"; face_h face; int err = face_create(&face); if ( err != FACE_ERROR_NONE) { tet_result(TET_UNRESOLVED); return; } err = face_destroy(face); dts_check_eq(szFunc, err, FACE_ERROR_NONE); } struct tet_testlist tet_testlist[] = { { utc_uix_face_create_positive_01, 1}, { utc_uix_face_destroy_positive_01, 1}, { NULL, 0}, };