summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-21 23:15:44 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-21 23:15:44 +0000
commitb7608cc947bcca078644516a288a6bef67f7f09a (patch)
treef56a9b3b97fb623d836d70363f84f913f1584011 /bin
parent964d16d5f573b5a4c1571a1e1a52789f0cee565e (diff)
Added .to_json method to serialize our tests.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/custodian-parse-execute4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/custodian-parse-execute b/bin/custodian-parse-execute
index 5ef48a7..22c29b8 100755
--- a/bin/custodian-parse-execute
+++ b/bin/custodian-parse-execute
@@ -38,7 +38,9 @@ end
begin
c = ProtocolTest.create( txt )
- puts "created object: #{c.to_s}"
+ puts "created object of class type #{c.class}"
+ puts ".to_s : #{c.to_s}"
+ puts ".to_json : #{c.to_json}"
if ( c.run_test )
puts "Test succeeded"