summaryrefslogtreecommitdiff
path: root/test/unit/context/context_black.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2010-03-30 08:22:06 +0000
committerMorgan Deters <mdeters@gmail.com>2010-03-30 08:22:06 +0000
commit09d8860f19b928114460386fa17847a8ffb02244 (patch)
tree72064c34a09c32b7d52a10c28c2684b28149c100 /test/unit/context/context_black.h
parent473e87a54cdcff5384ebf09dc433a4c2a0b30c8b (diff)
I think this finishes off the CDMap<>/Attribute leaks
Diffstat (limited to 'test/unit/context/context_black.h')
-rw-r--r--test/unit/context/context_black.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/unit/context/context_black.h b/test/unit/context/context_black.h
index c9b47e400..338c09849 100644
--- a/test/unit/context/context_black.h
+++ b/test/unit/context/context_black.h
@@ -41,20 +41,6 @@ public:
delete d_context;
}
- void testIntCDO() {
- // Test that push/pop maintains the original value
- CDO<int> a1(d_context);
- a1 = 5;
- TS_ASSERT(d_context->getLevel() == 0);
- d_context->push();
- a1 = 10;
- TS_ASSERT(d_context->getLevel() == 1);
- TS_ASSERT(a1 == 10);
- d_context->pop();
- TS_ASSERT(d_context->getLevel() == 0);
- TS_ASSERT(a1 == 5);
- }
-
void testContextPushPop() {
// Test what happens when the context is popped below 0
// the interface doesn't declare any exceptions
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback