Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java @ 319:251f16a083f8
Added RegionFilter-Support to HorizontalProfile InstantaneousPoint
gnv-artifacts/trunk@378 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 27 Nov 2009 13:00:00 +0000 |
parents | 008709f79611 |
children | 37847d724fc9 |
comparison
equal
deleted
inserted
replaced
318:5f2820e821e0 | 319:251f16a083f8 |
---|---|
569 log.debug("VerticalProfile-Artifact is available"); | 569 log.debug("VerticalProfile-Artifact is available"); |
570 | 570 |
571 CallContext cc = createCallContext(); | 571 CallContext cc = createCallContext(); |
572 Document describeDocument = this.readDocument("src/test/ressources/horizontalProfile_instantaneouspoint/horizontalprofile_describe.xml"); | 572 Document describeDocument = this.readDocument("src/test/ressources/horizontalProfile_instantaneouspoint/horizontalprofile_describe.xml"); |
573 | 573 |
574 int steps = 6; | 574 int steps = 8; |
575 | 575 |
576 for (int i = 0; i < steps; i++){ | 576 for (int i = 0; i < steps; i++){ |
577 | 577 |
578 this.doNextStep( | 578 this.doNextStep( |
579 artifact, | 579 artifact, |
603 fos4 = new FileOutputStream( | 603 fos4 = new FileOutputStream( |
604 "src/test/results/horizontalprofile_instantaneouspoint" | 604 "src/test/results/horizontalprofile_instantaneouspoint" |
605 + System.currentTimeMillis() + ".odv"); | 605 + System.currentTimeMillis() + ".odv"); |
606 artifact.feed(this.readDocument("src/test/ressources/" + | 606 artifact.feed(this.readDocument("src/test/ressources/" + |
607 "horizontalProfile_instantaneouspoint/" + | 607 "horizontalProfile_instantaneouspoint/" + |
608 "horizontalprofile_step_06_feed.xml"), | 608 "horizontalprofile_step_08_feed.xml"), |
609 cc); | 609 cc); |
610 artifact.out(this.readDocument("src/test/ressources/" + | 610 artifact.out(this.readDocument("src/test/ressources/" + |
611 "horizontalProfile_instantaneouspoint/" + | 611 "horizontalProfile_instantaneouspoint/" + |
612 "horizontalprofile_step_06_out_statistics.xml"), | 612 "horizontalprofile_step_08_out_statistics.xml"), |
613 fos2,cc); | 613 fos2,cc); |
614 artifact.out(this.readDocument("src/test/ressources/" + | 614 artifact.out(this.readDocument("src/test/ressources/" + |
615 "horizontalProfile_instantaneouspoint/" + | 615 "horizontalProfile_instantaneouspoint/" + |
616 "horizontalprofile_step_06_out_chart.xml"), | 616 "horizontalprofile_step_08_out_chart.xml"), |
617 fos,cc); | 617 fos,cc); |
618 artifact.out(this.readDocument("src/test/ressources/" + | 618 artifact.out(this.readDocument("src/test/ressources/" + |
619 "horizontalProfile_instantaneouspoint/" + | 619 "horizontalProfile_instantaneouspoint/" + |
620 "horizontalprofile_step_06_out_csv.xml"), | 620 "horizontalprofile_step_08_out_csv.xml"), |
621 fos3,cc); | 621 fos3,cc); |
622 artifact.out(this.readDocument("src/test/ressources/" + | 622 artifact.out(this.readDocument("src/test/ressources/" + |
623 "horizontalProfile_instantaneouspoint/" + | 623 "horizontalProfile_instantaneouspoint/" + |
624 "horizontalprofile_step_06_out_odv.xml"), | 624 "horizontalprofile_step_08_out_odv.xml"), |
625 fos4,cc); | 625 fos4,cc); |
626 } catch (Exception e) { | 626 } catch (Exception e) { |
627 log.error(e, e); | 627 log.error(e, e); |
628 fail(); | 628 fail(); |
629 } finally { | 629 } finally { |