summaryrefslogtreecommitdiff
path: root/validation
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2011-02-08 09:00:57 +0100
committermguetlein <martin.guetlein@gmail.com>2011-02-08 09:00:57 +0100
commitc17b549f4a48d1bec843017b3b951eb9b0c109e8 (patch)
tree2baf528a9921ddaaa676f5b23e3ea0b992fb4d5f /validation
parentd99823f61fc3b2f463bc1a51db0a952c965c2141 (diff)
fix create qmrf report, remove not-found-test from unit-test
Diffstat (limited to 'validation')
-rwxr-xr-xvalidation/validation_test.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/validation/validation_test.rb b/validation/validation_test.rb
index bfdd563..22d766f 100755
--- a/validation/validation_test.rb
+++ b/validation/validation_test.rb
@@ -20,10 +20,10 @@ LOGGER.datetime_format = "%Y-%m-%d %H:%M:%S "
LOGGER.formatter = Logger::Formatter.new
if AA_SERVER
-# TEST_USER = "mgtest"
-# TEST_PW = "mgpasswd"
- TEST_USER = "guest"
- TEST_PW = "guest"
+ TEST_USER = "mgtest"
+ TEST_PW = "mgpasswd"
+# TEST_USER = "guest"
+# TEST_PW = "guest"
SUBJECTID = OpenTox::Authorization.authenticate(TEST_USER,TEST_PW)
raise "could not log in" unless SUBJECTID
puts "logged in: "+SUBJECTID.to_s
@@ -152,9 +152,9 @@ class ValidationTest < Test::Unit::TestCase
# puts val
# get "/"+val.split("/")[-1]
- #run_test("1a",:validation_uri=>"http://local-ot/validation/119") #,"http://local-ot/validation/28")#,"http://local-ot/validation/394");
+ run_test("1a") #,:validation_uri=>"http://local-ot/validation/119") #,"http://local-ot/validation/28")#,"http://local-ot/validation/394");
- run_test("3b",:validation_uri=>"http://local-ot/validation/crossvalidation/45") #,{:dataset_uri => "http://local-ot/dataset/773", :prediction_feature => "http://local-ot/dataset/773/feature/Hamster%20Carcinogenicity"})
+ #run_test("3b",:validation_uri=>"http://local-ot/validation/crossvalidation/45") #,{:dataset_uri => "http://local-ot/dataset/773", :prediction_feature => "http://local-ot/dataset/773/feature/Hamster%20Carcinogenicity"})
# p = {
# :dataset_uri=>"http://local-ot/dataset/527",