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 = cyclus_path
 
str flag = " "+flag+" "
 
 infile = file_path
 
bool passed = True
 

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 )

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

References cyclus_path, flag, infile, run_inputs.Summary.passed, and passed.

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 cyclus_path, flag, and infile.

Referenced by 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 cyclus_path, flag, and infile.

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

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

◆ run() [1/2]

run_inputs.TestFile.run ( self)
Runs all of the input file tests

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

References get_output(), no_errors(), run_inputs.Summary.passed, and passed.

◆ run() [2/2]

run_inputs.TestFile.run ( self)
Runs all of the input file tests

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

References get_output(), no_errors(), run_inputs.Summary.passed, and passed.

Member Data Documentation

◆ cyclus_path

run_inputs.TestFile.cyclus_path = cyclus_path

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

Referenced by __init__(), and get_output().

◆ flag

str run_inputs.TestFile.flag = " "+flag+" "

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

Referenced by __init__(), and get_output().

◆ infile

run_inputs.TestFile.infile = file_path

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

Referenced by __init__(), get_output(), and no_errors().

◆ passed

bool run_inputs.TestFile.passed = True

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

Referenced by __init__(), and run().


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