summaryrefslogtreecommitdiff
path: root/reach_reports/reach_test.rb
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2010-11-26 16:05:25 +0100
committermguetlein <martin.guetlein@gmail.com>2010-11-26 16:05:25 +0100
commit16a25a63ba7882901a778745d0a32baaafc22cad (patch)
tree9bf89ee176575aa49da36a4bc57e8c09a75fad4a /reach_reports/reach_test.rb
parenta6d79dffc5f65300f06f3a33451ef26d0fb96f08 (diff)
huge commit, main changes: validation_type and .finished introduced, supporting subtasks, reporting slightly refactored
Diffstat (limited to 'reach_reports/reach_test.rb')
-rw-r--r--reach_reports/reach_test.rb10
1 files changed, 6 insertions, 4 deletions
diff --git a/reach_reports/reach_test.rb b/reach_reports/reach_test.rb
index 44f37ff..4a18f6d 100644
--- a/reach_reports/reach_test.rb
+++ b/reach_reports/reach_test.rb
@@ -115,8 +115,9 @@ class ReachTest < Test::Unit::TestCase
# puts last_response.body
#model_uri = "http://ambit.uni-plovdiv.bg:8080/ambit2/model/173393"
- model_uri = "http://localhost/model/1"
- #model_uri = "http://localhost/majority/regr/model/12"
+ model_uri = "http://localhost/model/6"
+ #http://localhost/majority/class/model/15
+ #model_uri = "http://localhost/majority/class/model/15"
# model_uri = "http://localhost/majority/class/model/91"
#model_uri = "http://apps.ideaconsult.net:8080/ambit2/model/2"
post '/reach_report/qmrf',:model_uri=>model_uri #http://localhost/model/1"
@@ -148,8 +149,9 @@ class ReachTest < Test::Unit::TestCase
#r = ReachReports::QmrfReport.find_like( :QSAR_title => "Hamster")
#puts r.collect{|rr| "report with id:"+rr.id.to_s}.inspect
- File.new("/home/martin/win/home/qmr_rep_del_me.xml","w").puts last_response.body
- File.new("/home/martin/info_home/.public_html/qmr_rep_del_me.xml","w").puts last_response.body
+ File.new("/home/martin/tmp/qmr_rep_del_me.xml","w").puts last_response.body
+ #File.new("/home/martin/win/home/qmr_rep_del_me.xml","w").puts last_response.body
+ #File.new("/home/martin/info_home/.public_html/qmr_rep_del_me.xml","w").puts last_response.body
end
end