summaryrefslogtreecommitdiff
path: root/test/feature.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/feature.rb
parent2f6d5c75fc1fece5fc10cc7c45ad59cf6b820d64 (diff)
improved integration of error reports, call stack added as errorDetails
Diffstat (limited to 'test/feature.rb')
-rw-r--r--test/feature.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/feature.rb b/test/feature.rb
index 1308e77..01c2206 100644
--- a/test/feature.rb
+++ b/test/feature.rb
@@ -16,7 +16,9 @@ class FeatureTest < Test::Unit::TestCase
def test_feature
@features.each do |uri|
f = OpenTox::Feature.new(uri)
- assert_equal RDF::OT1.Feature, f.metadata[RDF.type]
+ assert_equal [RDF::OT1.TUM_CDK_nAtom], f[RDF::OWL.sameAs]
+ assert_equal RDF::OT1.TUM_CDK_nAtom, f.metadata[RDF::OWL.sameAs].first
+ assert_equal [RDF::OT1.Feature,RDF::OT1.NumericFeature].sort, f[RDF.type].sort
end
end