compiler/tests/extras/PPCAbstractParserTest.st
changeset 529 439c4057517f
parent 516 3b81c9e53352
child 537 fb212e14d1f4
equal deleted inserted replaced
528:ebfddc82b8bb 529:439c4057517f
   100 setUpBefore
   100 setUpBefore
   101     "Called before any of my tests is run (when resources are set up)"
   101     "Called before any of my tests is run (when resources are set up)"
   102     | time configuration |
   102     | time configuration |
   103 
   103 
   104     configuration := self compilerConfiguration.
   104     configuration := self compilerConfiguration.
   105     configuration arguments parserName: self compiledParserClassName.
   105     configuration options parserName: self compiledParserClassName.
   106     configuration arguments scannerName: self compiledScannerClassName.
   106     configuration options scannerName: self compiledScannerClassName.
   107     time := Time millisecondsToRun: [
   107     time := Time millisecondsToRun: [
   108         self petitParser compileWithConfiguration: configuration.
   108         self petitParser compileWithConfiguration: configuration.
   109     ].
   109     ].
   110     Transcript show: self petitParserClass name ; show:' compiled in: '; show: time asString; show: 'ms'; cr.
   110     Transcript show: self petitParserClass name ; show:' compiled in: '; show: time asString; show: 'ms'; cr.
   111 
   111