|
preCICE v3.3.0
|
Functions | |
| is_precice_root (dir) | |
| find_precice_root () | |
| locateTemplate (filepath) | |
| dirToSuite (dir) | |
| checkTestSuite (arg) | |
| checkTestName (arg) | |
| testarg (arg) | |
| generateTestSource (name, suite, filepath) | |
| generateTestSourceFromExisting (name, suite, filepath, existingSource) | |
| generateTestConfig (name, suite, filepath) | |
| main () | |
Variables | |
| list | ABBREVIATIONS = ["MPI", "QN", "RBF", "NN", "NP"] |
| str | PRECICE_TEST_BODY |
| createTest.checkTestName | ( | arg | ) |
Definition at line 76 of file createTest.py.
| createTest.checkTestSuite | ( | arg | ) |
Definition at line 51 of file createTest.py.
| createTest.dirToSuite | ( | dir | ) |
Takes a kebab-case-directory and transforms it to a CamelCaseDirectory. Abbreviations defined above will be all upper case.
Definition at line 35 of file createTest.py.
| createTest.find_precice_root | ( | ) |
| createTest.generateTestConfig | ( | name, | |
| suite, | |||
| filepath ) |
Definition at line 201 of file createTest.py.
| createTest.generateTestSource | ( | name, | |
| suite, | |||
| filepath ) |
Definition at line 150 of file createTest.py.
| createTest.generateTestSourceFromExisting | ( | name, | |
| suite, | |||
| filepath, | |||
| existingSource ) |
Definition at line 174 of file createTest.py.
| createTest.is_precice_root | ( | dir | ) |
Definition at line 11 of file createTest.py.
| createTest.locateTemplate | ( | filepath | ) |
Definition at line 26 of file createTest.py.
| createTest.main | ( | ) |
| createTest.testarg | ( | arg | ) |
Checks the given test argument and computes: - the location as pathlib.PurePath - the suites as a list of suite names - the name of the test
Definition at line 93 of file createTest.py.
| list createTest.ABBREVIATIONS = ["MPI", "QN", "RBF", "NN", "NP"] |
Definition at line 32 of file createTest.py.
| str createTest.PRECICE_TEST_BODY |
Definition at line 128 of file createTest.py.