File tree Expand file tree Collapse file tree 1 file changed +5
-26
lines changed
src/integration-test/java/com/jaspersoft/jasperserver/jaxrs/client/apiadapters/reporting Expand file tree Collapse file tree 1 file changed +5
-26
lines changed Original file line number Diff line number Diff line change 33import com .jaspersoft .jasperserver .jaxrs .client .core .JasperserverRestClient ;
44import com .jaspersoft .jasperserver .jaxrs .client .core .RestClientConfiguration ;
55import com .jaspersoft .jasperserver .jaxrs .client .core .operationresult .OperationResult ;
6+ import java .io .InputStream ;
67import junit .framework .Assert ;
78import org .testng .annotations .AfterMethod ;
89import org .testng .annotations .BeforeMethod ;
910import org .testng .annotations .Test ;
10- import sun . org . mozilla . javascript . internal . ast . WhileLoop ;
11-
12- import java . io .*;
13-
11+ /**
12+ * @author Alex Krasnyanskiy
13+ * @author Tetiana Iefimenko
14+ */
1415public class ReportingServiceIT {
1516
1617 private RestClientConfiguration configuration ;
@@ -41,28 +42,6 @@ public void should_return_proper_entity_if_pass_jrprint_report_output_format() {
4142 /** Then **/
4243 Assert .assertNotNull (entity );
4344
44- // OutputStream output = null;
45- // try {
46- // output = new FileOutputStream("file.pdf");
47- // int i = 0;
48- // while (i != -1) {
49- // i = entity.read();
50- // output.write(i);
51- // output.flush();
52- //
53- // }
54- // } catch (IOException e) {
55- // e.printStackTrace();
56- // } finally {
57- //
58- // try {
59- // entity.close();
60- // output.close();
61- // } catch (IOException e) {
62- // e.printStackTrace();
63- // }
64- // }
65-
6645 }
6746
6847 @ AfterMethod
You can’t perform that action at this time.
0 commit comments