diff options
author | Christoph Helma <helma@in-silico.ch> | 2010-11-23 16:44:01 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2010-11-23 16:44:01 +0100 |
commit | 3f73837d5f7eaca5e58844c8151d8387d1fab016 (patch) | |
tree | ab48563dc366e0f3228b31d2decc504c9d659b28 /algorithm.rb | |
parent | 2824a2fdb2aa308ad77ead17ee6c7cba9c69ab46 (diff) |
global setup/teardown, cucumber tests removed
Diffstat (limited to 'algorithm.rb')
-rw-r--r-- | algorithm.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/algorithm.rb b/algorithm.rb index a3eaa91..ec64768 100644 --- a/algorithm.rb +++ b/algorithm.rb @@ -7,9 +7,9 @@ class AlgorithmTest < Test::Unit::TestCase def setup @algorithms = [ - "http://localhost/algorithm/fminer/bbrc", - "http://localhost/algorithm/fminer/last", - "http://localhost/algorithm/lazar", + File.join(CONFIG[:services]["opentox-algorithm"],"fminer","bbrc"), + File.join(CONFIG[:services]["opentox-algorithm"],"fminer","last"), + File.join(CONFIG[:services]["opentox-algorithm"],"lazar") #"http://apps.ideaconsult.net:8080/ambit2/algorithm/J48", ] end @@ -17,15 +17,14 @@ class AlgorithmTest < Test::Unit::TestCase def teardown end -=begin def test_metadata @algorithms.each do |algorithm| puts algorithm validate_owl(algorithm) end end -=end +=begin def test_run_external { #"http://opentox.informatik.tu-muenchen.de:8080/OpenTox-dev/algorithm/J48" => {:dataset_uri => "http://apps.ideaconsult.net:8080/ambit2/dataset/10", :prediction_feature => "http://apps.ideaconsult.net:8080/ambit2/feature/21595"}, @@ -40,5 +39,6 @@ class AlgorithmTest < Test::Unit::TestCase puts dataset.to_yaml end end +=end end |