protoj.lang.internal.acme
Class AssertConfigure

java.lang.Object
  extended by protoj.lang.internal.acme.AssertConfigure
All Implemented Interfaces:
ArgRunnable<ScriptSession>

public final class AssertConfigure
extends java.lang.Object
implements ArgRunnable<ScriptSession>

These assertions trigger when the configure command is invoked and ensures that interpolated properties work ok. In other words that an ordinary file is copied correctly, a properties file is merged and that in all cases variable substitution works. Additionally the undo functionality is tested so that we check all the matching files in the project directory get deleted.

Author:
Ashley Williams

Field Summary
static java.lang.String CONFIG
           
static java.lang.String UNDO
           
 
Constructor Summary
AssertConfigure(AcmeSession acmeSession)
           
 
Method Summary
 void run(ScriptSession projectSession)
          See ArgRunnable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG

public static final java.lang.String CONFIG
See Also:
Constant Field Values

UNDO

public static final java.lang.String UNDO
See Also:
Constant Field Values
Constructor Detail

AssertConfigure

public AssertConfigure(AcmeSession acmeSession)
Method Detail

run

public void run(ScriptSession projectSession)
Description copied from interface: ArgRunnable
See ArgRunnable.

Specified by:
run in interface ArgRunnable<ScriptSession>