From fd23821950f0562a8995735105cd31fdc6d55933 Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Fri, 22 Jul 2011 16:55:01 +0100 Subject: * Rejigged configuration * Added --test and --verbose flags for the server config * Started proper test suite * Config parsing now gives more sensible errors + backtrace * Rejigged people and source lists --- test/tc_mauve_alert.rb | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 test/tc_mauve_alert.rb (limited to 'test/tc_mauve_alert.rb') diff --git a/test/tc_mauve_alert.rb b/test/tc_mauve_alert.rb new file mode 100644 index 0000000..ef80424 --- /dev/null +++ b/test/tc_mauve_alert.rb @@ -0,0 +1,47 @@ +$:.unshift "../lib" + +require 'test/unit' +require 'mauve/alert' +require 'mauve/configuration' +require 'mauve/configuration_builder' +require 'th_mauve_resolv' +require 'pp' + +class TcMauveAlert < Test::Unit::TestCase + + def test_source_list + + config=<