author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Tue, 04 Nov 2014 00:31:38 +0000 | |
changeset 10 | 5df5a2f8e4b5 |
parent 9 | ae0dabfd3321 |
permissions | -rw-r--r-- |
8
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
1 |
"{ Package: 'ctu:dart/compiler/tests' }" |
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
2 |
|
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
3 |
"{ NameSpace: Dart }" |
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
4 |
|
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
5 |
TestCase subclass:#ScannerTests |
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
6 |
instanceVariableNames:'' |
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
7 |
classVariableNames:'' |
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
8 |
poolDictionaries:'' |
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
9 |
category:'Languages-Dart-Parser-Tests' |
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
10 |
! |
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
11 |
|
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
12 |
|
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
13 |
!ScannerTests methodsFor:'tests'! |
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
14 |
|
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
15 |
test_01 |
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
16 |
|
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
17 |
self assert: |
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
18 |
(Dart::Scanner scan: 'import ''dart:html''; void main() { }') asArray |
9 | 19 |
= #(#import #String $; #void #Identifier $( $) ${ $} ) |
8
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
20 |
|
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
21 |
"Created: / 11-01-2013 / 12:53:30 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
9 | 22 |
"Modified: / 04-11-2014 / 00:17:22 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
8
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
23 |
! |
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
24 |
|
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
25 |
test_02 |
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
26 |
|
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
27 |
self assert: |
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
28 |
(Dart::Scanner scan: 'a |= 1') asArray |
9 | 29 |
= #(#Identifier #'|=' #Integer) |
8
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
30 |
|
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
31 |
"Created: / 11-01-2013 / 15:46:48 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
9 | 32 |
"Modified: / 04-11-2014 / 00:17:41 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
8
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
33 |
! ! |
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
34 |
|
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
35 |
!ScannerTests class methodsFor:'documentation'! |
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
36 |
|
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
37 |
version_HG |
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
38 |
|
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
39 |
^ '$Changeset: <not expanded> $' |
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
40 |
! ! |
c2de4aaa2670
Tests moved to separate sub-package named tests to follow convention.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
41 |