summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2012-02-29 18:50:41 +0000
committerChristoph Helma <helma@in-silico.ch>2012-02-29 18:50:41 +0000
commitc2986f418ede0ea443df0a1f7690c433b637dc57 (patch)
tree7360c90ae4f42e2bffda0c6d78918326a3f58513 /test
parent77a5576782b85f2e3fdaf1b65eda2543eedb6b12 (diff)
TaskError implemented, logging still partially redundant
Diffstat (limited to 'test')
-rw-r--r--test/task.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/task.rb b/test/task.rb
index ea5ee2f..f01282b 100644
--- a/test/task.rb
+++ b/test/task.rb
@@ -10,6 +10,8 @@ TASK_SERVICE_URI = "http://ot-dev.in-silico.ch/task"
class TaskTest < Test::Unit::TestCase
+=begin
+=end
def test_all
all = OpenTox::Task.all(TASK_SERVICE_URI)
assert_equal Array, all.class
@@ -45,7 +47,7 @@ class TaskTest < Test::Unit::TestCase
def test_create_and_fail
task = OpenTox::Task.create TASK_SERVICE_URI, :description => "test failure", :creator => "http://test.org/fake_creator" do
sleep 1
- raise "an error occured"
+ raise "an unexpected error occured"
end
assert task.running?
assert_equal "Running", task.hasStatus
@@ -65,5 +67,7 @@ class TaskTest < Test::Unit::TestCase
assert task.error?
assert_equal "Error", task.hasStatus
end
+=begin
+=end
end