aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mageia.org>2010-10-03 15:36:00 +0000
committerOlivier Thauvin <nanardon@mageia.org>2010-10-03 15:36:00 +0000
commitddcf19029c7b58b2ea236bd14e6c1456949f0fc0 (patch)
tree725f066cac991b43163f1e08a5954b6071634f3d /t
parent114b46067622cc0c68d007711cf58f74e25411b8 (diff)
downloadmgamirrors-ddcf19029c7b58b2ea236bd14e6c1456949f0fc0.tar
mgamirrors-ddcf19029c7b58b2ea236bd14e6c1456949f0fc0.tar.gz
mgamirrors-ddcf19029c7b58b2ea236bd14e6c1456949f0fc0.tar.bz2
mgamirrors-ddcf19029c7b58b2ea236bd14e6c1456949f0fc0.tar.xz
mgamirrors-ddcf19029c7b58b2ea236bd14e6c1456949f0fc0.zip
- use google maps for location, improve messages
Diffstat (limited to 't')
-rw-r--r--t/controller_Graph.t9
-rw-r--r--t/controller_Report.t9
-rw-r--r--t/view_GraphViz.t7
3 files changed, 25 insertions, 0 deletions
diff --git a/t/controller_Graph.t b/t/controller_Graph.t
new file mode 100644
index 0000000..5830b81
--- /dev/null
+++ b/t/controller_Graph.t
@@ -0,0 +1,9 @@
+use strict;
+use warnings;
+use Test::More;
+
+BEGIN { use_ok 'Catalyst::Test', 'MGA::Mirrors' }
+BEGIN { use_ok 'MGA::Mirrors::Controller::Graph' }
+
+ok( request('/graph')->is_success, 'Request should succeed' );
+done_testing();
diff --git a/t/controller_Report.t b/t/controller_Report.t
new file mode 100644
index 0000000..ad7da83
--- /dev/null
+++ b/t/controller_Report.t
@@ -0,0 +1,9 @@
+use strict;
+use warnings;
+use Test::More;
+
+BEGIN { use_ok 'Catalyst::Test', 'MGA::Mirrors' }
+BEGIN { use_ok 'MGA::Mirrors::Controller::Report' }
+
+ok( request('/report')->is_success, 'Request should succeed' );
+done_testing();
diff --git a/t/view_GraphViz.t b/t/view_GraphViz.t
new file mode 100644
index 0000000..53925aa
--- /dev/null
+++ b/t/view_GraphViz.t
@@ -0,0 +1,7 @@
+use strict;
+use warnings;
+use Test::More;
+
+BEGIN { use_ok 'MGA::Mirrors::View::GraphViz' }
+
+done_testing();