Skip to content
Snippets Groups Projects
Commit 2527b0ce authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Ignore unreachable safety code in coverage

parent 33432590
No related branches found
No related tags found
1 merge request!124Add files for high order integration with quadratures
...@@ -228,9 +228,11 @@ CubeGaussQuadrature::_buildPointAndWeightLists() ...@@ -228,9 +228,11 @@ CubeGaussQuadrature::_buildPointAndWeightLists()
k += 48; k += 48;
break; break;
} }
// LCOV_EXCL_START
default: { default: {
throw UnexpectedError("invalid quadrature id"); throw UnexpectedError("invalid quadrature id");
} }
// LCOV_EXCL_STOP
} }
} }
}; };
......
...@@ -133,9 +133,11 @@ PrismGaussQuadrature::_buildPointAndWeightLists() ...@@ -133,9 +133,11 @@ PrismGaussQuadrature::_buildPointAndWeightLists()
k += 12; k += 12;
break; break;
} }
// LCOV_EXCL_START
default: { default: {
throw UnexpectedError("invalid quadrature id"); throw UnexpectedError("invalid quadrature id");
} }
// LCOV_EXCL_STOP
} }
} }
}; };
......
...@@ -88,9 +88,11 @@ PyramidGaussQuadrature::_buildPointAndWeightLists() ...@@ -88,9 +88,11 @@ PyramidGaussQuadrature::_buildPointAndWeightLists()
k += 8; k += 8;
break; break;
} }
// LCOV_EXCL_START
default: { default: {
throw UnexpectedError("invalid quadrature id"); throw UnexpectedError("invalid quadrature id");
} }
// LCOV_EXCL_STOP
} }
} }
}; };
......
...@@ -83,9 +83,11 @@ SquareGaussQuadrature::_buildPointAndWeightLists() ...@@ -83,9 +83,11 @@ SquareGaussQuadrature::_buildPointAndWeightLists()
k += 8; k += 8;
break; break;
} }
// LCOV_EXCL_START
default: { default: {
throw UnexpectedError("invalid quadrature id"); throw UnexpectedError("invalid quadrature id");
} }
// LCOV_EXCL_STOP
} }
} }
......
...@@ -136,9 +136,11 @@ TetrahedronGaussQuadrature::_buildPointAndWeightLists() ...@@ -136,9 +136,11 @@ TetrahedronGaussQuadrature::_buildPointAndWeightLists()
k += 24; k += 24;
break; break;
} }
// LCOV_EXCL_START
default: { default: {
throw UnexpectedError("invalid quadrature id"); throw UnexpectedError("invalid quadrature id");
} }
// LCOV_EXCL_STOP
} }
} }
}; };
......
...@@ -70,9 +70,11 @@ TriangleGaussQuadrature::_buildPointAndWeightLists() ...@@ -70,9 +70,11 @@ TriangleGaussQuadrature::_buildPointAndWeightLists()
k += 6; k += 6;
break; break;
} }
// LCOV_EXCL_START
default: { default: {
throw UnexpectedError("invalid quadrature id"); throw UnexpectedError("invalid quadrature id");
} }
// LCOV_EXCL_STOP
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment