Skip to content
Snippets Groups Projects
Commit ec8c440c authored by Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony
Browse files

Improve MemoryTest. Refs #5269

parent 31aa681d
No related branches found
No related tags found
No related merge requests found
......@@ -33,11 +33,11 @@ public:
TS_ASSERT_LESS_THAN_EQUALS(0, mem.availMem() );
TS_ASSERT_DIFFERS( mem.availMemStr(), "" );
TS_ASSERT_LESS_THAN_EQUALS(0, mem.reservedMem());
TS_ASSERT_LESS_THAN_EQUALS(0, mem.totalMem());
TS_ASSERT_LESS_THAN(0, mem.totalMem()); // The machine must have some memory
TS_ASSERT_DIFFERS( mem.totalMemStr(), "" );
// Current process stats
TS_ASSERT_LESS_THAN_EQUALS(0, mem.residentMem());
TS_ASSERT_LESS_THAN(0, mem.residentMem()); // Current process must use something
TS_ASSERT_DIFFERS( mem.resUsageStr(), "");
TS_ASSERT_LESS_THAN_EQUALS(0, mem.virtualMem());
TS_ASSERT_DIFFERS( mem.vmUsageStr(), "");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment