Skip to content

Commit

Permalink
remove tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tophmatthews committed Jan 9, 2025
1 parent 1c1b30b commit d641b16
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 26 deletions.
4 changes: 2 additions & 2 deletions framework/src/base/MooseApp.C
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ MooseApp::validParams()
params.setGlobalCommandLineParam("recover");

params.addCommandLineParam<bool>(
"suppress_header", "--suppress-header", "Flag to print the App header");
"suppress_header", "--suppress-header", false, "Flag to print the App header");
params.setGlobalCommandLineParam("suppress_header");

params.addCommandLineParam<bool>(
Expand Down Expand Up @@ -734,7 +734,7 @@ MooseApp::setupOptions()
TIME_SECTION("setupOptions", 5, "Setting Up Options");

// Print the header, this is as early as possible
if (isParamValid("suppress_header") && !getParam<bool>("suppress_header"))
if (header().length() && !getParam<bool>("suppress_header"))
_console << header() << std::endl;

if (getParam<bool>("error_unused"))
Expand Down
2 changes: 0 additions & 2 deletions test/include/base/MooseTestApp.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,4 @@ class MooseTestApp : public MooseApp

static void registerAll(Factory & f, ActionFactory & af, Syntax & s, bool use_test_objs = false);
static void registerApps();

virtual std::string header() const override;
};
6 changes: 0 additions & 6 deletions test/src/base/MooseTestApp.C
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,6 @@ MooseTestApp::registerApps()
registerApp(MooseTestApp);
}

std::string
MooseTestApp::header() const
{
return std::string("MOOSE Test App\n");
}

extern "C" void
MooseTestApp__registerAll(Factory & f, ActionFactory & af, Syntax & s)
{
Expand Down
1 change: 0 additions & 1 deletion test/tests/multiapps/multilevel/dt_from_parent_parent.i
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@

[Outputs]
exodus = true
color = false
[out]
type = Console
output_file = true
Expand Down
15 changes: 0 additions & 15 deletions test/tests/multiapps/multilevel/tests
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,6 @@

detail = "where the sub-application controls the time step for the parent application,"
[]
[header_check]
type = 'RunApp'
input = 'dt_from_parent_parent.i'
prereq = group/dt_from_parent
expect_out = 'MOOSE Test App\n\nsub0: MOOSE Test App\nsub0: \nsub0_sub0: MOOSE Test App'
detail = "and append the subapp number to the header"
[]
[suppress_subapp_header]
type = 'RunApp'
input = 'dt_from_parent_parent.i'
prereq = group/header_check
cli_args = 'MultiApps/sub/cli_args=--suppress-header'
absent_out = '\nsub0: MOOSE Test App'
detail = "and suppress the subapp header."
[]
[]

[console_to_file]
Expand Down

0 comments on commit d641b16

Please sign in to comment.