62 |
62 |
|
63 |
63 |
public void testStack(){
|
64 |
64 |
String blockSize = wp.getParamById("blocksize").defaultValue;
|
65 |
|
String georef = wp.getParamById("georef").defaultValue;
|
|
65 |
//String georef = wp.getParamById("georef").defaultValue;
|
66 |
66 |
String photometric = wp.getParamById("photometric").defaultValue;
|
67 |
67 |
String interleave = wp.getParamById("interleave").defaultValue;
|
68 |
68 |
String compression = wp.getParamById("compression").defaultValue;
|
69 |
69 |
String tfw = wp.getParamById("tfw").defaultValue;
|
70 |
70 |
|
71 |
71 |
assertEquals(blockSize, "512");
|
72 |
|
assertEquals(georef, "true");
|
|
72 |
//assertEquals(georef, "true");
|
73 |
73 |
assertEquals(photometric, "RGB");
|
74 |
74 |
assertEquals(interleave, "BAND");
|
75 |
75 |
assertEquals(compression, "NONE");
|
76 |
76 |
assertEquals(tfw, "false");
|
77 |
77 |
|
78 |
78 |
wp.changeParamValue("blocksize", "256");
|
79 |
|
wp.changeParamValue("georef", "false");
|
|
79 |
//wp.changeParamValue("georef", "false");
|
80 |
80 |
wp.changeParamValue("photometric", "MINISBLACK");
|
81 |
81 |
wp.changeParamValue("interleave", "PIXEL");
|
82 |
82 |
wp.changeParamValue("compression", "12");
|
83 |
83 |
wp.changeParamValue("tfw", "true");
|
84 |
84 |
|
85 |
85 |
blockSize = wp.getParamById("blocksize").defaultValue;
|
86 |
|
georef = wp.getParamById("georef").defaultValue;
|
|
86 |
//georef = wp.getParamById("georef").defaultValue;
|
87 |
87 |
photometric = wp.getParamById("photometric").defaultValue;
|
88 |
88 |
interleave = wp.getParamById("interleave").defaultValue;
|
89 |
89 |
compression = wp.getParamById("compression").defaultValue;
|
90 |
90 |
tfw = wp.getParamById("tfw").defaultValue;
|
91 |
91 |
|
92 |
92 |
assertEquals(blockSize, "256");
|
93 |
|
assertEquals(georef, "false");
|
|
93 |
//assertEquals(georef, "false");
|
94 |
94 |
assertEquals(photometric, "MINISBLACK");
|
95 |
95 |
assertEquals(interleave, "PIXEL");
|
96 |
96 |
assertEquals(compression, "12");
|