diff options
Diffstat (limited to 'metrics/src')
-rw-r--r-- | metrics/src/tests/snapshottest.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/metrics/src/tests/snapshottest.cpp b/metrics/src/tests/snapshottest.cpp index 816b3456c7e..75af75999d1 100644 --- a/metrics/src/tests/snapshottest.cpp +++ b/metrics/src/tests/snapshottest.cpp @@ -194,7 +194,7 @@ struct FakeTimer : public MetricManager::Timer { time_t getTime() const override { return _timeInSecs; } }; -} // End of anonymous namespace +void ASSERT_VALUE(int32_t value, const MetricSnapshot & snapshot, const char *name) __attribute__((noinline)); void ASSERT_VALUE(int32_t value, const MetricSnapshot & snapshot, const char *name) { @@ -205,6 +205,8 @@ void ASSERT_VALUE(int32_t value, const MetricSnapshot & snapshot, const char *na CPPUNIT_ASSERT_EQUAL(value, int32_t(_metricValue_->getLongValue("value"))); } +} // End of anonymous namespace + void SnapshotTest::testSnapshotTwoDays() { // Create load types |