2 * Copyright (c) 2013, TOYOTA MOTOR CORPORATION.
4 * This program is licensed under the terms and conditions of the
5 * Apache License, version 2.0. The full text of the Apache License is at
6 * http://www.apache.org/licenses/LICENSE-2.0
10 #ifndef __TST_COMMON_H__
11 #define __TST_COMMON_H__
13 #include "ico_syc_type.h"
20 #define print_ok(fmt, arg...) \
23 "[TestCase] " fmt " : OK\n", \
27 #define print_ng(fmt, arg...) \
30 "[TestCase] " fmt " : NG\n", \
36 #define SRV_URI ":18081"
39 #define TST_APPID (char *)"org.test.syc.app"
40 #define TST_WIN_NAME (char *)"surface A"
42 #define TST_SURFACE 100
47 #define TST_WIDTH 1024
48 #define TST_HEIGHT 768
49 #define TST_RAISE ICO_SYC_WIN_RAISE_RAISE
50 #define TST_VISIBLE ICO_SYC_WIN_VISIBLE_SHOW
51 #define TST_INVISIBLE ICO_SYC_WIN_VISIBLE_HIDE
52 #define TST_ACTIVE ICO_SYC_WIN_ACTIVE_NONE
54 #define TST_FORMAT ICO_SYC_THUMB_FORMAT_ARGB
56 #define TST_ZONE_A (char *)"zone A"
57 #define TST_ZONE_B (char *)"zone B"
58 #define TST_NAME_A (char *)"name A"
59 #define TST_NAME_B (char *)"name B"
60 #define TST_NAME_C (char *)"name C"
61 #define TST_ID_A (char *)"id A"
62 #define TST_ID_B (char *)"id B"
64 #define TST_ECU (char *)"ECU A"
65 #define TST_display (char *)"display A"
66 #define TST_layer (char *)"layer A"
67 #define TST_layout (char *)"layout A"
68 #define TST_area (char *)"area A"
69 #define TST_dispatchApp (char *)"dispatchApp A"
70 #define TST_role (char *)"role A"
71 #define TST_resourceId 55555
75 #define TST_INPUT_EV 2
76 #define TST_RES_TYPE 0
77 #define TST_REG_WIDTH 200
78 #define TST_REG_HEIGHT 100
79 #define TST_REG_HOT_X 120
80 #define TST_REG_HOT_Y 80
81 #define TST_REG_CUR_X 40
82 #define TST_REG_CUR_Y 30
83 #define TST_REG_CUR_WIDTH 160
84 #define TST_REG_CUR_HEIGHT 100
85 #define TST_REG_ATTR 12345678
87 #define TST_USER_A (char *)"user A"
88 #define TST_USER_B (char *)"User B"
89 #define TST_USER_C (char *)"user c"
91 #define TST_LASTINFO (char *)"{\"page\": \"last page\", \"time\": 5}"
97 #endif /* __TST_COMMON_H__ */
98 /* vim: set expandtab ts=4 sw=4: */