Brendan Coles
aee7aed755
Add Network extension test case stub
2015-05-11 21:52:13 +00:00
Wade Alcorn
2fbca61368
Updated copyright dates
2014-12-30 07:44:58 +10:00
soh_cah_toa
01ad87250f
Removed unnecessary run_server unit tests.
...
Setting the server address:port is now handled by RubyDNS. Therefore,
verifying this via unit tests is no longer necessary.
2014-04-23 22:02:19 -04:00
soh_cah_toa
820ba3a2e7
Updated interface unit tests with new method names.
2014-04-23 21:50:23 -04:00
soh_cah_toa
3ed4098c2f
Added unit test assertions for new config options.
2014-04-23 21:47:45 -04:00
bcoles
c11d4d40ea
replace backticks with IO.open
2014-03-03 22:31:14 +10:30
antisnatchor
2f7ccf033c
Commented out the tests for DNS code.
2014-03-02 16:14:56 +00:00
antisnatchor
ec9cf4d460
Manually merged DNS extension code (pull request 967 from @soh-cah-toa)
2014-03-02 12:56:33 +00:00
antisnatchor
9dcff5184d
Manually merged DNS extension code (pull request 967 from @soh-cah-toa)
2014-03-02 12:40:18 +00:00
Wade Alcorn
8003f1a47f
Updated the copyright year to 2014
2014-01-01 16:34:15 +10:00
soh_cah_toa
b2aed14234
Added regex support to #add_rule (tests included).
...
Due to strange behavior in Sourcify, the /.../ literal syntax cannot
be used as a parameter; only %r{} or Regexp::new. There is a note
for this in the documentation for #add_rule.
2013-07-22 22:37:39 -04:00
soh_cah_toa
6a62cf9eaa
Added public attributes 'address' and 'port' to Dns::Server.
...
This removes the need to search config.yaml for the address:port.
Also included unit tests.
2013-07-19 22:33:40 -04:00
soh_cah_toa
8d961c1938
Added support for rules that fail to resolve (e.g. NXDOMAIN).
...
Included unit tests.
2013-07-19 22:15:25 -04:00
soh_cah_toa
141a12a92f
Included #remove_ruleset in public interface tests.
2013-07-17 18:19:56 -04:00
soh_cah_toa
95d0ddbe87
Added new method #remove_ruleset that clears the entire DNS ruleset.
...
Included unit tests as well.
2013-07-17 18:16:46 -04:00
soh_cah_toa
9cfb98963d
Added unit tests for #get_ruleset.
2013-07-16 23:48:46 -04:00
soh_cah_toa
94da775ba6
Added unit tests for #remove_rule (good and bad behavior).
2013-07-15 23:58:37 -04:00
soh_cah_toa
85d4375825
Added unit tests for #get_rule with an invalid id.
...
Also overrode Kernel#puts to suppress output from RubyDNS.
2013-07-15 23:36:29 -04:00
soh_cah_toa
4d0f58684f
Divided #add_rule tests into separate good and bad tests.
...
Also added unit tests that verify rule id format.
2013-07-15 23:07:06 -04:00
soh_cah_toa
8d95e6f522
Changed public interface tests to use #assert_respond_to.
...
This will improve the accuracy of potential error messages.
2013-07-15 18:25:33 -04:00
soh_cah_toa
5769615cd5
Added unit tests for #get_rule.
...
Also removed convenience variables from #add_rule tests (domain and
response). The "response" key in the hash returned by #get_rule is
generated by Sourcify which sourcifies the variable name, not its
value.
2013-07-15 03:48:01 -04:00
soh_cah_toa
1ffa21d62a
Added unit tests for #add_rule.
...
These represent the first actual tests for the Dns::Server class.
2013-07-15 02:47:37 -04:00
soh_cah_toa
d8a8e37029
Moved DM adapter setup into first "test" method.
...
Since #setup is called between each test, the database table would
otherwise be cleared every time.
2013-07-15 02:39:41 -04:00
soh_cah_toa
8270abd2d5
Added unit tests for Dns::Server public interface.
2013-07-15 02:12:31 -04:00
soh_cah_toa
3865aab7ee
Added unit tests for required config.yaml settings.
2013-07-15 02:07:26 -04:00
soh_cah_toa
123c3cdc04
FIXED UNIT TEST ISSUES!!! \(^o^)/
...
Load path and configuration setup belong in #startup along with any
required files. DataMapper adapter connections go in #setup. That's
the secret recipe.
2013-07-15 02:00:12 -04:00
soh_cah_toa
d9f7af2721
Reference point for broken unit tests.
...
NoMethodError and NameError are present.
2013-06-22 03:32:42 -04:00
soh_cah_toa
d2ac9e0f7a
Included broken DNS unit tests so others can help debug.
...
Temporary 'dns' and 'dns_rest' Rake tasks make it easier to run tests.
2013-06-08 23:25:23 -04:00
soh_cah_toa
0af4029915
Added placeholders necessary to start DNS unit tests.
...
Currently does nothing but assert(true).
2013-06-03 21:42:34 -04:00
Wade Alcorn
fe40038441
Updated copyright year to 2013
2012-12-30 12:47:43 +10:00
Wade Alcorn
b68df3d024
Changed license header
2012-11-02 14:05:15 +10:00
bcoles
923921b92b
Added skeleton for custom hooks
...
Part of issue #101
2012-04-23 19:33:19 +09:30
bcoles
b52c3d7d19
Added unit test stubs for proxy, requester and event logger extensions.
...
Fixes issue #29
Fixes issue #30
Fixes issue #33
Created a unit test stub for logger (as opposed to event_logger) to
differentiate between the main Logs tab and the event logs for each
zombie.
2012-02-22 19:00:48 +10:30
Wade Alcorn
cb6859cdd7
Added more test stubs to the framework.
2012-01-20 21:57:36 +10:00
Wade Alcorn
72d9d28a93
Added vnc ipec tunnel test stub for issue #587
2012-01-20 21:34:58 +10:00
Wade Alcorn
b6155f3dd0
Added vnc unit test stub for issue #585
2012-01-20 21:29:45 +10:00
Wade Alcorn
6116db3b8d
Added xssrays unit test stub for issue #573
2012-01-20 21:23:59 +10:00
Wade Alcorn
1fec60d3bb
Moved MSF tests to the 'thirdparty' directory.
2012-01-12 17:24:33 +10:00
Saafan
a5c6179e10
Cleans up rake output for MSFIntegration Unit tests. Fixes issue 28
2012-01-05 16:14:51 +02:00
Wade Alcorn
06899ca267
Year updated from 2011 to 2012
2011-12-31 22:24:36 +10:00
root
3bf52944d7
Added metasploit rpc module test cases , this may need cleaning up.
2011-12-16 13:40:36 -05:00