[cig-commits] r21966 - short/3D/PyLith/trunk/unittests/libtests/faults

brad at geodynamics.org brad at geodynamics.org
Tue Apr 30 15:28:41 PDT 2013


Author: brad
Date: 2013-04-30 15:28:41 -0700 (Tue, 30 Apr 2013)
New Revision: 21966

Modified:
   short/3D/PyLith/trunk/unittests/libtests/faults/TestFault.cc
Log:
Code cleanup.

Modified: short/3D/PyLith/trunk/unittests/libtests/faults/TestFault.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/faults/TestFault.cc	2013-04-30 22:26:35 UTC (rev 21965)
+++ short/3D/PyLith/trunk/unittests/libtests/faults/TestFault.cc	2013-04-30 22:28:41 UTC (rev 21966)
@@ -32,11 +32,15 @@
 void
 pylith::faults::TestFault::testID(void)
 { // testID
+  PYLITH_METHOD_BEGIN;
+
   const int id = 346;
   FaultCohesiveKin fault;
   fault.id(id);
   
   CPPUNIT_ASSERT_EQUAL(id, fault.id());
+
+  PYLITH_METHOD_END;
 } // testID
 
 // ----------------------------------------------------------------------
@@ -44,11 +48,15 @@
 void
 pylith::faults::TestFault::testLabel(void)
 { // testLabel
+  PYLITH_METHOD_BEGIN;
+
   const std::string label = "the_database";
   FaultCohesiveKin fault;
   fault.label(label.c_str());
   
   CPPUNIT_ASSERT_EQUAL(label, std::string(fault.label()));
+
+  PYLITH_METHOD_END;
 } // testLabel
     
 



More information about the CIG-COMMITS mailing list