Philipp A. Hartmann c8d298bc9e documenttest.cpp: EXPECT_THROW when checking empty allocator (closes #469)
In the MoveConstructor/MoveAssignment tests, a check for a `NULL` allocator
return has been used to check for the correct moved-from state of a Document.
After the merge of #426, the GetAllocator call fails with an assertion,
if the allocator of a GenericDocument is NULL.

Check for the throw, instead of NULL in the move-related tests.
Tested with GCC 4.9 on Linux with C++11 enabled.

Reported-by: @woldendans
2015-11-16 21:32:09 +01:00
..
2015-04-18 21:41:38 +08:00
2015-10-14 00:04:29 +03:00
2015-04-18 21:41:38 +08:00
2015-04-21 16:38:49 +08:00
2015-04-18 21:41:38 +08:00
2015-07-13 09:35:15 +02:00