equal
deleted
inserted
replaced
|
1 "{ Package: 'ctu:dart/compiler/tests' }" |
|
2 |
|
3 "{ NameSpace: Dart }" |
|
4 |
|
5 TestCase subclass:#ScannerTests |
|
6 instanceVariableNames:'' |
|
7 classVariableNames:'' |
|
8 poolDictionaries:'' |
|
9 category:'Languages-Dart-Parser-Tests' |
|
10 ! |
|
11 |
|
12 |
|
13 !ScannerTests methodsFor:'tests'! |
|
14 |
|
15 test_01 |
|
16 |
|
17 self assert: |
|
18 (Dart::Scanner scan: 'import ''dart:html''; void main() { }') asArray |
|
19 = #(#import #String $; #void #identifier $( $) ${ $} ) |
|
20 |
|
21 "Created: / 11-01-2013 / 12:53:30 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
22 ! |
|
23 |
|
24 test_02 |
|
25 |
|
26 self assert: |
|
27 (Dart::Scanner scan: 'a |= 1') asArray |
|
28 = #() |
|
29 |
|
30 "Created: / 11-01-2013 / 15:46:48 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
31 ! ! |
|
32 |
|
33 !ScannerTests class methodsFor:'documentation'! |
|
34 |
|
35 version_HG |
|
36 |
|
37 ^ '$Changeset: <not expanded> $' |
|
38 ! ! |
|
39 |