lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [5908] Validate conversion between old and new GPT input


From: Greg Chicares
Subject: [lmi-commits] [5908] Validate conversion between old and new GPT input
Date: Sun, 22 Jun 2014 13:53:12 +0000

Revision: 5908
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5908
Author:   chicares
Date:     2014-06-22 13:53:12 +0000 (Sun, 22 Jun 2014)
Log Message:
-----------
Validate conversion between old and new GPT input

Modified Paths:
--------------
    lmi/trunk/ChangeLog
    lmi/trunk/ihs_server7702.cpp

Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2014-06-22 13:52:14 UTC (rev 5907)
+++ lmi/trunk/ChangeLog 2014-06-22 13:53:12 UTC (rev 5908)
@@ -33870,3 +33870,32 @@
 immediate goal is to add a GUI that supports all fields actually
 exercised by an old testdeck.
 
+20140621T0059Z <address@hidden> [542]
+
+  gpt_input.cpp
+  gpt_input.hpp
+  gpt_server.cpp
+Split certain fields into "old" and "new" variants.
+
+20140621T1613Z <address@hidden> [542]
+
+  gpt_input.cpp
+  gpt_input.hpp
+Add some fields for GPT support.
+
+20140621T1619Z <address@hidden> [542]
+
+  gpt_input.cpp
+Improve certain defaults.
+
+20140622T1352Z <address@hidden> [542]
+
+  ihs_server7702io.cpp
+  ihs_server7702io.hpp
+Convert between old and new GPT input.
+
+20140622T1353Z <address@hidden> [542]
+
+  ihs_server7702.cpp
+Validate conversion between old and new GPT input.
+

Modified: lmi/trunk/ihs_server7702.cpp
===================================================================
--- lmi/trunk/ihs_server7702.cpp        2014-06-22 13:52:14 UTC (rev 5907)
+++ lmi/trunk/ihs_server7702.cpp        2014-06-22 13:53:12 UTC (rev 5908)
@@ -95,8 +95,11 @@
         {
         while(std::cin >> input)
             {
-            // Separate construction from initialization
-            Server7702 contract(input);
+            // Run testdeck to validate this chain of conversions:
+            //   Server7702Input --> gpt_input --> Server7702Input
+            gpt_input z = input.operator gpt_input();
+            Server7702Input y(z);
+            Server7702 contract(y);
             contract.Process();
             std::cout << contract.GetOutput();
             while('\n' == std::cin.peek())




reply via email to

[Prev in Thread] Current Thread [Next in Thread]