diff options
author | mguetlein <martin.guetlein@gmail.com> | 2010-08-11 10:58:59 +0200 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2010-08-11 10:58:59 +0200 |
commit | 566786bdd7e253880b7fe6c00cb40fbc46f771a2 (patch) | |
tree | 69cf68c7b479b8f99b9248d92ae91a4f7f24cd34 /report/report_test.rb | |
parent | 148e4eaccf2e406586914150cf2f953fa5f12ece (diff) |
move to wrapper 1.6.2, remove report-dir-check, initial commit of reach reporting stuff
Diffstat (limited to 'report/report_test.rb')
-rw-r--r-- | report/report_test.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/report/report_test.rb b/report/report_test.rb index 1c838bf..0256702 100644 --- a/report/report_test.rb +++ b/report/report_test.rb @@ -17,14 +17,14 @@ class Reports::ApplicationTest < Test::Unit::TestCase def test_nothing - file = File.new("qmrf-report.xml") - raise "File not found: "+file.path.to_s unless File.exist?(file.path) - data = File.read(file.path) - puts OpenTox::RestClientWrapper.post("http://localhost/validation/report/qmrf/1",{:content_type => "application/qmrf-xml"},data).to_s.chomp +# file = File.new("qmrf-report.xml") +# raise "File not found: "+file.path.to_s unless File.exist?(file.path) +# data = File.read(file.path) +# puts OpenTox::RestClientWrapper.post("http://localhost/validation/report/qmrf/1",{:content_type => "application/qmrf-xml"},data).to_s.chomp #get "/report/qmrf/1",nil,'HTTP_ACCEPT' => "application/qmrf-xml"#"application/rdf+xml"#"application/x-yaml" - #get "/report/validation/1",nil,'HTTP_ACCEPT' => "application/rdf+xml"#"application/x-yaml" - #puts last_response.body.to_s + get "/report/validation?model=http://localhost/model/1" #,nil,'HTTP_ACCEPT' => "application/rdf+xml"#"application/x-yaml" + puts last_response.body.to_s #Reports::XMLReport.generate_demo_xml_report.write_to #raise "stop" |