protoj.lang.internal.acme
Class AcmeSession

java.lang.Object
  extended by protoj.lang.internal.acme.AcmeSession

public final class AcmeSession
extends java.lang.Object

In a nutshell this represents the high level test that puts the acme project through its paces. It uses a ScriptSession to run a variety of commands and supplies matching listeners in order to verify correct functionality with assertions.

Author:
Ashley Williams

Constructor Summary
AcmeSession()
          After this constructor call the physical acme project will have been created.
 
Method Summary
 void execute()
          Kicks off the command executions.
 java.io.File getAcmeFile()
          Represents a file that should exist after the corresponding command has been executed.
 StandardProject getProject()
          Similar to the real acme project.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AcmeSession

public AcmeSession()
After this constructor call the physical acme project will have been created.

Method Detail

execute

public void execute()
Kicks off the command executions.


getProject

public StandardProject getProject()
Similar to the real acme project.

Returns:

getAcmeFile

public java.io.File getAcmeFile()
Represents a file that should exist after the corresponding command has been executed.

Returns: