org.rundeck.api.parser
Class ParserHelperTest

java.lang.Object
  extended by org.rundeck.api.parser.ParserHelperTest

public class ParserHelperTest
extends Object

Test the ParserHelper

Author:
Vincent Behar

Constructor Summary
ParserHelperTest()
           
 
Method Summary
 void loadEmptyDocument()
          XML with no result should NOT throw an exception
 void loadErrorDocument()
          XML with an explicit "error" result should throw an exception
 void loadSuccessDocument()
          XML with an explicit "success" result should NOT throw an exception
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserHelperTest

public ParserHelperTest()
Method Detail

loadErrorDocument

public void loadErrorDocument()
                       throws Exception
XML with an explicit "error" result should throw an exception

Throws:
Exception

loadSuccessDocument

public void loadSuccessDocument()
                         throws Exception
XML with an explicit "success" result should NOT throw an exception

Throws:
Exception

loadEmptyDocument

public void loadEmptyDocument()
                       throws Exception
XML with no result should NOT throw an exception

Throws:
Exception


Copyright © 2011. All Rights Reserved.