From dd743865cf6c63e8bc8e598598d602177ffb85eb Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Thu, 22 Nov 2012 00:02:49 +0000 Subject: Renamed to use TestFactory. --- bin/custodian-parse-execute | 4 ++-- lib/custodian/protocoltest/tcp.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/custodian-parse-execute b/bin/custodian-parse-execute index 264e2e6..6329dd9 100755 --- a/bin/custodian-parse-execute +++ b/bin/custodian-parse-execute @@ -8,7 +8,7 @@ # # -require 'custodian/protocoltest.rb' +require 'custodian/testfactory.rb' require 'custodian/protocoltest/tcp.rb' require 'custodian/protocoltest/ftp.rb' require 'custodian/protocoltest/jabber.rb' @@ -37,7 +37,7 @@ end # Create the object # begin - c = ProtocolTest.create( txt ) + c = TestFactory.create( txt ) puts "created object of class type #{c.class}" puts ".to_s : #{c.to_s}" diff --git a/lib/custodian/protocoltest/tcp.rb b/lib/custodian/protocoltest/tcp.rb index 24389fe..1849f21 100644 --- a/lib/custodian/protocoltest/tcp.rb +++ b/lib/custodian/protocoltest/tcp.rb @@ -13,7 +13,7 @@ require 'timeout' # # The specification of the port is mandatory, the banner is optional. # -class TCPTest < ProtocolTest +class TCPTest < TestFactory # -- cgit v1.2.1