blob: 055f0a20e7e57effe285ed576d10188191e5bc8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
require 'rubygems'
require 'opentox-ruby'
require 'test/unit'
require "./validate-owl.rb"
class AlgorithmTest < Test::Unit::TestCase
def setup
@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)
end
end
end
|