[commit] r1079 - trunk/Tests/GPyUnit/GME-297

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Mon Nov 15 10:06:09 CST 2010


Author: ksmyth
Date: Mon Nov 15 10:06:09 2010
New Revision: 1079

Log:
More extensive test for GME-297

Added:
   trunk/Tests/GPyUnit/GME-297/test4-correct.mga   (contents, props changed)
   trunk/Tests/GPyUnit/GME-297/test4.mga   (contents, props changed)
Modified:
   trunk/Tests/GPyUnit/GME-297/test.py

Modified: trunk/Tests/GPyUnit/GME-297/test.py
==============================================================================
--- trunk/Tests/GPyUnit/GME-297/test.py	Wed Nov 10 15:25:37 2010	(r1078)
+++ trunk/Tests/GPyUnit/GME-297/test.py	Mon Nov 15 10:06:09 2010	(r1079)
@@ -43,13 +43,14 @@
         import mgadiff
         if not mgadiff.compare(self.correct_file, self.output_file):
             self.fail("Reference file '%s' does not match output '%s'" % (self.correct_file, self.output_file))
-        #print "Reference file '%s' matches output '%s'" % (self.correct_file, self.output_file)
+        print "Reference file '%s' matches output '%s'" % (self.correct_file, self.output_file)
 
 def suite():
     suite = unittest.TestSuite()
     suite.addTest(TestRefportConnectionInvariantUnderMoves(input_file="test1.mga", fco_to_move="/Test1/Folder1/A/B", destination_model="/Test1/Folder2/C"))
     suite.addTest(TestRefportConnectionInvariantUnderMoves(input_file="test2.mga", fco_to_move="/Test2/Subtypes/A/BSubtypeRef", destination_model="/Test2/Destination/Destination"))
     suite.addTest(TestRefportConnectionInvariantUnderMoves(input_file="test1.mga", fco_to_move="/Test1/Folder1/A/RefB", destination_model="/Test1/Folder2/C", name="test3"))
+    suite.addTest(TestRefportConnectionInvariantUnderMoves(input_file="test4.mga", fco_to_move="/Test4/Folder1/A/RefRefB", destination_model="/Test4/Folder2/C"))
     return suite
 
 if __name__ == "__main__":

Added: trunk/Tests/GPyUnit/GME-297/test4-correct.mga
==============================================================================
Binary file. No diff available.

Added: trunk/Tests/GPyUnit/GME-297/test4.mga
==============================================================================
Binary file. No diff available.


More information about the gme-commit mailing list