Commit Graph
24 Commits
Author SHA1 Message Date
Daniel James ef2f5116dd It is currently proposed that insert, erase and rehash should be stable. Change insert(hint, value) so that it inserts at the end of a group of
equivalent keys (all the other functions were already stable).


[SVN r4146]
2007-05-20 17:37:27 +00:00
Daniel James e73b90fa86 ** empty log message **
[SVN r4139]
2007-05-19 20:04:14 +00:00
Daniel James ec240d22ed Stop using Boost.Random as it doesn't support all the platforms I do. The new
code (using std::rand) needs work, but I want to get this in before the sandbox
is converted to subversion.


[SVN r3993]
2007-05-01 21:24:48 +00:00
Daniel James 3e532104d2 Rename some pointer classes to avoid shadowing them in the test allocator.
[SVN r3992]
2007-05-01 21:22:01 +00:00
Daniel James df1e1598a5 Import latest changes to the unordered containers. Includes:
Copyright update.
Switch back to the version where the sentinel points to itself.
Remove alternative versions of swap.
Workaround a borland bug or two.
More consistent use of class/swap/template.
Avoid a few warnings.
Add a no-throw swap to the allocator for exception testing.


[SVN r3793]
2007-03-18 20:00:59 +00:00
Daniel James f979c07d2e Check that exceptions thrown when swapping meet the exception requirements.
[SVN r3620]
2007-01-10 00:06:55 +00:00
Daniel James 8d8f9e1942 Add a test that unnecessary copies aren't made of objects inserted.
Make the exception tests track the allocator usage.
Speed up the exception tests a bit.


[SVN r3490]
2006-12-03 23:08:17 +00:00
Daniel James ec310f7b80 Update the unordered tests. Several changes including extra erase tests. The newer version of the containers have a hairy erase implementation, so need to test all the special cases. Also, a few extra tests here and there, avoid a couple of warnings and remove some old TODOs.
[SVN r3341]
2006-10-31 22:19:26 +00:00
Daniel James 828dbe5078 Test inserting and constructing from input iterators.
Check thrown exception types properly.
Return by reference from 'get_key' so that the keys aren't copied.


[SVN r3115]
2006-08-06 20:42:45 +00:00
Daniel James dd2ea72220 Update the copyright in the unordered container tests.
[SVN r3040]
2006-07-01 22:31:26 +00:00
Daniel James f9907e4a55 Get unordered working on Visual C++ 6.5
[SVN r2992]
2006-06-18 13:24:38 +00:00
Daniel James ff91c72eec Improved support for Visual C++.
[SVN r2985]
2006-06-12 23:30:46 +00:00
Daniel James 58dda15273 Improved support for testing on older versions of gcc.
Link tests.
Plus more...


[SVN r2980]
2006-06-11 19:42:55 +00:00
Daniel James fbd37a946b More tests for unordered associative containers.
[SVN r2959]
2006-05-21 17:14:11 +00:00
Daniel James 1be8ab0d30 Add some tests for the unordered associative containers.
[SVN r2954]
2006-05-17 17:19:16 +00:00
Daniel James 1301d774e0 Add a small note about testing allocators.
[SVN r2953]
2006-05-17 17:15:26 +00:00
Daniel James e33f1b21d6 Update the container compile tests to include cbegin/cend. And add the
copyright notice.


[SVN r2952]
2006-05-17 17:09:47 +00:00
Daniel James 56e67a9d7d Get the unordered tests running on Visual C++ 6.5
[SVN r2896]
2006-03-20 20:01:45 +00:00
Daniel James c9e2182aa9 Some tests.
[SVN r2892]
2006-03-19 22:24:06 +00:00
Daniel James 351cd6e8a1 Remove more of the old unordered containers test files.
[SVN r2878]
2006-02-27 00:54:08 +00:00
Daniel James a912bbd9ac Remove the old unordered container tests.
[SVN r2877]
2006-02-26 23:28:03 +00:00
Daniel James dc9951437b Improve this test on Visual C++ 6, still fails though.
[SVN r2737]
2005-11-09 21:11:28 +00:00
Daniel James 8e7ff75ac8 Add a missing include.
[SVN r2735]
2005-11-08 21:30:34 +00:00
Daniel James 8214c43060 Unit tests for unordered containers.
[SVN r2731]
2005-11-05 17:24:20 +00:00