[cig-commits] r5237 - short/3D/PyLith/trunk/unittests/pytests/meshio

brad at geodynamics.org brad at geodynamics.org
Fri Nov 10 15:46:28 PST 2006


Author: brad
Date: 2006-11-10 15:46:27 -0800 (Fri, 10 Nov 2006)
New Revision: 5237

Added:
   short/3D/PyLith/trunk/unittests/pytests/meshio/testdriver.py
Removed:
   short/3D/PyLith/trunk/unittests/pytests/meshio/testmeshio.py
Modified:
   short/3D/PyLith/trunk/unittests/pytests/meshio/Makefile.am
Log:
Resolved name conflict when case isn't recognized.

Modified: short/3D/PyLith/trunk/unittests/pytests/meshio/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/meshio/Makefile.am	2006-11-10 22:16:49 UTC (rev 5236)
+++ short/3D/PyLith/trunk/unittests/pytests/meshio/Makefile.am	2006-11-10 23:46:27 UTC (rev 5237)
@@ -13,9 +13,9 @@
 subpackage = meshio
 include $(top_srcdir)/subpackage.am
 
-TESTS = testmeshio.py
+TESTS = testdriver.py
 
-check_SCRIPTS = testmeshio.py
+check_SCRIPTS = testdriver.py
 
 noinst_PYTHON = \
 	TestMeshIO.py \

Copied: short/3D/PyLith/trunk/unittests/pytests/meshio/testdriver.py (from rev 5236, short/3D/PyLith/trunk/unittests/pytests/meshio/testmeshio.py)

Deleted: short/3D/PyLith/trunk/unittests/pytests/meshio/testmeshio.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/meshio/testmeshio.py	2006-11-10 22:16:49 UTC (rev 5236)
+++ short/3D/PyLith/trunk/unittests/pytests/meshio/testmeshio.py	2006-11-10 23:46:27 UTC (rev 5237)
@@ -1,68 +0,0 @@
-#!/usr/bin/env python
-#
-# ======================================================================
-#
-#                           Brad T. Aagaard
-#                        U.S. Geological Survey
-#
-# {LicenseText}
-#
-# ======================================================================
-#
-
-## @file unittests/meshio/testmeshio.py
-
-## @brief Python application for testing meshio code.
-
-from pyre.applications.Script import Script
-
-import unittest
-
-class TestApp(Script):
-  """
-  Test application.
-  """
-
-  # PUBLIC METHODS /////////////////////////////////////////////////////
-
-  def __init__(self, name="testapp"):
-    """
-    Constructor.
-    """
-    Script.__init__(self, name)
-    return
-
-
-  def main(self):
-    """
-    Run the application.
-    """
-    unittest.TextTestRunner(verbosity=2).run(self._suite())
-    return
-
-
-  # PRIVATE METHODS ////////////////////////////////////////////////////
-
-  def _suite(self):
-    """
-    Setup the test suite.
-    """
-
-    suite = unittest.TestSuite()
-
-    from TestMeshIO import TestMeshIO
-    suite.addTest(unittest.makeSuite(TestMeshIO))
-
-    from TestMeshIOAscii import TestMeshIOAscii
-    suite.addTest(unittest.makeSuite(TestMeshIOAscii))
-
-    return suite
-
-
-# ----------------------------------------------------------------------
-if __name__ == '__main__':
-  app = TestApp()
-  app.run()
-
-
-# End of file 



More information about the cig-commits mailing list