diff options
-rwxr-xr-x | bin/custodian-parse-execute | 4 | ||||
-rw-r--r-- | 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 # |