CYCAMORE
Loading...
Searching...
No Matches
run_inputs.TestFile Class Reference

Public Member Functions

 __init__ (self, cyclus_path, file_path, flag)
 
 __init__ (self, cyclus_path, file_path, flag)
 
 get_output (self)
 
 get_output (self)
 
 no_errors (self, output)
 
 no_errors (self, output)
 
 run (self)
 
 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 build/bin/run_inputs.py.

Constructor & Destructor Documentation

◆ __init__() [1/2]

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

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

◆ __init__() [2/2]

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

Member Function Documentation

◆ get_output() [1/2]

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

Definition at line 132 of file 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.run().

◆ get_output() [2/2]

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, and run_inputs.TestFile.infile.

Referenced by run_inputs.TestFile.run().

◆ no_errors() [1/2]

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 build/bin/run_inputs.py.

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

Referenced by run_inputs.TestFile.run().

◆ no_errors() [2/2]

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, and run_inputs.main().

Referenced by run_inputs.TestFile.run().

◆ run() [1/2]

run_inputs.TestFile.run ( self)

◆ run() [2/2]

run_inputs.TestFile.run ( self)

Member Data Documentation

◆ cyclus_path

run_inputs.TestFile.cyclus_path

◆ flag

run_inputs.TestFile.flag

◆ infile

run_inputs.TestFile.infile

◆ passed


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