diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-22 00:02:49 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-22 00:02:49 +0000 |
commit | 746d50d8e5c4cedab8e4c6bb95fef8c990df72bc (patch) | |
tree | bbd18e808f19ff540daf6c5a1d16b2f59731d4ad | |
parent | e70227b100ad680c77d90d34003757e21d7ccf46 (diff) |
Renamed to use TestFactory.
-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 # |