Skip to content

Commit 6989554

Browse files
author
TanyaEf
committed
Deleted commented code from ReportingServiceIT
1 parent 46940bd commit 6989554

File tree

1 file changed

+5
-26
lines changed

1 file changed

+5
-26
lines changed

src/integration-test/java/com/jaspersoft/jasperserver/jaxrs/client/apiadapters/reporting/ReportingServiceIT.java

Lines changed: 5 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
import com.jaspersoft.jasperserver.jaxrs.client.core.JasperserverRestClient;
44
import com.jaspersoft.jasperserver.jaxrs.client.core.RestClientConfiguration;
55
import com.jaspersoft.jasperserver.jaxrs.client.core.operationresult.OperationResult;
6+
import java.io.InputStream;
67
import junit.framework.Assert;
78
import org.testng.annotations.AfterMethod;
89
import org.testng.annotations.BeforeMethod;
910
import 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+
*/
1415
public 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

0 commit comments

Comments
 (0)