summaryrefslogtreecommitdiff
path: root/test/task.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2012-03-08 15:23:43 +0000
committerChristoph Helma <helma@in-silico.ch>2012-03-08 15:23:43 +0000
commit63fcd8f8feed58af4b1e1ff0e5fdaa09791c9596 (patch)
tree97103c785013abd8fe2b3798f73ebec4bcb9e885 /test/task.rb
parent2f6d5c75fc1fece5fc10cc7c45ad59cf6b820d64 (diff)
improved integration of error reports, call stack added as errorDetails
Diffstat (limited to 'test/task.rb')
-rw-r--r--test/task.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/task.rb b/test/task.rb
index 932d5c9..adbba12 100644
--- a/test/task.rb
+++ b/test/task.rb
@@ -10,12 +10,14 @@ 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
t = all.last
assert_equal OpenTox::Task, t.class
- assert_equal RDF::OT1.Task, t.metadata[RDF.type]
+ assert_equal RDF::OT1.Task, t[RDF.type].first
end
def test_create_and_complete
@@ -77,5 +79,7 @@ class TaskTest < Test::Unit::TestCase
assert task.error?
assert_equal "Error", task.hasStatus
end
+=begin
+=end
end