aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/kindergarten.cpp
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2009-08-25 03:52:25 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2009-08-25 03:52:25 -0300
commit9d58de1bfc7e93606fb5582dd05eea185e9fe851 (patch)
tree10b195facb6e35749195d7f62576c965265791b1 /tests/libsample/kindergarten.cpp
parent2132a3eb82830d0719d19eaadb32e39222948bca (diff)
commented debug messages from test library
Diffstat (limited to 'tests/libsample/kindergarten.cpp')
-rw-r--r--tests/libsample/kindergarten.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/libsample/kindergarten.cpp b/tests/libsample/kindergarten.cpp
index 8332e4fe7..e2238668f 100644
--- a/tests/libsample/kindergarten.cpp
+++ b/tests/libsample/kindergarten.cpp
@@ -5,9 +5,9 @@ using namespace std;
KinderGarten::~KinderGarten()
{
- cout << __PRETTY_FUNCTION__ << " ---- BEGIN" << endl;
+ //cout << __PRETTY_FUNCTION__ << " ---- BEGIN" << endl;
killChildren();
- cout << __PRETTY_FUNCTION__ << " ---- END" << endl;
+ //cout << __PRETTY_FUNCTION__ << " ---- END" << endl;
}
void
@@ -19,10 +19,10 @@ KinderGarten::addChild(Abstract* child)
void
KinderGarten::killChildren()
{
- cout << __PRETTY_FUNCTION__ << endl;
+ //cout << __PRETTY_FUNCTION__ << endl;
while (!m_children.empty()) {
- m_children.back()->show();
- cout << endl;
+ //m_children.back()->show();
+ //cout << endl;
delete m_children.back();
m_children.pop_back();
}
@@ -31,7 +31,7 @@ KinderGarten::killChildren()
void
KinderGarten::killChild(Abstract* child)
{
- cout << __PRETTY_FUNCTION__ << endl;
+ //cout << __PRETTY_FUNCTION__ << endl;
if (child) {
m_children.remove(child);
// delete child;
@@ -62,3 +62,4 @@ KinderGarten::show()
}
cout << "]";
}
+