umich.cac.pbs.test
Class ExecutionRecordTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byumich.cac.pbs.test.ExecutionRecordTest
All Implemented Interfaces:
junit.framework.Test

public class ExecutionRecordTest
extends junit.framework.TestCase

Tests for ExecutionRecord class.

Version:
$Header: /cvsroot/pbsaccounting/pbsaccounting/doc/javadoc/umich/cac/pbs/test/ExecutionRecordTest.html,v 1.6 2003/10/21 20:33:48 rodmach Exp $
Author:
rmach@umich.edu

Constructor Summary
ExecutionRecordTest(java.lang.String testName)
          Constructor
 
Method Summary
static void main(java.lang.String[] args)
          Main - for running stand-alone test
static junit.framework.Test suite()
          Return a new test suite
 void testExecutionXML()
          Test that ExecutionRecord returns the correct XML given a example E record
 void testPPNAndOpenPbsExecutionXML()
          Test that ExecutionRecord with Processors Per Node in OpenPBS Style returns the correct XML given a example E record
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExecutionRecordTest

public ExecutionRecordTest(java.lang.String testName)
Constructor

Parameters:
testName - name of test suite
Method Detail

main

public static void main(java.lang.String[] args)
Main - for running stand-alone test

Parameters:
args - command line arguments

suite

public static junit.framework.Test suite()
Return a new test suite

Returns:
a new test suite

testExecutionXML

public void testExecutionXML()
Test that ExecutionRecord returns the correct XML given a example E record


testPPNAndOpenPbsExecutionXML

public void testPPNAndOpenPbsExecutionXML()
Test that ExecutionRecord with Processors Per Node in OpenPBS Style returns the correct XML given a example E record