summaryrefslogtreecommitdiff
path: root/report/report_test.rb
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2011-01-13 15:18:45 +0100
committermguetlein <martin.guetlein@gmail.com>2011-01-13 15:18:45 +0100
commiteeb0b6df2dbdae29ccf3f4ccd923002e0ed65506 (patch)
treec0b0956d5b107e613c3236ede71462fa7f18cf05 /report/report_test.rb
parent5786ebd5095451e928d9811bd6bbd98af72de99d (diff)
adjust to new wrapper, replace activerecord with datamapper (remove activerecord code), is_classification to feature_type
Diffstat (limited to 'report/report_test.rb')
-rwxr-xr-x[-rw-r--r--]report/report_test.rb13
1 files changed, 8 insertions, 5 deletions
diff --git a/report/report_test.rb b/report/report_test.rb
index 5351c7d..f579802 100644..100755
--- a/report/report_test.rb
+++ b/report/report_test.rb
@@ -33,7 +33,10 @@ class Reports::ApplicationTest < Test::Unit::TestCase
#puts uri
#get uri
- get '/report/validation/117',nil,'HTTP_ACCEPT' => "text/html"
+ get '/report/crossvalidation',:model=>"http://localhost/majority/class/model/101"
+ puts last_response.body.to_s
+
+ #get '/report/validation/117',nil,'HTTP_ACCEPT' => "text/html"
#post '/report/validation/1/format_html',:css_style_sheet=>"http://apps.ideaconsult.net:8180/ToxPredict/style/global.css"
#post 'http://ot.validation.de/report/validation',:validation_uris=>"http://ot.validation.de/1"
@@ -119,12 +122,12 @@ end
#class Reports::ReportServiceTest < Test::Unit::TestCase
# include Lib::TestUtil
#
-# WS_VAL = @@config[:services]["opentox-validation"]
-# WS_DATA=@@config[:services]["opentox-dataset"]
+# WS_VAL = CONFIG[:services]["opentox-validation"]
+# WS_DATA=CONFIG[:services]["opentox-dataset"]
# FILE=File.new("data/hamster_carcinogenicity.owl","r")
#
-# WS_CLASS_ALG=File.join(@@config[:services]["opentox-algorithm"],"lazar")
-# WS_FEATURE_ALG=File.join(@@config[:services]["opentox-algorithm"],"fminer")
+# WS_CLASS_ALG=File.join(CONFIG[:services]["opentox-algorithm"],"lazar")
+# WS_FEATURE_ALG=File.join(CONFIG[:services]["opentox-algorithm"],"fminer")
#
# #WS_CLASS_ALG_2="localhost:4008/algorithm"
# #WS_FEATURE_ALG_2=nil