LCOV - code coverage report
Current view: top level - src/timesteppers - TestSourceStepper.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 2bf808 Lines: 11 13 84.6 %
Date: 2025-07-17 01:28:37 Functions: 3 3 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //* This file is part of the MOOSE framework
       2             : //* https://mooseframework.inl.gov
       3             : //*
       4             : //* All rights reserved, see COPYRIGHT for full restrictions
       5             : //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
       6             : //*
       7             : //* Licensed under LGPL 2.1, please see LICENSE for details
       8             : //* https://www.gnu.org/licenses/lgpl-2.1.html
       9             : 
      10             : #include "TestSourceStepper.h"
      11             : 
      12             : registerMooseObject("MooseTestApp", TestSourceStepper);
      13             : 
      14             : InputParameters
      15       14271 : TestSourceStepper::validParams()
      16             : {
      17       14271 :   InputParameters params = TimeStepper::validParams();
      18       14271 :   params.addRequiredParam<Real>("dt", "Size of the time step");
      19             : 
      20       14271 :   params.addClassDescription("A Timestepper that used to test rejectStep with CompositionDT");
      21             : 
      22       14271 :   return params;
      23           0 : }
      24             : 
      25           4 : TestSourceStepper::TestSourceStepper(const InputParameters & parameters)
      26           4 :   : TimeStepper(parameters), _dt(getParam<Real>("dt"))
      27             : {
      28           4 : }
      29             : 
      30             : void
      31           4 : TestSourceStepper::rejectStep()
      32             : {
      33           4 :   TimeStepper::rejectStep();
      34           4 :   mooseWarning("rejectStep() calls from TestSourceStepper");
      35           0 : }

Generated by: LCOV version 1.14