#include <EBSDMeshErrorTest.h>
|
| void | SetUp () |
| |
| template<typename T > |
| void | testParam (unsigned int nparam, const char **param_list, std::string name) |
| |
Definition at line 23 of file EBSDMeshErrorTest.h.
◆ SetUp()
| void EBSDMeshErrorTest::SetUp |
( |
| ) |
|
|
inlineprotected |
Definition at line 26 of file EBSDMeshErrorTest.h.
27 {
28 const char * argv[2] = {"foo", "\0"};
31 }
std::shared_ptr< MooseApp > _app
std::unique_ptr< MooseApp > createMooseApp(const std::string &default_app_type, int argc, char *argv[])
◆ testParam()
| void EBSDMeshErrorTest::testParam |
( |
unsigned int |
nparam, |
|
|
const char ** |
param_list, |
|
|
std::string |
name |
|
) |
| |
|
inlineprotected |
Definition at line 34 of file EBSDMeshErrorTest.h.
35 {
36 for (unsigned int i = 0; i < nparam; ++i)
37 {
38
39 std::ostringstream oss;
40 oss <<
name <<
"_" << i;
41
42
47
48
49 params.
set<
T>(param_list[i]) =
T(1.0);
50
51
52 params.
set<FileName>(
"filename") =
"DUMMY";
53
54 try
55 {
56
57 auto mesh = std::make_unique<EBSDMeshGenerator>(params);
58
59
60 }
61 catch (const std::exception & e)
62 {
63 std::string msg(e.what());
64 ASSERT_TRUE(
65 msg.find("Do not specify mesh geometry information, it is read from the EBSD file.") !=
66 std::string::npos)
67 << "failed with unexpected error: " << msg;
68 }
69 }
70 }
static InputParameters validParams()
static const std::string name_param
static const std::string type_param
static const std::string app_param
◆ _app
| std::shared_ptr<MooseApp> EBSDMeshErrorTest::_app |
|
protected |
◆ _factory
| Factory* EBSDMeshErrorTest::_factory |
|
protected |
The documentation for this class was generated from the following file: