[cig-commits] r7093 - short/3D/PyLith/trunk/unittests/libtests/bc
brad at geodynamics.org
brad at geodynamics.org
Thu Jun 7 15:09:07 PDT 2007
Author: brad
Date: 2007-06-07 15:09:07 -0700 (Thu, 07 Jun 2007)
New Revision: 7093
Modified:
short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichlet.cc
short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichlet.hh
short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletHex8.cc
short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletHex8.hh
short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletLine2.cc
short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletLine2.hh
short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletLine2b.cc
short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletLine2b.hh
short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletMultiTri3.cc
short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletMultiTri3.hh
short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletQuad4.cc
short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletQuad4.hh
short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletTet4.cc
short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletTet4.hh
short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletTri3.cc
short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletTri3.hh
Log:
Moved tearDown to base class.
Modified: short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichlet.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichlet.cc 2007-06-07 21:37:34 UTC (rev 7092)
+++ short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichlet.cc 2007-06-07 22:09:07 UTC (rev 7093)
@@ -28,6 +28,22 @@
CPPUNIT_TEST_SUITE_REGISTRATION( pylith::bc::TestDirichlet );
// ----------------------------------------------------------------------
+// Setup testing data.
+void
+pylith::bc::TestDirichlet::setUp(void)
+{ // setUp
+ _data = 0;
+} // setUp
+
+// ----------------------------------------------------------------------
+// Tear down testing data.
+void
+pylith::bc::TestDirichlet::tearDown(void)
+{ // tearDown
+ delete _data; _data = 0;
+} // tearDown
+
+// ----------------------------------------------------------------------
// Test constructor.
void
pylith::bc::TestDirichlet::testConstructor(void)
Modified: short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichlet.hh
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichlet.hh 2007-06-07 21:37:34 UTC (rev 7092)
+++ short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichlet.hh 2007-06-07 22:09:07 UTC (rev 7093)
@@ -48,6 +48,12 @@
// PUBLIC METHODS /////////////////////////////////////////////////////
public :
+ /// Setup testing data.
+ void setUp(void);
+
+ /// Tear down testing data.
+ void tearDown(void);
+
/// Test constructor.
void testConstructor(void);
Modified: short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletHex8.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletHex8.cc 2007-06-07 21:37:34 UTC (rev 7092)
+++ short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletHex8.cc 2007-06-07 22:09:07 UTC (rev 7093)
@@ -27,13 +27,5 @@
_data = new DirichletDataHex8();
} // setUp
-// ----------------------------------------------------------------------
-// Tear down testing data.
-void
-pylith::bc::TestDirichletHex8::tearDown(void)
-{ // tearDown
- delete _data;
-} // tearDown
-
// End of file
Modified: short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletHex8.hh
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletHex8.hh 2007-06-07 21:37:34 UTC (rev 7092)
+++ short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletHex8.hh 2007-06-07 22:09:07 UTC (rev 7093)
@@ -48,9 +48,6 @@
/// Setup testing data.
void setUp(void);
- /// Tear down testing data.
- void tearDown(void);
-
}; // class TestDirichletHex8
#endif // pylith_bc_dirichlethex8_hh
Modified: short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletLine2.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletLine2.cc 2007-06-07 21:37:34 UTC (rev 7092)
+++ short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletLine2.cc 2007-06-07 22:09:07 UTC (rev 7093)
@@ -27,13 +27,5 @@
_data = new DirichletDataLine2();
} // setUp
-// ----------------------------------------------------------------------
-// Tear down testing data.
-void
-pylith::bc::TestDirichletLine2::tearDown(void)
-{ // tearDown
- delete _data;
-} // tearDown
-
// End of file
Modified: short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletLine2.hh
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletLine2.hh 2007-06-07 21:37:34 UTC (rev 7092)
+++ short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletLine2.hh 2007-06-07 22:09:07 UTC (rev 7093)
@@ -48,9 +48,6 @@
/// Setup testing data.
void setUp(void);
- /// Tear down testing data.
- void tearDown(void);
-
}; // class TestDirichletLine2
#endif // pylith_bc_dirichletline2_hh
Modified: short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletLine2b.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletLine2b.cc 2007-06-07 21:37:34 UTC (rev 7092)
+++ short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletLine2b.cc 2007-06-07 22:09:07 UTC (rev 7093)
@@ -27,13 +27,5 @@
_data = new DirichletDataLine2b();
} // setUp
-// ----------------------------------------------------------------------
-// Tear down testing data.
-void
-pylith::bc::TestDirichletLine2b::tearDown(void)
-{ // tearDown
- delete _data;
-} // tearDown
-
// End of file
Modified: short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletLine2b.hh
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletLine2b.hh 2007-06-07 21:37:34 UTC (rev 7092)
+++ short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletLine2b.hh 2007-06-07 22:09:07 UTC (rev 7093)
@@ -48,9 +48,6 @@
/// Setup testing data.
void setUp(void);
- /// Tear down testing data.
- void tearDown(void);
-
}; // class TestDirichletLine2b
#endif // pylith_bc_dirichletline2b_hh
Modified: short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletMultiTri3.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletMultiTri3.cc 2007-06-07 21:37:34 UTC (rev 7092)
+++ short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletMultiTri3.cc 2007-06-07 22:09:07 UTC (rev 7093)
@@ -27,13 +27,5 @@
_data = new DirichletDataMultiTri3();
} // setUp
-// ----------------------------------------------------------------------
-// Tear down testing data.
-void
-pylith::bc::TestDirichletMultiTri3::tearDown(void)
-{ // tearDown
- delete _data;
-} // tearDown
-
// End of file
Modified: short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletMultiTri3.hh
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletMultiTri3.hh 2007-06-07 21:37:34 UTC (rev 7092)
+++ short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletMultiTri3.hh 2007-06-07 22:09:07 UTC (rev 7093)
@@ -47,9 +47,6 @@
/// Setup testing data.
void setUp(void);
- /// Tear down testing data.
- void tearDown(void);
-
}; // class TestDirichletMultiTri3
#endif // pylith_bc_dirichletmultitri3_hh
Modified: short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletQuad4.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletQuad4.cc 2007-06-07 21:37:34 UTC (rev 7092)
+++ short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletQuad4.cc 2007-06-07 22:09:07 UTC (rev 7093)
@@ -27,13 +27,5 @@
_data = new DirichletDataQuad4();
} // setUp
-// ----------------------------------------------------------------------
-// Tear down testing data.
-void
-pylith::bc::TestDirichletQuad4::tearDown(void)
-{ // tearDown
- delete _data;
-} // tearDown
-
// End of file
Modified: short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletQuad4.hh
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletQuad4.hh 2007-06-07 21:37:34 UTC (rev 7092)
+++ short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletQuad4.hh 2007-06-07 22:09:07 UTC (rev 7093)
@@ -48,9 +48,6 @@
/// Setup testing data.
void setUp(void);
- /// Tear down testing data.
- void tearDown(void);
-
}; // class TestDirichletQuad4
#endif // pylith_bc_dirichletquad4_hh
Modified: short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletTet4.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletTet4.cc 2007-06-07 21:37:34 UTC (rev 7092)
+++ short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletTet4.cc 2007-06-07 22:09:07 UTC (rev 7093)
@@ -27,13 +27,5 @@
_data = new DirichletDataTet4();
} // setUp
-// ----------------------------------------------------------------------
-// Tear down testing data.
-void
-pylith::bc::TestDirichletTet4::tearDown(void)
-{ // tearDown
- delete _data;
-} // tearDown
-
// End of file
Modified: short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletTet4.hh
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletTet4.hh 2007-06-07 21:37:34 UTC (rev 7092)
+++ short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletTet4.hh 2007-06-07 22:09:07 UTC (rev 7093)
@@ -48,9 +48,6 @@
/// Setup testing data.
void setUp(void);
- /// Tear down testing data.
- void tearDown(void);
-
}; // class TestDirichletTet4
#endif // pylith_bc_dirichlettet4_hh
Modified: short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletTri3.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletTri3.cc 2007-06-07 21:37:34 UTC (rev 7092)
+++ short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletTri3.cc 2007-06-07 22:09:07 UTC (rev 7093)
@@ -27,13 +27,5 @@
_data = new DirichletDataTri3();
} // setUp
-// ----------------------------------------------------------------------
-// Tear down testing data.
-void
-pylith::bc::TestDirichletTri3::tearDown(void)
-{ // tearDown
- delete _data;
-} // tearDown
-
// End of file
Modified: short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletTri3.hh
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletTri3.hh 2007-06-07 21:37:34 UTC (rev 7092)
+++ short/3D/PyLith/trunk/unittests/libtests/bc/TestDirichletTri3.hh 2007-06-07 22:09:07 UTC (rev 7093)
@@ -48,9 +48,6 @@
/// Setup testing data.
void setUp(void);
- /// Tear down testing data.
- void tearDown(void);
-
}; // class TestDirichletTri3
#endif // pylith_bc_dirichlettri3_hh
More information about the cig-commits
mailing list