require 'rubygems' require 'opentox-ruby' require 'test/unit' require "./validate-owl.rb" class AlgorithmTest < Test::Unit::TestCase def setup @@subjectid = OpenTox::Authorization.authenticate(TEST_USER,TEST_PW) @algorithms = [ 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 def teardown end def test_metadata @algorithms.each do |algorithm| #puts algorithm validate_owl(algorithm, @@subjectid) end end end