compiler/Dart__ScannerTests.st
changeset 3 46c322c66a29
child 6 06efdfe62106
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compiler/Dart__ScannerTests.st	Fri Jan 11 13:40:41 2013 +0000
@@ -0,0 +1,29 @@
+"{ Package: 'jv:dart/compiler' }"
+
+"{ NameSpace: Dart }"
+
+TestCase subclass:#ScannerTests
+	instanceVariableNames:''
+	classVariableNames:''
+	poolDictionaries:''
+	category:'Languages-Dart-Parser-Tests'
+!
+
+
+!ScannerTests methodsFor:'tests'!
+
+test_01
+
+    self assert:
+        (Dart::Scanner scan: 'import ''dart:html''; void main() { }') asArray
+            = #(#import #String $; #void #identifier $( $) ${ $} )
+
+    "Created: / 11-01-2013 / 12:53:30 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
+!ScannerTests class methodsFor:'documentation'!
+
+version_HG
+
+    ^ '$Changeset: <not expanded> $'
+! !