diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-08-25 03:52:25 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-08-25 03:52:25 -0300 |
commit | 9d58de1bfc7e93606fb5582dd05eea185e9fe851 (patch) | |
tree | 10b195facb6e35749195d7f62576c965265791b1 /tests/libsample/derived.cpp | |
parent | 2132a3eb82830d0719d19eaadb32e39222948bca (diff) |
commented debug messages from test library
Diffstat (limited to 'tests/libsample/derived.cpp')
-rw-r--r-- | tests/libsample/derived.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/libsample/derived.cpp b/tests/libsample/derived.cpp index 9a86a9c94..18cd514ee 100644 --- a/tests/libsample/derived.cpp +++ b/tests/libsample/derived.cpp @@ -5,16 +5,16 @@ using namespace std; Derived::Derived(int id) : Abstract(id) { - cout << __PRETTY_FUNCTION__; - show(); - cout << endl; + //cout << __PRETTY_FUNCTION__; + //show(); + //cout << endl; } Derived::~Derived() { - cout << __PRETTY_FUNCTION__; - show(); - cout << endl; + //cout << __PRETTY_FUNCTION__; + //show(); + //cout << endl; } Abstract* @@ -27,54 +27,54 @@ Derived::createObject() void Derived::pureVirtual() { - cout << __PRETTY_FUNCTION__ << endl; + //cout << __PRETTY_FUNCTION__ << endl; } void Derived::unpureVirtual() { - cout << __PRETTY_FUNCTION__ << endl; + //cout << __PRETTY_FUNCTION__ << endl; } bool Derived::singleArgument(bool b) { - cout << __PRETTY_FUNCTION__ << endl; + //cout << __PRETTY_FUNCTION__ << endl; return !b; } double Derived::defaultValue(int n) { - cout << __PRETTY_FUNCTION__ << "[n = 0]" << endl; + //cout << __PRETTY_FUNCTION__ << "[n = 0]" << endl; return ((double) n) + 0.1; } PolymorphicFuncEnum Derived::polymorphic(int i, int d) { - cout << __PRETTY_FUNCTION__ << "[i = 0, d = 0]" << endl; + //cout << __PRETTY_FUNCTION__ << "[i = 0, d = 0]" << endl; return PolymorphicFunc_ii; } PolymorphicFuncEnum Derived::polymorphic(double n) { - cout << __PRETTY_FUNCTION__ << endl; + //cout << __PRETTY_FUNCTION__ << endl; return PolymorphicFunc_d; } Derived::OtherPolymorphicFuncEnum Derived::otherPolymorphic(int a, int b, bool c, double d) { - cout << __PRETTY_FUNCTION__ << endl; + //cout << __PRETTY_FUNCTION__ << endl; return OtherPolymorphicFunc_iibd; } Derived::OtherPolymorphicFuncEnum Derived::otherPolymorphic(int a, double b) { - cout << __PRETTY_FUNCTION__ << endl; + //cout << __PRETTY_FUNCTION__ << endl; return OtherPolymorphicFunc_id; } |