--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/compiler/tests/extras/PPCompiledSmalltalkParserTests.st Fri Jul 24 15:06:54 2015 +0100
@@ -0,0 +1,39 @@
+"{ Package: 'stx:goodies/petitparser/compiler/tests/extras' }"
+
+"{ NameSpace: Smalltalk }"
+
+PPCompositeParserTest subclass:#PPCompiledSmalltalkParserTests
+ instanceVariableNames:''
+ classVariableNames:''
+ poolDictionaries:''
+ category:'PetitCompiler-Extras-Tests-Smalltalk'
+!
+
+!PPCompiledSmalltalkParserTests class methodsFor:'as yet unclassified'!
+
+resources
+ ^ (OrderedCollection with: PPCompiledSmalltalkParserResource)
+ addAll: super resources;
+ yourself
+! !
+
+!PPCompiledSmalltalkParserTests methodsFor:'as yet unclassified'!
+
+context
+ ^ PPCContext new
+!
+
+parserClass
+ ^ Smalltalk at: #PPCompiledSmalltalkParser
+!
+
+parserInstanceFor: aSymbol
+ ^ (Smalltalk at: #PPCompiledSmalltalkParser) new startSymbol: aSymbol
+!
+
+testBlock1
+ self
+ parse: '[]'
+ rule: #block
+! !
+