1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/xre/test/win/TestXREMakeCommandLineWin.ini Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,94 @@ 1.4 +; A typical MakeCommandLine test will contain an input and an output name value 1.5 +; pair. The value for input_xx is the input command line and the value for 1.6 +; output_xx is the expected output command line. 1.7 +; 1.8 +; A test that is known to fail can be added as follows. If the passes_xx name 1.9 +; value pair doesn't exist it defaults to true. 1.10 +; input_99=yabadaba 1.11 +; output_99=doo 1.12 +; passes_99=false 1.13 +; 1.14 +; If a value starts and ends with single or double quotation marks then it must 1.15 +; be enclosed in single or double quotation marks due to GetPrivateProfileString 1.16 +; discarding the outmost quotation marks. See GetPrivateProfileString on MSDN 1.17 +; for more information. 1.18 +; http://msdn.microsoft.com/en-us/library/ms724353.aspx 1.19 + 1.20 +[MakeCommandLineTests] 1.21 +input_0=a:\ 1.22 +output_0=a:\ 1.23 + 1.24 +input_1=""a:\"" 1.25 +output_1=a:\" 1.26 + 1.27 +input_2=""a:\b c"" 1.28 +output_2=""a:\b c"" 1.29 + 1.30 +input_3=""a:\b c\"" 1.31 +output_3=""a:\b c\""" 1.32 + 1.33 +input_4=""a:\b c\d e"" 1.34 +output_4=""a:\b c\d e"" 1.35 + 1.36 +input_5=""a:\b c\d e\"" 1.37 +output_5=""a:\b c\d e\""" 1.38 + 1.39 +input_6=""a:\\"" 1.40 +output_6=a:\ 1.41 + 1.42 +input_7="a:\" "b:\c d" 1.43 +output_7=a:\" "b:\c d" 1.44 + 1.45 +input_8="a "b:\" "c:\d e"" 1.46 +output_8="a "b:\" c:\d" e" 1.47 + 1.48 +input_9="abc" d e 1.49 +output_9=abc d e 1.50 + 1.51 +input_10="a b c" d e 1.52 +output_10="a b c" d e 1.53 + 1.54 +input_11=a\\\b d"e f"g h 1.55 +output_11=a\\\b "de fg" h 1.56 + 1.57 +input_12=a b 1.58 +output_12=a b 1.59 + 1.60 +input_13=""a b"" 1.61 +output_13=""a b"" 1.62 + 1.63 +input_14=a\\\"b c d 1.64 +output_14=a\\\"b c d 1.65 + 1.66 +input_15=a\\\"b c" 1.67 +output_15=a\\\"b c 1.68 + 1.69 +input_16=""a\\\b c" 1.70 +output_16=""a\\\b c"" 1.71 + 1.72 +input_17=\"a 1.73 +output_17=\"a 1.74 + 1.75 +input_18=\\"a 1.76 +output_18=\a 1.77 + 1.78 +input_19=\\"\\\\"a 1.79 +output_19=\\\a 1.80 + 1.81 +input_20=\\"\\\\\"a 1.82 +output_20=\\\\\\\"a 1.83 + 1.84 +input_21="a\\\"b c\" d e 1.85 +output_21=""a\\\"b c\" d e"" 1.86 + 1.87 +input_22=a\\\\\"b c" d e" 1.88 +output_22=a\\\\\"b "c d e" 1.89 + 1.90 +input_23=a:\b c\アルファ オメガ\d 1.91 +output_23=a:\b c\アルファ オメガ\d 1.92 + 1.93 +input_24=a:\b "c\アルファ オメガ\d" 1.94 +output_24=a:\b "c\アルファ オメガ\d" 1.95 + 1.96 +input_25=アルファ オメガ 1.97 +output_25=アルファ オメガ