From 9aa657e30d2ff1b603bfce615acf01ccac10bb89 Mon Sep 17 00:00:00 2001 From: Daniel Schwen Date: Thu, 15 Sep 2022 10:59:12 -0600 Subject: [PATCH] Format test specs (#21885) --- .../auxkernels/matl_scaled_gradient_vector/tests | 3 ++- .../test/tests/optimizationreporter/base/tests | 2 +- .../optimizationreporter/constant_heat_source/tests | 11 +++++------ .../tests/optimizationreporter/point_loads/tests | 2 +- .../test/tests/reporter/GriddedDataReporter/tests | 6 ++++-- .../element_source_inner_product/tests | 2 +- .../measured_data_point_sampler/tests | 12 ++++++------ 7 files changed, 20 insertions(+), 18 deletions(-) diff --git a/modules/optimization/test/tests/auxkernels/matl_scaled_gradient_vector/tests b/modules/optimization/test/tests/auxkernels/matl_scaled_gradient_vector/tests index 6e603e6a91c1..a40f13e55739 100644 --- a/modules/optimization/test/tests/auxkernels/matl_scaled_gradient_vector/tests +++ b/modules/optimization/test/tests/auxkernels/matl_scaled_gradient_vector/tests @@ -5,6 +5,7 @@ type = CSVDiff input = gradientVector.i csvdiff = gradientVector_out_results_0001.csv - requirement = "The system shall be able to compute a vector auxvariable given by scaling a variables gradient by a material property" + requirement = "The system shall be able to compute a vector auxvariable given by scaling a " + "variables gradient by a material property" [] [] diff --git a/modules/optimization/test/tests/optimizationreporter/base/tests b/modules/optimization/test/tests/optimizationreporter/base/tests index 1200da1f06b7..acef32ef9db3 100644 --- a/modules/optimization/test/tests/optimizationreporter/base/tests +++ b/modules/optimization/test/tests/optimizationreporter/base/tests @@ -15,5 +15,5 @@ jsondiff = optRep_fromCsv_out.json allow_test_objects = true detail = "parameter data from the input file and and measurment data from a CSV file." - [] + [] [] diff --git a/modules/optimization/test/tests/optimizationreporter/constant_heat_source/tests b/modules/optimization/test/tests/optimizationreporter/constant_heat_source/tests index a26ee7fed619..e83c09051ba3 100644 --- a/modules/optimization/test/tests/optimizationreporter/constant_heat_source/tests +++ b/modules/optimization/test/tests/optimizationreporter/constant_heat_source/tests @@ -2,9 +2,8 @@ issues = '#21885' design = 'MaterialScaledGradientVector.md OptimizationMultiAppCommandLineControl.md' [constant_material] - requirement = "The OptimizationMultiAppCommandLineControl shall control " - "parameters being optimized oon the subapp that are not " - "controllable by a reciever." + requirement = "The OptimizationMultiAppCommandLineControl shall control parameters being " + "optimized oon the subapp that are not controllable by a reciever." type = CSVDiff max_threads = 1 rel_err = 0.01 @@ -14,9 +13,9 @@ recover = false [] [t_dependent_material] - requirement = "The MaterialScaledGradientVector shall provide a variable " - "gradient scaled by a material property that linearizes a " - "nonlinear temperature dependent thermal conductivity." + requirement = "The MaterialScaledGradientVector shall provide a variable gradient scaled by a " + "material property that linearizes a nonlinear temperature dependent thermal " + "conductivity." type = CSVDiff max_threads = 1 rel_err = 0.1 diff --git a/modules/optimization/test/tests/optimizationreporter/point_loads/tests b/modules/optimization/test/tests/optimizationreporter/point_loads/tests index e53699ec91bf..ffedf445e78f 100644 --- a/modules/optimization/test/tests/optimizationreporter/point_loads/tests +++ b/modules/optimization/test/tests/optimizationreporter/point_loads/tests @@ -1,7 +1,7 @@ [Tests] issues = '#21885' design = 'ReporterPointSource.md' - requirement = The system shall be able to invert for point loads using " + requirement = "The system shall be able to invert for point loads using " [hessian] type = CSVDiff max_threads = 1 diff --git a/modules/optimization/test/tests/reporter/GriddedDataReporter/tests b/modules/optimization/test/tests/reporter/GriddedDataReporter/tests index 72bf5c46ef16..f15111625e80 100644 --- a/modules/optimization/test/tests/reporter/GriddedDataReporter/tests +++ b/modules/optimization/test/tests/reporter/GriddedDataReporter/tests @@ -1,8 +1,10 @@ [Tests] [xyGrid] - requirement = "This tests that a reporter is able to read in a gridded data file and produce the appropriate grid from it that can be used in PiecewiseMultiInterpolation like functions." + requirement = "This tests that a reporter is able to read in a gridded data file and produce the " + "appropriate grid from it that can be used in PiecewiseMultiInterpolation like " + "functions." type = JSONDiff input = 'griddedData.i' - jsondiff= 'griddedData_out.json' + jsondiff = 'griddedData_out.json' [] [] diff --git a/modules/optimization/test/tests/vectorpostprocessors/element_source_inner_product/tests b/modules/optimization/test/tests/vectorpostprocessors/element_source_inner_product/tests index 905a084b07de..654cefef7cf2 100644 --- a/modules/optimization/test/tests/vectorpostprocessors/element_source_inner_product/tests +++ b/modules/optimization/test/tests/vectorpostprocessors/element_source_inner_product/tests @@ -8,4 +8,4 @@ issues = '#42' requirement = 'They system shall be able to compute the inner product of a variable and a nearest node optimization volumetric source function.' [] -[] \ No newline at end of file +[] diff --git a/modules/optimization/test/tests/vectorpostprocessors/measured_data_point_sampler/tests b/modules/optimization/test/tests/vectorpostprocessors/measured_data_point_sampler/tests index e3dc4db15a8a..e29e0d8f985b 100644 --- a/modules/optimization/test/tests/vectorpostprocessors/measured_data_point_sampler/tests +++ b/modules/optimization/test/tests/vectorpostprocessors/measured_data_point_sampler/tests @@ -3,12 +3,12 @@ issues = 'None' [sort] - requirement = "Measured point value sampler can hold a vector of measurement data and sort" - "it the same as the sampler dataVector post-processor values shall be able to" - "be compute a difference measure between two vectors and return a Real " - type = 'CSVDiff' + requirement = "Measured point value sampler can hold a vector of measurement data and sortit the " + "same as the sampler dataVector post-processor values shall be able tobe compute a " + "difference measure between two vectors and return a Real " + type = 'CSVDiff' max_threads = 1 - input = 'measured_point_value_sampler.i' - csvdiff = 'measured_point_value_sampler_out_point_measure_sample_0001.csv' + input = 'measured_point_value_sampler.i' + csvdiff = 'measured_point_value_sampler_out_point_measure_sample_0001.csv' [] []