|
1 ; A typical MakeCommandLine test will contain an input and an output name value |
|
2 ; pair. The value for input_xx is the input command line and the value for |
|
3 ; output_xx is the expected output command line. |
|
4 ; |
|
5 ; A test that is known to fail can be added as follows. If the passes_xx name |
|
6 ; value pair doesn't exist it defaults to true. |
|
7 ; input_99=yabadaba |
|
8 ; output_99=doo |
|
9 ; passes_99=false |
|
10 ; |
|
11 ; If a value starts and ends with single or double quotation marks then it must |
|
12 ; be enclosed in single or double quotation marks due to GetPrivateProfileString |
|
13 ; discarding the outmost quotation marks. See GetPrivateProfileString on MSDN |
|
14 ; for more information. |
|
15 ; http://msdn.microsoft.com/en-us/library/ms724353.aspx |
|
16 |
|
17 [MakeCommandLineTests] |
|
18 input_0=a:\ |
|
19 output_0=a:\ |
|
20 |
|
21 input_1=""a:\"" |
|
22 output_1=a:\" |
|
23 |
|
24 input_2=""a:\b c"" |
|
25 output_2=""a:\b c"" |
|
26 |
|
27 input_3=""a:\b c\"" |
|
28 output_3=""a:\b c\""" |
|
29 |
|
30 input_4=""a:\b c\d e"" |
|
31 output_4=""a:\b c\d e"" |
|
32 |
|
33 input_5=""a:\b c\d e\"" |
|
34 output_5=""a:\b c\d e\""" |
|
35 |
|
36 input_6=""a:\\"" |
|
37 output_6=a:\ |
|
38 |
|
39 input_7="a:\" "b:\c d" |
|
40 output_7=a:\" "b:\c d" |
|
41 |
|
42 input_8="a "b:\" "c:\d e"" |
|
43 output_8="a "b:\" c:\d" e" |
|
44 |
|
45 input_9="abc" d e |
|
46 output_9=abc d e |
|
47 |
|
48 input_10="a b c" d e |
|
49 output_10="a b c" d e |
|
50 |
|
51 input_11=a\\\b d"e f"g h |
|
52 output_11=a\\\b "de fg" h |
|
53 |
|
54 input_12=a b |
|
55 output_12=a b |
|
56 |
|
57 input_13=""a b"" |
|
58 output_13=""a b"" |
|
59 |
|
60 input_14=a\\\"b c d |
|
61 output_14=a\\\"b c d |
|
62 |
|
63 input_15=a\\\"b c" |
|
64 output_15=a\\\"b c |
|
65 |
|
66 input_16=""a\\\b c" |
|
67 output_16=""a\\\b c"" |
|
68 |
|
69 input_17=\"a |
|
70 output_17=\"a |
|
71 |
|
72 input_18=\\"a |
|
73 output_18=\a |
|
74 |
|
75 input_19=\\"\\\\"a |
|
76 output_19=\\\a |
|
77 |
|
78 input_20=\\"\\\\\"a |
|
79 output_20=\\\\\\\"a |
|
80 |
|
81 input_21="a\\\"b c\" d e |
|
82 output_21=""a\\\"b c\" d e"" |
|
83 |
|
84 input_22=a\\\\\"b c" d e" |
|
85 output_22=a\\\\\"b "c d e" |
|
86 |
|
87 input_23=a:\b c\アルファ オメガ\d |
|
88 output_23=a:\b c\アルファ オメガ\d |
|
89 |
|
90 input_24=a:\b "c\アルファ オメガ\d" |
|
91 output_24=a:\b "c\アルファ オメガ\d" |
|
92 |
|
93 input_25=アルファ オメガ |
|
94 output_25=アルファ オメガ |