compiler/tests/PPCNodeTest.st
changeset 537 fb212e14d1f4
parent 534 a949c4fe44df
child 538 16e8536f5cfb
--- a/compiler/tests/PPCNodeTest.st	Mon Sep 07 08:03:02 2015 +0100
+++ b/compiler/tests/PPCNodeTest.st	Mon Sep 07 08:20:46 2015 +0100
@@ -3,7 +3,7 @@
 "{ NameSpace: Smalltalk }"
 
 TestCase subclass:#PPCNodeTest
-	instanceVariableNames:'node configuration'
+	instanceVariableNames:'node compiler'
 	classVariableNames:''
 	poolDictionaries:''
 	category:'PetitCompiler-Tests-Nodes'
@@ -147,14 +147,16 @@
 !
 
 setUp
-    configuration := PPCConfiguration default.
-    configuration context options generate: false.
+    compiler := PPCCompiler default.
+    compiler context options generate:false.
 
     "Modified: / 28-08-2015 / 14:19:02 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 treeFrom: parser
-    ^ parser compileWithConfiguration: configuration
+    ^ parser compileUsingCompiler: compiler
+
+    "Modified: / 07-09-2015 / 10:06:47 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
 !PPCNodeTest methodsFor:'tests - converting'!