compiler/tests/extras/PPCLRPParserSmokeTest.st
changeset 515 b5316ef15274
child 516 3b81c9e53352
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compiler/tests/extras/PPCLRPParserSmokeTest.st	Mon Aug 17 12:13:16 2015 +0100
@@ -0,0 +1,41 @@
+"{ Package: 'stx:goodies/petitparser/compiler/tests/extras' }"
+
+"{ NameSpace: Smalltalk }"
+
+PPCompositeParserTest subclass:#PPCLRPParserSmokeTest
+	instanceVariableNames:''
+	classVariableNames:''
+	poolDictionaries:''
+	category:'PetitCompiler-Extras-Tests-LRP'
+!
+
+!PPCLRPParserSmokeTest class methodsFor:'accessing'!
+
+resources
+    ^ (OrderedCollection with: PPCLRPSourcesResource)
+        addAll: super resources;
+        yourself
+
+    "Created: / 30-07-2015 / 19:07:52 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
+!PPCLRPParserSmokeTest methodsFor:'accessing'!
+
+parserClass
+    "superclass PPCompositeParserTest says that I am responsible to implement this method"
+
+    ^ PPCLRPParser
+
+    "Modified: / 30-07-2015 / 19:07:09 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
+!PPCLRPParserSmokeTest methodsFor:'tests'!
+
+testSmoke1
+    PPCLRPSourcesResource current sources do:[:source | 
+        self parse: source
+    ].
+
+    "Created: / 30-07-2015 / 19:07:22 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+