Guido van Rossum | 6209b97 | 1992-11-27 22:54:49 +0000 | [diff] [blame] | 1 | test_grammar |
2 | 1. Parser | ||||
3 | 1.1 Tokens | ||||
4 | 1.1.1 Backslashes | ||||
5 | 1.1.2 Numeric literals | ||||
6 | 1.1.2.1 Plain integers | ||||
7 | 1.1.2.2 Long integers | ||||
8 | 1.1.2.3 Floating point | ||||
9 | 1.2 Grammar | ||||
10 | single_input | ||||
11 | file_input | ||||
12 | expr_input | ||||
13 | eval_input | ||||
14 | funcdef | ||||
15 | simple_stmt | ||||
16 | expr_stmt | ||||
17 | 1 | ||||
18 | (1, 2, 3) | ||||
19 | print_stmt | ||||
20 | 1 2 3 | ||||
21 | 1 2 3 | ||||
22 | 1 1 1 | ||||
23 | del_stmt | ||||
24 | pass_stmt | ||||
25 | flow_stmt | ||||
26 | break_stmt | ||||
27 | continue_stmt | ||||
28 | return_stmt | ||||
29 | raise_stmt | ||||
30 | import_stmt | ||||
31 | [1] | ||||
32 | [2] | ||||
33 | [3] | ||||
34 | [4] | ||||
35 | [5] | ||||
36 | [6] | ||||
37 | global_stmt | ||||
38 | if_stmt | ||||
39 | while_stmt | ||||
40 | for_stmt | ||||
41 | [1] | ||||
42 | [2] | ||||
43 | [3] | ||||
44 | try_stmt | ||||
45 | suite | ||||
46 | test | ||||
47 | comparison | ||||
48 | binary mask ops | ||||
49 | shift ops | ||||
50 | additive ops | ||||
51 | multiplicative ops | ||||
52 | unary ops | ||||
53 | selectors | ||||
54 | atoms | ||||
55 | classdef | ||||
56 | test_opcodes | ||||
57 | 2. Opcodes | ||||
58 | XXX Not yet fully implemented | ||||
59 | 2.1 try inside for loop | ||||
60 | test_operations | ||||
61 | 3. Operations | ||||
62 | XXX Not yet implemented | ||||
63 | test_builtin | ||||
64 | 4. Built-in functions | ||||
65 | test_b1 | ||||
66 | abs | ||||
67 | apply | ||||
68 | chr | ||||
69 | cmp | ||||
70 | coerce | ||||
71 | dir | ||||
72 | divmod | ||||
73 | eval | ||||
74 | exec | ||||
75 | execfile | ||||
76 | float | ||||
77 | getattr | ||||
78 | hex | ||||
79 | int | ||||
80 | len | ||||
81 | long | ||||
82 | max | ||||
83 | min | ||||
84 | test_b2 | ||||
85 | oct | ||||
86 | open | ||||
87 | ord | ||||
88 | pow | ||||
89 | range | ||||
90 | input and raw_input | ||||
91 | testing | ||||
92 | testing | ||||
93 | reload | ||||
94 | repr | ||||
95 | setattr | ||||
96 | str | ||||
97 | type | ||||
98 | test_exceptions | ||||
99 | 5. Built-in exceptions | ||||
100 | AttributeError | ||||
101 | EOFError | ||||
102 | IOError | ||||
103 | ImportError | ||||
104 | IndexError | ||||
105 | KeyError | ||||
106 | KeyboardInterrupt | ||||
107 | (not testable in a script) | ||||
108 | MemoryError | ||||
109 | (not safe to test) | ||||
110 | NameError | ||||
111 | OverflowError | ||||
112 | RuntimeError | ||||
113 | (not used any more?) | ||||
114 | SyntaxError | ||||
115 | SystemError | ||||
116 | (hard to reproduce) | ||||
117 | SystemExit | ||||
118 | TypeError | ||||
119 | ValueError | ||||
120 | ZeroDivisionError | ||||
121 | test_types | ||||
122 | 6. Built-in types | ||||
123 | 6.1 Truth value testing | ||||
124 | 6.2 Boolean operations | ||||
125 | 6.3 Comparisons | ||||
126 | 6.4 Numeric types (mostly conversions) | ||||
127 | 6.5 Sequence types | ||||
128 | 6.5.1 Strings | ||||
129 | 6.5.2 Tuples | ||||
130 | 6.5.3 Lists | ||||
131 | 6.5.3a Additional list operations | ||||
132 | 6.6 Mappings == Dictionaries | ||||
133 | Passed all tests. |