aboutsummaryrefslogtreecommitdiff
path: root/src/unit
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/unit/taf.unit1
-rw-r--r--src/unitsuite.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/unit/taf.unit b/src/unit/taf.unit
index eb9475e..cab04d2 100644
--- a/src/unit/taf.unit
+++ b/src/unit/taf.unit
@@ -117,5 +117,6 @@ suite Taf
117 const Bu::TafGroup *g = tr.readGroup(); 117 const Bu::TafGroup *g = tr.readGroup();
118 unitTest( g->getChildByPath("inner/final")->getProperty("test") == "hi" ); 118 unitTest( g->getChildByPath("inner/final")->getProperty("test") == "hi" );
119 unitTest( g->getByPath("inner/final/test") == "hi" ); 119 unitTest( g->getByPath("inner/final/test") == "hi" );
120 delete g;
120 } 121 }
121} 122}
diff --git a/src/unitsuite.cpp b/src/unitsuite.cpp
index 7d8cc2a..0a531c0 100644
--- a/src/unitsuite.cpp
+++ b/src/unitsuite.cpp
@@ -185,7 +185,7 @@ void Bu::UnitSuite::setName( const FString &sName )
185 sSuiteName = sName; 185 sSuiteName = sName;
186} 186}
187 187
188int Bu::UnitSuite::onListCases( StrArray aParam ) 188int Bu::UnitSuite::onListCases( StrArray )
189{ 189{
190 sio << "Test cases:" << sio.nl; 190 sio << "Test cases:" << sio.nl;
191 for( TestList::iterator i = lTests.begin(); i; i++ ) 191 for( TestList::iterator i = lTests.begin(); i; i++ )