compiler/tests/extras/PPCompiledSmalltalkParserResource.st
changeset 502 1e45d3c96ec5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compiler/tests/extras/PPCompiledSmalltalkParserResource.st	Fri Jul 24 15:06:54 2015 +0100
@@ -0,0 +1,26 @@
+"{ Package: 'stx:goodies/petitparser/compiler/tests/extras' }"
+
+"{ NameSpace: Smalltalk }"
+
+TestResource subclass:#PPCompiledSmalltalkParserResource
+	instanceVariableNames:''
+	classVariableNames:''
+	poolDictionaries:''
+	category:'PetitCompiler-Extras-Tests-Smalltalk'
+!
+
+!PPCompiledSmalltalkParserResource methodsFor:'as yet unclassified'!
+
+setUp
+    | time configuration |
+    configuration := PPCConfiguration universal.
+    configuration arguments parserName:#PPCompiledSmalltalkParser.
+    
+    time := Time millisecondsToRun: [
+        PPSmalltalkParser new compileWithConfiguration: configuration.
+    ].
+    Transcript show: 'Smalltalk Parser compiled in: '; show: time asString; show: 'ms'; cr.
+
+    "Modified: / 10-05-2015 / 07:57:43 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+