Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java @ 213:c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
gnv-artifacts/trunk@269 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 27 Oct 2009 12:03:32 +0000 |
parents | 310874d3573f |
children | f8cb64d5fe4f |
comparison
equal
deleted
inserted
replaced
212:3dac84194db4 | 213:c0a798299efc |
---|---|
461 .doNextStep( | 461 .doNextStep( |
462 artifact, | 462 artifact, |
463 cc, | 463 cc, |
464 "src/test/ressources/verticalprofile_mesh/verticalprofile_step_05_feed.xml", | 464 "src/test/ressources/verticalprofile_mesh/verticalprofile_step_05_feed.xml", |
465 "src/test/ressources/verticalprofile_mesh/verticalprofile_step_05_advance.xml"); | 465 "src/test/ressources/verticalprofile_mesh/verticalprofile_step_05_advance.xml"); |
466 | 466 |
467 // Sechster Schritt | 467 // Sechster Schritt |
468 this | |
469 .doNextStep( | |
470 artifact, | |
471 cc, | |
472 "src/test/ressources/verticalprofile_mesh/verticalprofile_step_06_feed.xml", | |
473 "src/test/ressources/verticalprofile_mesh/verticalprofile_step_06_advance.xml"); | |
474 | |
475 // Siebter Schritt | |
476 this | |
477 .doNextStep( | |
478 artifact, | |
479 cc, | |
480 "src/test/ressources/verticalprofile_mesh/verticalprofile_step_07_feed.xml", | |
481 "src/test/ressources/verticalprofile_mesh/verticalprofile_step_07_advance.xml"); | |
482 | |
483 // Achter Schritt | |
468 Document outputData = artifact.describe(cc); | 484 Document outputData = artifact.describe(cc); |
469 FileOutputStream fos = null; | 485 FileOutputStream fos = null; |
470 FileOutputStream fos2 = null; | 486 FileOutputStream fos2 = null; |
471 FileOutputStream fos3 = null; | 487 FileOutputStream fos3 = null; |
472 try { | 488 try { |
480 "src/test/results/verticalprofile_mesh" | 496 "src/test/results/verticalprofile_mesh" |
481 + System.currentTimeMillis() + ".csv"); | 497 + System.currentTimeMillis() + ".csv"); |
482 artifact | 498 artifact |
483 .feed( | 499 .feed( |
484 this | 500 this |
485 .readDocument("src/test/ressources/verticalprofile_mesh/verticalprofile_step_06_feed.xml"), | 501 .readDocument("src/test/ressources/verticalprofile_mesh/verticalprofile_step_08_feed.xml"), |
486 cc); | 502 cc); |
487 artifact | 503 artifact |
488 .out( | 504 .out( |
489 this | 505 this |
490 .readDocument("src/test/ressources/verticalprofile_mesh/verticalprofile_step_06_out_statistics.xml"), | 506 .readDocument("src/test/ressources/verticalprofile_mesh/verticalprofile_step_08_out_statistics.xml"), |
491 fos2, cc); | 507 fos2, cc); |
492 artifact | 508 artifact |
493 .out( | 509 .out( |
494 this | 510 this |
495 .readDocument("src/test/ressources/verticalprofile_mesh/verticalprofile_step_06_out_chart.xml"), | 511 .readDocument("src/test/ressources/verticalprofile_mesh/verticalprofile_step_08_out_chart.xml"), |
496 fos, cc); | 512 fos, cc); |
497 artifact | 513 artifact |
498 .out( | 514 .out( |
499 this | 515 this |
500 .readDocument("src/test/ressources/verticalprofile_mesh/verticalprofile_step_06_out_csv.xml"), | 516 .readDocument("src/test/ressources/verticalprofile_mesh/verticalprofile_step_08_out_csv.xml"), |
501 fos3, cc); | 517 fos3, cc); |
502 } catch (Exception e) { | 518 } catch (Exception e) { |
503 log.error(e, e); | 519 log.error(e, e); |
504 fail(); | 520 fail(); |
505 } finally { | 521 } finally { |