org.prorefactor.core.unittest
Class TP01ProcessActionTest

java.lang.Object
  extended by TestCase
      extended by org.prorefactor.core.unittest.TP01ProcessActionTest

public class TP01ProcessActionTest
extends TestCase

Tests for Calls and Routines in the tree parser.


Constructor Summary
TP01ProcessActionTest(java.lang.String name)
           
 
Method Summary
 void setUp()
           
 void testCompileFileCalls()
          Parse compile-file.p and verify that all calls are registered correctly, for each scope.
 void testPersistenProc()
          Parse persistent-run.p and verify that: a) run persistent set results in the handle variable being updated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TP01ProcessActionTest

public TP01ProcessActionTest(java.lang.String name)
Parameters:
name -
Method Detail

setUp

public void setUp()

testCompileFileCalls

public void testCompileFileCalls()
                          throws java.lang.Exception
Parse compile-file.p and verify that all calls are registered correctly, for each scope.

Throws:
RefactorException
java.lang.Exception

testPersistenProc

public void testPersistenProc()
                       throws java.lang.Exception
Parse persistent-run.p and verify that: a) run persistent set results in the handle variable being updated. b) run in is registered as a call to proc1.proc2.

Throws:
java.lang.Exception


Copyright © 2008 Joanju Software. All Rights Reserved.