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 | dd743865cf6c63e8bc8e598598d602177ffb85eb (patch) | |
tree | bbd18e808f19ff540daf6c5a1d16b2f59731d4ad | |
parent | f15db67993d9ea3f85fbabb60c8746d4d4b5f434 (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 # |