CYCAMORE
Public Member Functions | Public Attributes | List of all members
run_inputs.TestFile Class Reference

Public Member Functions

def __init__ (self, cyclus_path, file_path, flag)
 
def __init__ (self, cyclus_path, file_path, flag)
 
def get_output (self)
 
def get_output (self)
 
def no_errors (self, output)
 
def no_errors (self, output)
 
def run (self)
 
def run (self)
 

Public Attributes

 cyclus_path
 
 flag
 
 infile
 
 passed
 

Detailed Description

An object representing the inputxml file to test

Definition at line 116 of file _tmp_build/bin/run_inputs.py.

Constructor & Destructor Documentation

def run_inputs.TestFile.__init__ (   self,
  cyclus_path,
  file_path,
  flag 
)

Definition at line 118 of file _tmp_build/bin/run_inputs.py.

Referenced by run_inputs.TestFile.__init__().

def run_inputs.TestFile.__init__ (   self,
  cyclus_path,
  file_path,
  flag 
)

Member Function Documentation

def run_inputs.TestFile.get_output (   self)
Returns the output from running the FileTest

Definition at line 132 of file _tmp_build/bin/run_inputs.py.

References run_inputs.TestFile.cyclus_path, run_inputs.TestFile.flag, and run_inputs.TestFile.infile.

Referenced by run_inputs.TestFile.get_output(), and run_inputs.TestFile.run().

def run_inputs.TestFile.get_output (   self)
Returns the output from running the FileTest

Definition at line 132 of file tests/run_inputs.py.

References run_inputs.TestFile.cyclus_path, run_inputs.TestFile.flag, run_inputs.TestFile.get_output(), and run_inputs.TestFile.infile.

def run_inputs.TestFile.no_errors (   self,
  output 
)
returns true if there were no errors or segfaults running this TestFile

Definition at line 143 of file tests/run_inputs.py.

References run_inputs.TestFile.infile, run_inputs.main(), and run_inputs.TestFile.no_errors().

def run_inputs.TestFile.no_errors (   self,
  output 
)
returns true if there were no errors or segfaults running this TestFile

Definition at line 143 of file _tmp_build/bin/run_inputs.py.

References run_inputs.TestFile.infile, and run_inputs.main().

Referenced by run_inputs.TestFile.no_errors(), and run_inputs.TestFile.run().

def run_inputs.TestFile.run (   self)
def run_inputs.TestFile.run (   self)

Member Data Documentation

run_inputs.TestFile.cyclus_path
run_inputs.TestFile.flag
run_inputs.TestFile.infile
run_inputs.TestFile.passed

The documentation for this class was generated from the following file: