Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java @ 177:08b8b79b30ff
Integrated special CSV-Export for HorizontalProfiles
gnv-artifacts/trunk@221 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Thu, 15 Oct 2009 12:43:46 +0000 |
parents | 7fb9441dd8af |
children | bab92ad1165d |
comparison
equal
deleted
inserted
replaced
176:bff7bbb7c6f0 | 177:08b8b79b30ff |
---|---|
681 fos3 = new FileOutputStream( | 681 fos3 = new FileOutputStream( |
682 "src/test/results/horizontalprofile_instantaneouspoint" | 682 "src/test/results/horizontalprofile_instantaneouspoint" |
683 + System.currentTimeMillis() + ".csv"); | 683 + System.currentTimeMillis() + ".csv"); |
684 artifact | 684 artifact |
685 .feed( | 685 .feed( |
686 this | 686 this.readDocument("src/test/ressources/horizontalProfile_instantaneouspoint/horizontalprofile_step_06_feed.xml"), |
687 .readDocument("src/test/ressources/horizontalProfile_instantaneouspoint/horizontalprofile_step_06_feed.xml"), | |
688 cc); | 687 cc); |
689 // artifact.out(this.readDocument("src/test/ressources/horizontalProfile_instantaneouspoint/horizontalprofile_step_06_out_statistics.xml"),fos2, | 688 artifact.out(this.readDocument("src/test/ressources/horizontalProfile_instantaneouspoint/horizontalprofile_step_06_out_statistics.xml"), |
690 // cc); | 689 fos2, |
691 artifact | 690 cc); |
692 .out( | 691 artifact.out( |
693 this | 692 this.readDocument("src/test/ressources/horizontalProfile_instantaneouspoint/horizontalprofile_step_06_out_chart.xml"), |
694 .readDocument("src/test/ressources/horizontalProfile_instantaneouspoint/horizontalprofile_step_06_out_chart.xml"), | 693 fos, |
695 fos, cc); | 694 cc); |
696 // artifact.out(this.readDocument("src/test/ressources/horizontalProfile_instantaneouspoint/horizontalprofile_step_06_out_csv.xml"),fos3, | 695 artifact.out(this.readDocument("src/test/ressources/horizontalProfile_instantaneouspoint/horizontalprofile_step_06_out_csv.xml"), |
697 // cc); | 696 fos3, |
697 cc); | |
698 } catch (Exception e) { | 698 } catch (Exception e) { |
699 log.error(e, e); | 699 log.error(e, e); |
700 fail(); | 700 fail(); |
701 } finally { | 701 } finally { |
702 try { | 702 try { |
812 artifact | 812 artifact |
813 .out( | 813 .out( |
814 this | 814 this |
815 .readDocument("src/test/ressources/horizontalProfile_mesh/horizontalprofile_step_08_out_chart.xml"), | 815 .readDocument("src/test/ressources/horizontalProfile_mesh/horizontalprofile_step_08_out_chart.xml"), |
816 fos, cc); | 816 fos, cc); |
817 // artifact.out(this.readDocument("src/test/ressources/horizontalProfile_mesh/horizontalprofile_step_08_out_csv.xml"),fos3, | 817 artifact.out(this.readDocument("src/test/ressources/horizontalProfile_mesh/horizontalprofile_step_08_out_csv.xml"), |
818 // cc); | 818 fos3, |
819 cc); | |
819 } catch (Exception e) { | 820 } catch (Exception e) { |
820 log.error(e, e); | 821 log.error(e, e); |
821 fail(); | 822 fail(); |
822 } finally { | 823 } finally { |
823 try { | 824 try { |