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

◆ __init__() [1/2]

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__().

◆ __init__() [2/2]

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

Member Function Documentation

◆ get_output() [1/2]

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().

◆ get_output() [2/2]

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.

Here is the call graph for this function:

◆ no_errors() [1/2]

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().

Here is the call graph for this function:

◆ no_errors() [2/2]

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().

Here is the call graph for this function:

◆ run() [1/2]

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

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

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

Here is the call graph for this function:

◆ run() [2/2]

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

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

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

Referenced by run_inputs.TestFile.run().

Here is the call graph for this function:

Member Data Documentation

◆ cyclus_path

run_inputs.TestFile.cyclus_path

◆ flag

run_inputs.TestFile.flag

◆ infile

run_inputs.TestFile.infile

◆ passed

run_inputs.TestFile.passed

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