• R/O
  • SSH
  • HTTPS

autest: Commit


Commit MetaInfo

Revision14 (tree)
Zeit2013-04-28 18:26:42
Autorsrz_zumix

Log Message

v1.0.0

Ändern Zusammenfassung

Diff

--- tags/v1.0.0/samples/notepad/Makefile (nonexistent)
+++ tags/v1.0.0/samples/notepad/Makefile (revision 14)
@@ -0,0 +1,6 @@
1+
2+SOURCES = sample.au3
3+
4+build: DEFAULT_TARGETS
5+
6+include $(AUTEST_ROOT)/toolchain/commondefs
--- tags/v1.0.0/samples/failure/Makefile (nonexistent)
+++ tags/v1.0.0/samples/failure/Makefile (revision 14)
@@ -0,0 +1,6 @@
1+
2+SOURCES = sample.au3
3+
4+build: DEFAULT_TARGETS
5+
6+include $(AUTEST_ROOT)/toolchain/commondefs
--- tags/v1.0.0/test/Makefile (nonexistent)
+++ tags/v1.0.0/test/Makefile (revision 14)
@@ -0,0 +1,14 @@
1+
2+SOURCES = autest_bool_test.au3 \
3+ autest_compare_test.au3 \
4+ autest_filter_test.au3 \
5+ autest_stringcomp_test.au3 \
6+ autest_japanese_test.au3 \
7+ autest_test_test.au3
8+
9+
10+build: DEFAULT_TARGETS
11+
12+AUT2EXEFLAGS += /nopack
13+
14+include $(AUTEST_ROOT)/toolchain/commondefs
--- tags/v1.0.0/toolchain/include/autest.h (nonexistent)
+++ tags/v1.0.0/toolchain/include/autest.h (revision 14)
@@ -0,0 +1,101 @@
1+/*======================================================================
2+----------------------------------------------------------------------*/
3+/**
4+ * @file autest.h
5+ * @brief autest マクロ定義 ファイル
6+ *
7+ * @author t.sirayanagi
8+ * @version 1.0
9+ *
10+ * @par copyright
11+ * Copyright (C) 2012-2013, Takazumi Shirayanagi\n
12+ * The new BSD License is applied to this software.
13+ * see LICENSE
14+*/
15+/*----------------------------------------------------------------------
16+======================================================================*/
17+#ifndef INCG_AUTEST_H_
18+#define INCG_AUTEST_H_
19+
20+#include "autest_pp.h"
21+
22+/**
23+ * @private
24+ * @{
25+*/
26+#define AUTEST_TEST_FUNCNAME_(testcase_, testname_) AUTEST_PP_CAT(AUTEST_PP_CAT(testcase_, _), testname_)
27+/**
28+ * @}
29+*/
30+
31+
32+/**
33+ * @brief テストマクロ
34+ * @{
35+*/
36+
37+#if 1
38+
39+#define AUTEST_TEST(testcase_, testname_) __sharp__OnAutoItStartRegister \
40+ AUTEST_PP_TOSTRING( AUTEST_PP_CAT(testcase_, testname_)_AddTestCase ) \
41+ __lf__Func AUTEST_PP_CAT(AUTEST_PP_CAT(testcase_, testname_),_AddTestCase()) \
42+ __lf__ Autest_AddTest(#testcase_, #testname_) \
43+ __lf__EndFunc \
44+ __lf__Func AUTEST_TEST_FUNCNAME_(testcase_, testname_)() \
45+
46+#else
47+
48+#define AUTEST_TEST(testcase_, testname_) __sharp__OnAutoItStartRegister \
49+ AUTEST_PP_TOSTRING( AUTEST_TEST_FUNCNAME_(testcase_, testname_) ) \
50+ __lf__Func AUTEST_TEST_FUNCNAME_(testcase_, testname_)() \
51+
52+#endif
53+
54+
55+#define AUTEST_TEST_END() EndFunc
56+
57+
58+/**
59+ * @}
60+*/
61+
62+/**
63+ * @brief アサーションマクロ
64+ * @{
65+*/
66+
67+#define AUTEST_ASSERT_TRUE(statement, ...) AUTEST_ASSERT_TRUE(statement, #statement, __FILE__, __LINE__)
68+#define AUTEST_EXPECT_TRUE(statement, ...) AUTEST_EXPECT_TRUE(statement, #statement, __FILE__, __LINE__)
69+
70+#define AUTEST_ASSERT_FALSE(statement, ...) AUTEST_ASSERT_FALSE(statement, #statement, __FILE__, __LINE__)
71+#define AUTEST_EXPECT_FALSE(statement, ...) AUTEST_EXPECT_FALSE(statement, #statement, __FILE__, __LINE__)
72+
73+#define AUTEST_ASSERT_EQ(expected, actual) AUTEST_ASSERT_EQ(expected, actual, #expected, #actual, __FILE__, __LINE__)
74+#define AUTEST_EXPECT_EQ(expected, actual) AUTEST_EXPECT_EQ(expected, actual, #expected, #actual, __FILE__, __LINE__)
75+#define AUTEST_ASSERT_NE(val1, val2) AUTEST_ASSERT_NE(val1, val2, #val1, #val2, __FILE__, __LINE__)
76+#define AUTEST_EXPECT_NE(val1, val2) AUTEST_EXPECT_NE(val1, val2, #val1, #val2, __FILE__, __LINE__)
77+#define AUTEST_ASSERT_LT(val1, val2) AUTEST_ASSERT_LT(val1, val2, #val1, #val2, __FILE__, __LINE__)
78+#define AUTEST_EXPECT_LT(val1, val2) AUTEST_EXPECT_LT(val1, val2, #val1, #val2, __FILE__, __LINE__)
79+#define AUTEST_ASSERT_LE(val1, val2) AUTEST_ASSERT_LE(val1, val2, #val1, #val2, __FILE__, __LINE__)
80+#define AUTEST_EXPECT_LE(val1, val2) AUTEST_EXPECT_LE(val1, val2, #val1, #val2, __FILE__, __LINE__)
81+#define AUTEST_ASSERT_GT(val1, val2) AUTEST_ASSERT_GT(val1, val2, #val1, #val2, __FILE__, __LINE__)
82+#define AUTEST_EXPECT_GT(val1, val2) AUTEST_EXPECT_GT(val1, val2, #val1, #val2, __FILE__, __LINE__)
83+#define AUTEST_ASSERT_GE(val1, val2) AUTEST_ASSERT_GE(val1, val2, #val1, #val2, __FILE__, __LINE__)
84+#define AUTEST_EXPECT_GE(val1, val2) AUTEST_EXPECT_GE(val1, val2, #val1, #val2, __FILE__, __LINE__)
85+
86+
87+#define AUTEST_ASSERT_STREQ(str1, str2, ...) AUTEST_ASSERT_STREQ(str1, str2, #str1, #str2, __FILE__, __LINE__)
88+#define AUTEST_EXPECT_STREQ(str1, str2, ...) AUTEST_EXPECT_STREQ(str1, str2, #str1, #str2, __FILE__, __LINE__)
89+#define AUTEST_ASSERT_STRNE(str1, str2, ...) AUTEST_ASSERT_STRNE(str1, str2, #str1, #str2, __FILE__, __LINE__)
90+#define AUTEST_EXPECT_STRNE(str1, str2, ...) AUTEST_EXPECT_STRNE(str1, str2, #str1, #str2, __FILE__, __LINE__)
91+
92+#define AUTEST_ASSERT_STRCASEEQ(str1, str2, ...) AUTEST_ASSERT_STRCASEEQ(str1, str2, #str1, #str2, __FILE__, __LINE__)
93+#define AUTEST_EXPECT_STRCASEEQ(str1, str2, ...) AUTEST_EXPECT_STRCASEEQ(str1, str2, #str1, #str2, __FILE__, __LINE__)
94+#define AUTEST_ASSERT_STRCASENE(str1, str2, ...) AUTEST_ASSERT_STRCASENE(str1, str2, #str1, #str2, __FILE__, __LINE__)
95+#define AUTEST_EXPECT_STRCASENE(str1, str2, ...) AUTEST_EXPECT_STRCASENE(str1, str2, #str1, #str2, __FILE__, __LINE__)
96+
97+/**
98+ * @}
99+*/
100+
101+#endif
--- tags/v1.0.0/toolchain/include/autest_pp.h (nonexistent)
+++ tags/v1.0.0/toolchain/include/autest_pp.h (revision 14)
@@ -0,0 +1,381 @@
1+/*======================================================================
2+----------------------------------------------------------------------*/
3+/**
4+ * @file autest_pp.h
5+ * @brief autest プリプロセッサ 定義 ファイル
6+ *
7+ * @author t.sirayanagi
8+ * @version 1.0
9+ *
10+ * @par copyright
11+ * Copyright (C) 2013, Takazumi Shirayanagi\n
12+ * The new BSD License is applied to this software.
13+ * see LICENSE
14+*/
15+/*----------------------------------------------------------------------
16+======================================================================*/
17+#ifndef INCG_AUTEST_pp_H_
18+#define INCG_AUTEST_pp_H_
19+
20+/* define ============================================================*/
21+
22+#define AUTEST_PP_TOSTRING(z_) AUTEST_PP_TOSTRING_(z_)
23+#define AUTEST_PP_TOSTRING_(z_) #z_
24+
25+#define AUTEST_PP_CAT(a_, b_) AUTEST_PP_CAT_(a_, b_)
26+#define AUTEST_PP_CAT_(a_, b_) a_##b_
27+
28+#define AUTEST_PP_EXPAND(x) x
29+#define AUTEST_PP_EMPTY
30+
31+/* DEC */
32+#define AUTEST_PP_DEC(n) AUTEST_PP_DEC_I(n)
33+#define AUTEST_PP_DEC_I(n) AUTEST_PP_DEC_##n
34+#define AUTEST_PP_DEC_0 nil
35+#define AUTEST_PP_DEC_1 0
36+#define AUTEST_PP_DEC_2 1
37+#define AUTEST_PP_DEC_3 2
38+#define AUTEST_PP_DEC_4 3
39+#define AUTEST_PP_DEC_5 4
40+#define AUTEST_PP_DEC_6 5
41+#define AUTEST_PP_DEC_7 6
42+#define AUTEST_PP_DEC_8 7
43+#define AUTEST_PP_DEC_9 8
44+#define AUTEST_PP_DEC_10 9
45+#define AUTEST_PP_DEC_11 10
46+#define AUTEST_PP_DEC_12 11
47+#define AUTEST_PP_DEC_13 12
48+#define AUTEST_PP_DEC_14 13
49+#define AUTEST_PP_DEC_15 14
50+#define AUTEST_PP_DEC_16 15
51+#define AUTEST_PP_DEC_17 16
52+#define AUTEST_PP_DEC_18 17
53+#define AUTEST_PP_DEC_19 18
54+#define AUTEST_PP_DEC_20 19
55+#define AUTEST_PP_DEC_21 20
56+#define AUTEST_PP_DEC_22 21
57+#define AUTEST_PP_DEC_23 22
58+#define AUTEST_PP_DEC_24 23
59+#define AUTEST_PP_DEC_25 24
60+#define AUTEST_PP_DEC_26 25
61+#define AUTEST_PP_DEC_27 26
62+#define AUTEST_PP_DEC_28 27
63+#define AUTEST_PP_DEC_29 28
64+#define AUTEST_PP_DEC_30 29
65+#define AUTEST_PP_DEC_31 30
66+#define AUTEST_PP_DEC_32 31
67+#define AUTEST_PP_DEC_33 32
68+#define AUTEST_PP_DEC_34 33
69+#define AUTEST_PP_DEC_35 34
70+#define AUTEST_PP_DEC_36 35
71+#define AUTEST_PP_DEC_37 36
72+#define AUTEST_PP_DEC_38 37
73+#define AUTEST_PP_DEC_39 38
74+#define AUTEST_PP_DEC_40 39
75+#define AUTEST_PP_DEC_41 40
76+#define AUTEST_PP_DEC_42 41
77+#define AUTEST_PP_DEC_43 42
78+#define AUTEST_PP_DEC_44 43
79+#define AUTEST_PP_DEC_45 44
80+#define AUTEST_PP_DEC_46 45
81+#define AUTEST_PP_DEC_47 46
82+#define AUTEST_PP_DEC_48 47
83+#define AUTEST_PP_DEC_49 48
84+#define AUTEST_PP_DEC_50 49
85+#define AUTEST_PP_DEC_51 50
86+#define AUTEST_PP_DEC_52 51
87+#define AUTEST_PP_DEC_53 52
88+#define AUTEST_PP_DEC_54 53
89+#define AUTEST_PP_DEC_55 54
90+#define AUTEST_PP_DEC_56 55
91+#define AUTEST_PP_DEC_57 56
92+#define AUTEST_PP_DEC_58 57
93+#define AUTEST_PP_DEC_59 58
94+#define AUTEST_PP_DEC_60 59
95+#define AUTEST_PP_DEC_61 60
96+#define AUTEST_PP_DEC_62 61
97+#define AUTEST_PP_DEC_63 62
98+#define AUTEST_PP_DEC_64 63
99+#define AUTEST_PP_DEC_65 64
100+#define AUTEST_PP_DEC_66 65
101+#define AUTEST_PP_DEC_67 66
102+#define AUTEST_PP_DEC_68 67
103+#define AUTEST_PP_DEC_69 68
104+#define AUTEST_PP_DEC_70 69
105+#define AUTEST_PP_DEC_71 70
106+#define AUTEST_PP_DEC_72 71
107+#define AUTEST_PP_DEC_73 72
108+#define AUTEST_PP_DEC_74 73
109+#define AUTEST_PP_DEC_75 74
110+#define AUTEST_PP_DEC_76 75
111+#define AUTEST_PP_DEC_77 76
112+#define AUTEST_PP_DEC_78 77
113+#define AUTEST_PP_DEC_79 78
114+#define AUTEST_PP_DEC_80 79
115+#define AUTEST_PP_DEC_81 80
116+#define AUTEST_PP_DEC_82 81
117+#define AUTEST_PP_DEC_83 82
118+#define AUTEST_PP_DEC_84 83
119+#define AUTEST_PP_DEC_85 84
120+#define AUTEST_PP_DEC_86 85
121+#define AUTEST_PP_DEC_87 86
122+#define AUTEST_PP_DEC_88 87
123+#define AUTEST_PP_DEC_89 88
124+#define AUTEST_PP_DEC_90 89
125+#define AUTEST_PP_DEC_91 90
126+#define AUTEST_PP_DEC_92 91
127+#define AUTEST_PP_DEC_93 92
128+#define AUTEST_PP_DEC_94 93
129+#define AUTEST_PP_DEC_95 94
130+#define AUTEST_PP_DEC_96 95
131+#define AUTEST_PP_DEC_97 96
132+#define AUTEST_PP_DEC_98 97
133+#define AUTEST_PP_DEC_99 98
134+#define AUTEST_PP_DEC_100 99
135+
136+/* INC */
137+#define AUTEST_PP_INC(n) AUTEST_PP_INC_I(n)
138+#define AUTEST_PP_INC_I(n) AUTEST_PP_INC_##n
139+#define AUTEST_PP_INC_0 1
140+#define AUTEST_PP_INC_1 2
141+#define AUTEST_PP_INC_2 3
142+#define AUTEST_PP_INC_3 4
143+#define AUTEST_PP_INC_4 5
144+#define AUTEST_PP_INC_5 6
145+#define AUTEST_PP_INC_6 7
146+#define AUTEST_PP_INC_7 8
147+#define AUTEST_PP_INC_8 9
148+#define AUTEST_PP_INC_9 10
149+#define AUTEST_PP_INC_10 11
150+#define AUTEST_PP_INC_11 12
151+#define AUTEST_PP_INC_12 13
152+#define AUTEST_PP_INC_13 14
153+#define AUTEST_PP_INC_14 15
154+#define AUTEST_PP_INC_15 16
155+#define AUTEST_PP_INC_16 17
156+#define AUTEST_PP_INC_17 18
157+#define AUTEST_PP_INC_18 19
158+#define AUTEST_PP_INC_19 20
159+#define AUTEST_PP_INC_20 21
160+#define AUTEST_PP_INC_21 22
161+#define AUTEST_PP_INC_22 23
162+#define AUTEST_PP_INC_23 24
163+#define AUTEST_PP_INC_24 25
164+#define AUTEST_PP_INC_25 26
165+#define AUTEST_PP_INC_26 27
166+#define AUTEST_PP_INC_27 28
167+#define AUTEST_PP_INC_28 29
168+#define AUTEST_PP_INC_29 30
169+#define AUTEST_PP_INC_30 31
170+#define AUTEST_PP_INC_31 32
171+#define AUTEST_PP_INC_32 33
172+#define AUTEST_PP_INC_33 34
173+#define AUTEST_PP_INC_34 35
174+#define AUTEST_PP_INC_35 36
175+#define AUTEST_PP_INC_36 37
176+#define AUTEST_PP_INC_37 38
177+#define AUTEST_PP_INC_38 39
178+#define AUTEST_PP_INC_39 40
179+#define AUTEST_PP_INC_40 41
180+#define AUTEST_PP_INC_41 42
181+#define AUTEST_PP_INC_42 43
182+#define AUTEST_PP_INC_43 44
183+#define AUTEST_PP_INC_44 45
184+#define AUTEST_PP_INC_45 46
185+#define AUTEST_PP_INC_46 47
186+#define AUTEST_PP_INC_47 48
187+#define AUTEST_PP_INC_48 49
188+#define AUTEST_PP_INC_49 50
189+#define AUTEST_PP_INC_50 51
190+#define AUTEST_PP_INC_51 52
191+#define AUTEST_PP_INC_52 53
192+#define AUTEST_PP_INC_53 54
193+#define AUTEST_PP_INC_54 55
194+#define AUTEST_PP_INC_55 56
195+#define AUTEST_PP_INC_56 57
196+#define AUTEST_PP_INC_57 58
197+#define AUTEST_PP_INC_58 59
198+#define AUTEST_PP_INC_59 60
199+#define AUTEST_PP_INC_60 61
200+#define AUTEST_PP_INC_61 62
201+#define AUTEST_PP_INC_62 63
202+#define AUTEST_PP_INC_63 64
203+#define AUTEST_PP_INC_64 65
204+#define AUTEST_PP_INC_65 66
205+#define AUTEST_PP_INC_66 67
206+#define AUTEST_PP_INC_67 68
207+#define AUTEST_PP_INC_68 69
208+#define AUTEST_PP_INC_69 70
209+#define AUTEST_PP_INC_70 71
210+#define AUTEST_PP_INC_71 72
211+#define AUTEST_PP_INC_72 73
212+#define AUTEST_PP_INC_73 74
213+#define AUTEST_PP_INC_74 75
214+#define AUTEST_PP_INC_75 76
215+#define AUTEST_PP_INC_76 77
216+#define AUTEST_PP_INC_77 78
217+#define AUTEST_PP_INC_78 79
218+#define AUTEST_PP_INC_79 80
219+#define AUTEST_PP_INC_80 81
220+#define AUTEST_PP_INC_81 82
221+#define AUTEST_PP_INC_82 83
222+#define AUTEST_PP_INC_83 84
223+#define AUTEST_PP_INC_84 85
224+#define AUTEST_PP_INC_85 86
225+#define AUTEST_PP_INC_86 87
226+#define AUTEST_PP_INC_87 88
227+#define AUTEST_PP_INC_88 89
228+#define AUTEST_PP_INC_89 90
229+#define AUTEST_PP_INC_90 91
230+#define AUTEST_PP_INC_91 92
231+#define AUTEST_PP_INC_92 93
232+#define AUTEST_PP_INC_93 94
233+#define AUTEST_PP_INC_94 95
234+#define AUTEST_PP_INC_95 96
235+#define AUTEST_PP_INC_96 97
236+#define AUTEST_PP_INC_97 98
237+#define AUTEST_PP_INC_98 99
238+#define AUTEST_PP_INC_99 100
239+#define AUTEST_PP_INC_100 nil
240+
241+/* REPEAT */
242+#define AUTEST_PP_REPEAT_PARAMS_MACRO_(i, param) param
243+#define AUTEST_PP_REPEAT_PARAMS_MACRO_IN_BINARY_(i, param1, param2) param2(i, param1)
244+
245+#define AUTEST_PP_REPEAT_PARAMS(n, param) AUTEST_PP_REPEAT(n, AUTEST_PP_REPEAT_PARAMS_MACRO_, param)
246+#define AUTEST_PP_REPEAT(n, m, param) AUTEST_PP_REPEAT_BINARY(n, AUTEST_PP_REPEAT_PARAMS_MACRO_IN_BINARY_, param, m)
247+
248+#define AUTEST_PP_REPEAT_BINARY_PARAMS_MACRO_(i, param1, param2) param1 param2
249+
250+#define AUTEST_PP_REPEAT_BINARY_PARAMS(n, param1, param2) AUTEST_PP_REPEAT_BINARY(n, AUTEST_PP_REPEAT_BINARY_PARAMS_MACRO_, param1, param2)
251+#define AUTEST_PP_REPEAT_BINARY(n, m, param1, param2) AUTEST_PP_REPEAT_BINARY_PARAMS_I(n, m, param1, param2)
252+
253+#define AUTEST_PP_REPEAT_BINARY_PARAMS_I(n, m, p1, p2) AUTEST_PP_CAT(AUTEST_PP_REPEAT_I_, AUTEST_PP_DEC(n))(0, m, p1, p2)
254+
255+#define AUTEST_PP_REPEAT_I_nil(i, m, p1, p2)
256+#define AUTEST_PP_REPEAT_I_0( i, m, p1, p2) m(i, p1, p2)
257+#define AUTEST_PP_REPEAT_I_1( i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_0 (AUTEST_PP_INC(i), m, p1, p2)
258+#define AUTEST_PP_REPEAT_I_2( i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_1 (AUTEST_PP_INC(i), m, p1, p2)
259+#define AUTEST_PP_REPEAT_I_3( i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_2 (AUTEST_PP_INC(i), m, p1, p2)
260+#define AUTEST_PP_REPEAT_I_4( i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_3 (AUTEST_PP_INC(i), m, p1, p2)
261+#define AUTEST_PP_REPEAT_I_5( i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_4 (AUTEST_PP_INC(i), m, p1, p2)
262+#define AUTEST_PP_REPEAT_I_6( i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_5 (AUTEST_PP_INC(i), m, p1, p2)
263+#define AUTEST_PP_REPEAT_I_7( i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_6 (AUTEST_PP_INC(i), m, p1, p2)
264+#define AUTEST_PP_REPEAT_I_8( i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_7 (AUTEST_PP_INC(i), m, p1, p2)
265+#define AUTEST_PP_REPEAT_I_9( i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_8 (AUTEST_PP_INC(i), m, p1, p2)
266+#define AUTEST_PP_REPEAT_I_10(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_9 (AUTEST_PP_INC(i), m, p1, p2)
267+#define AUTEST_PP_REPEAT_I_11(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_10(AUTEST_PP_INC(i), m, p1, p2)
268+#define AUTEST_PP_REPEAT_I_12(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_11(AUTEST_PP_INC(i), m, p1, p2)
269+#define AUTEST_PP_REPEAT_I_13(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_12(AUTEST_PP_INC(i), m, p1, p2)
270+#define AUTEST_PP_REPEAT_I_14(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_13(AUTEST_PP_INC(i), m, p1, p2)
271+#define AUTEST_PP_REPEAT_I_15(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_14(AUTEST_PP_INC(i), m, p1, p2)
272+#define AUTEST_PP_REPEAT_I_16(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_15(AUTEST_PP_INC(i), m, p1, p2)
273+#define AUTEST_PP_REPEAT_I_17(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_16(AUTEST_PP_INC(i), m, p1, p2)
274+#define AUTEST_PP_REPEAT_I_18(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_17(AUTEST_PP_INC(i), m, p1, p2)
275+#define AUTEST_PP_REPEAT_I_19(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_18(AUTEST_PP_INC(i), m, p1, p2)
276+#define AUTEST_PP_REPEAT_I_20(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_19(AUTEST_PP_INC(i), m, p1, p2)
277+#define AUTEST_PP_REPEAT_I_21(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_20(AUTEST_PP_INC(i), m, p1, p2)
278+#define AUTEST_PP_REPEAT_I_22(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_21(AUTEST_PP_INC(i), m, p1, p2)
279+#define AUTEST_PP_REPEAT_I_23(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_22(AUTEST_PP_INC(i), m, p1, p2)
280+#define AUTEST_PP_REPEAT_I_24(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_23(AUTEST_PP_INC(i), m, p1, p2)
281+#define AUTEST_PP_REPEAT_I_25(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_24(AUTEST_PP_INC(i), m, p1, p2)
282+#define AUTEST_PP_REPEAT_I_26(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_25(AUTEST_PP_INC(i), m, p1, p2)
283+#define AUTEST_PP_REPEAT_I_27(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_26(AUTEST_PP_INC(i), m, p1, p2)
284+#define AUTEST_PP_REPEAT_I_28(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_27(AUTEST_PP_INC(i), m, p1, p2)
285+#define AUTEST_PP_REPEAT_I_29(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_28(AUTEST_PP_INC(i), m, p1, p2)
286+#define AUTEST_PP_REPEAT_I_30(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_29(AUTEST_PP_INC(i), m, p1, p2)
287+#define AUTEST_PP_REPEAT_I_31(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_30(AUTEST_PP_INC(i), m, p1, p2)
288+#define AUTEST_PP_REPEAT_I_32(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_31(AUTEST_PP_INC(i), m, p1, p2)
289+#define AUTEST_PP_REPEAT_I_33(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_32(AUTEST_PP_INC(i), m, p1, p2)
290+#define AUTEST_PP_REPEAT_I_34(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_33(AUTEST_PP_INC(i), m, p1, p2)
291+#define AUTEST_PP_REPEAT_I_35(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_34(AUTEST_PP_INC(i), m, p1, p2)
292+#define AUTEST_PP_REPEAT_I_36(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_35(AUTEST_PP_INC(i), m, p1, p2)
293+#define AUTEST_PP_REPEAT_I_37(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_36(AUTEST_PP_INC(i), m, p1, p2)
294+#define AUTEST_PP_REPEAT_I_38(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_37(AUTEST_PP_INC(i), m, p1, p2)
295+#define AUTEST_PP_REPEAT_I_39(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_38(AUTEST_PP_INC(i), m, p1, p2)
296+#define AUTEST_PP_REPEAT_I_40(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_39(AUTEST_PP_INC(i), m, p1, p2)
297+#define AUTEST_PP_REPEAT_I_41(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_40(AUTEST_PP_INC(i), m, p1, p2)
298+#define AUTEST_PP_REPEAT_I_42(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_41(AUTEST_PP_INC(i), m, p1, p2)
299+#define AUTEST_PP_REPEAT_I_43(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_42(AUTEST_PP_INC(i), m, p1, p2)
300+#define AUTEST_PP_REPEAT_I_44(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_43(AUTEST_PP_INC(i), m, p1, p2)
301+#define AUTEST_PP_REPEAT_I_45(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_44(AUTEST_PP_INC(i), m, p1, p2)
302+#define AUTEST_PP_REPEAT_I_46(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_45(AUTEST_PP_INC(i), m, p1, p2)
303+#define AUTEST_PP_REPEAT_I_47(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_46(AUTEST_PP_INC(i), m, p1, p2)
304+#define AUTEST_PP_REPEAT_I_48(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_47(AUTEST_PP_INC(i), m, p1, p2)
305+#define AUTEST_PP_REPEAT_I_49(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_48(AUTEST_PP_INC(i), m, p1, p2)
306+#define AUTEST_PP_REPEAT_I_50(i, m, p1, p2) m(i, p1, p2) AUTEST_PP_REPEAT_I_49(AUTEST_PP_INC(i), m, p1, p2)
307+
308+/* ENUM */
309+#define AUTEST_PP_ENUM_PARAMS_MACRO_(i, param) AUTEST_PP_CAT(param, i)
310+#define AUTEST_PP_ENUM_PARAMS_MACRO_IN_BINARY_(i, param1, param2) param2(i, param1)
311+
312+#define AUTEST_PP_ENUM_PARAMS(n, param) AUTEST_PP_ENUM(n, AUTEST_PP_ENUM_PARAMS_MACRO_, param)
313+#define AUTEST_PP_ENUM(n, m, param) AUTEST_PP_ENUM_BINARY(n, AUTEST_PP_ENUM_PARAMS_MACRO_IN_BINARY_, param, m)
314+
315+#define AUTEST_PP_ENUM_SHIFTED_PARAMS(n, param) AUTEST_PP_ENUM_SHIFTED(n, AUTEST_PP_ENUM_PARAMS_MACRO_, param)
316+#define AUTEST_PP_ENUM_SHIFTED(n, m, param) AUTEST_PP_ENUM_SHIFTED_BINARY(n, AUTEST_PP_ENUM_PARAMS_MACRO_IN_BINARY_, param, m)
317+
318+#define AUTEST_PP_ENUM_BINARY_PARAMS_MACRO_(i, param1, param2) AUTEST_PP_CAT(param1, i) AUTEST_PP_CAT(param2, i)
319+
320+#define AUTEST_PP_ENUM_BINARY_PARAMS(n, param1, param2) AUTEST_PP_ENUM_BINARY(n, AUTEST_PP_ENUM_BINARY_PARAMS_MACRO_, param1, param2)
321+#define AUTEST_PP_ENUM_BINARY(n, m, param1, param2) AUTEST_PP_ENUM_BINARY_PARAMS_I(0, n, m, param1, param2)
322+
323+#define AUTEST_PP_ENUM_SHIFTED_BINARY_PARAMS(n, param1, param2) AUTEST_PP_ENUM_BINARY(n, AUTEST_PP_ENUM_BINARY_PARAMS_MACRO_, param1, param2)
324+#define AUTEST_PP_ENUM_SHIFTED_BINARY(n, m, param1, param2) AUTEST_PP_ENUM_BINARY_PARAMS_I(1, n, m, param1, param2)
325+
326+#define AUTEST_PP_ENUM_BINARY_PARAMS_I(begin, n, m, p1, p2) AUTEST_PP_CAT(AUTEST_PP_ENUM_I_, AUTEST_PP_DEC(n))(begin, m, p1, p2)
327+
328+#define AUTEST_PP_ENUM_I_nil(i, m, p1, p2)
329+#define AUTEST_PP_ENUM_I_0( i, m, p1, p2) m(i, p1, p2)
330+#define AUTEST_PP_ENUM_I_1( i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_0 (AUTEST_PP_INC(i), m, p1, p2)
331+#define AUTEST_PP_ENUM_I_2( i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_1 (AUTEST_PP_INC(i), m, p1, p2)
332+#define AUTEST_PP_ENUM_I_3( i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_2 (AUTEST_PP_INC(i), m, p1, p2)
333+#define AUTEST_PP_ENUM_I_4( i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_3 (AUTEST_PP_INC(i), m, p1, p2)
334+#define AUTEST_PP_ENUM_I_5( i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_4 (AUTEST_PP_INC(i), m, p1, p2)
335+#define AUTEST_PP_ENUM_I_6( i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_5 (AUTEST_PP_INC(i), m, p1, p2)
336+#define AUTEST_PP_ENUM_I_7( i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_6 (AUTEST_PP_INC(i), m, p1, p2)
337+#define AUTEST_PP_ENUM_I_8( i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_7 (AUTEST_PP_INC(i), m, p1, p2)
338+#define AUTEST_PP_ENUM_I_9( i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_8 (AUTEST_PP_INC(i), m, p1, p2)
339+#define AUTEST_PP_ENUM_I_10(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_9 (AUTEST_PP_INC(i), m, p1, p2)
340+#define AUTEST_PP_ENUM_I_11(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_10(AUTEST_PP_INC(i), m, p1, p2)
341+#define AUTEST_PP_ENUM_I_12(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_11(AUTEST_PP_INC(i), m, p1, p2)
342+#define AUTEST_PP_ENUM_I_13(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_12(AUTEST_PP_INC(i), m, p1, p2)
343+#define AUTEST_PP_ENUM_I_14(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_13(AUTEST_PP_INC(i), m, p1, p2)
344+#define AUTEST_PP_ENUM_I_15(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_14(AUTEST_PP_INC(i), m, p1, p2)
345+#define AUTEST_PP_ENUM_I_16(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_15(AUTEST_PP_INC(i), m, p1, p2)
346+#define AUTEST_PP_ENUM_I_17(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_16(AUTEST_PP_INC(i), m, p1, p2)
347+#define AUTEST_PP_ENUM_I_18(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_17(AUTEST_PP_INC(i), m, p1, p2)
348+#define AUTEST_PP_ENUM_I_19(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_18(AUTEST_PP_INC(i), m, p1, p2)
349+#define AUTEST_PP_ENUM_I_20(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_19(AUTEST_PP_INC(i), m, p1, p2)
350+#define AUTEST_PP_ENUM_I_21(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_20(AUTEST_PP_INC(i), m, p1, p2)
351+#define AUTEST_PP_ENUM_I_22(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_21(AUTEST_PP_INC(i), m, p1, p2)
352+#define AUTEST_PP_ENUM_I_23(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_22(AUTEST_PP_INC(i), m, p1, p2)
353+#define AUTEST_PP_ENUM_I_24(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_23(AUTEST_PP_INC(i), m, p1, p2)
354+#define AUTEST_PP_ENUM_I_25(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_24(AUTEST_PP_INC(i), m, p1, p2)
355+#define AUTEST_PP_ENUM_I_26(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_25(AUTEST_PP_INC(i), m, p1, p2)
356+#define AUTEST_PP_ENUM_I_27(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_26(AUTEST_PP_INC(i), m, p1, p2)
357+#define AUTEST_PP_ENUM_I_28(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_27(AUTEST_PP_INC(i), m, p1, p2)
358+#define AUTEST_PP_ENUM_I_29(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_28(AUTEST_PP_INC(i), m, p1, p2)
359+#define AUTEST_PP_ENUM_I_30(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_29(AUTEST_PP_INC(i), m, p1, p2)
360+#define AUTEST_PP_ENUM_I_31(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_30(AUTEST_PP_INC(i), m, p1, p2)
361+#define AUTEST_PP_ENUM_I_32(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_31(AUTEST_PP_INC(i), m, p1, p2)
362+#define AUTEST_PP_ENUM_I_33(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_32(AUTEST_PP_INC(i), m, p1, p2)
363+#define AUTEST_PP_ENUM_I_34(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_33(AUTEST_PP_INC(i), m, p1, p2)
364+#define AUTEST_PP_ENUM_I_35(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_34(AUTEST_PP_INC(i), m, p1, p2)
365+#define AUTEST_PP_ENUM_I_36(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_35(AUTEST_PP_INC(i), m, p1, p2)
366+#define AUTEST_PP_ENUM_I_37(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_36(AUTEST_PP_INC(i), m, p1, p2)
367+#define AUTEST_PP_ENUM_I_38(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_37(AUTEST_PP_INC(i), m, p1, p2)
368+#define AUTEST_PP_ENUM_I_39(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_38(AUTEST_PP_INC(i), m, p1, p2)
369+#define AUTEST_PP_ENUM_I_40(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_39(AUTEST_PP_INC(i), m, p1, p2)
370+#define AUTEST_PP_ENUM_I_41(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_40(AUTEST_PP_INC(i), m, p1, p2)
371+#define AUTEST_PP_ENUM_I_42(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_41(AUTEST_PP_INC(i), m, p1, p2)
372+#define AUTEST_PP_ENUM_I_43(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_42(AUTEST_PP_INC(i), m, p1, p2)
373+#define AUTEST_PP_ENUM_I_44(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_43(AUTEST_PP_INC(i), m, p1, p2)
374+#define AUTEST_PP_ENUM_I_45(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_44(AUTEST_PP_INC(i), m, p1, p2)
375+#define AUTEST_PP_ENUM_I_46(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_45(AUTEST_PP_INC(i), m, p1, p2)
376+#define AUTEST_PP_ENUM_I_47(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_46(AUTEST_PP_INC(i), m, p1, p2)
377+#define AUTEST_PP_ENUM_I_48(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_47(AUTEST_PP_INC(i), m, p1, p2)
378+#define AUTEST_PP_ENUM_I_49(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_48(AUTEST_PP_INC(i), m, p1, p2)
379+#define AUTEST_PP_ENUM_I_50(i, m, p1, p2) m(i, p1, p2), AUTEST_PP_ENUM_I_49(AUTEST_PP_INC(i), m, p1, p2)
380+
381+#endif
--- tags/v1.0.0/LICENSE (nonexistent)
+++ tags/v1.0.0/LICENSE (revision 14)
@@ -0,0 +1,32 @@
1+==============================================================================
2+autest LICENSE
3+==============================================================================
4+/*
5+--------------------------------------------------------------------------------
6+Copyright (c) 2012-2013, Takazumi-Shirayanagi
7+--------------------------------------------------------------------------------
8+*/
9+
10+Redistribution and use in source and binary forms, with or without modification,
11+are permitted provided that the following conditions are met:
12+
13+ 1. Redistributions of source code must retain the above copyright notice,
14+ this list of conditions and the following disclaimer.
15+ 2. Redistributions in binary form must reproduce the above copyright notice,
16+ this list of conditions and the following disclaimer in the documentation
17+ and/or other materials provided with the distribution.
18+ 3. the copyright holder's name is not used to endorse products
19+ built using this software without specific written permission.
20+
21+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
24+PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25+HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32+
--- tags/v1.0.0/readme.txt (nonexistent)
+++ tags/v1.0.0/readme.txt (revision 14)
@@ -0,0 +1,23 @@
1+readme.txt for autest
2+===================
3+
4+--------------------------------------------------
5+Name
6+
7+ autest
8+
9+--------------------------------------------------
10+Environment variable
11+
12+ AUTOIT_ROOT : autoit install root directory.
13+ AUTEST_ROOT : autest root directory.
14+
15+--------------------------------------------------
16+License
17+
18+ Copyright (c) 2012-2013, Takazumi-Shirayanagi,
19+ All rights reserved.
20+
21+ The new(3-clause) BSD License is applied to this software, see LICENSE
22+
23+
Show on old repository browser