diff options
-rw-r--r-- | lib/custodian/worker.rb | 17 | ||||
-rwxr-xr-x | t/test-custodian-testfactory.rb | 11 |
2 files changed, 6 insertions, 22 deletions
diff --git a/lib/custodian/worker.rb b/lib/custodian/worker.rb index 9c9e8ec..221576e 100644 --- a/lib/custodian/worker.rb +++ b/lib/custodian/worker.rb @@ -12,18 +12,11 @@ require 'logger' # Our modules. # require 'custodian/alerter.rb' -require 'custodian/testfactory' - -require 'custodian/protocoltest/tcp.rb' -require 'custodian/protocoltest/dns.rb' -require 'custodian/protocoltest/ftp.rb' -require 'custodian/protocoltest/http.rb' -require 'custodian/protocoltest/jabber.rb' -require 'custodian/protocoltest/ldap.rb' -require 'custodian/protocoltest/ping.rb' -require 'custodian/protocoltest/rsync.rb' -require 'custodian/protocoltest/ssh.rb' -require 'custodian/protocoltest/smtp.rb' + +# +# This list of all our protocol tests. +# +require 'custodian/protocoltest' diff --git a/t/test-custodian-testfactory.rb b/t/test-custodian-testfactory.rb index b016289..dd39ee1 100755 --- a/t/test-custodian-testfactory.rb +++ b/t/test-custodian-testfactory.rb @@ -3,16 +3,7 @@ require 'test/unit' -require 'custodian/protocoltest/tcp.rb' -require 'custodian/protocoltest/dns.rb' -require 'custodian/protocoltest/ftp.rb' -require 'custodian/protocoltest/http.rb' -require 'custodian/protocoltest/jabber.rb' -require 'custodian/protocoltest/ldap.rb' -require 'custodian/protocoltest/ping.rb' -require 'custodian/protocoltest/rsync.rb' -require 'custodian/protocoltest/ssh.rb' -require 'custodian/protocoltest/smtp.rb' +require 'custodian/protocoltest' |