Package org.openbravo.test.reporting
Class JasperReportsCompilation
- java.lang.Object
-
- org.openbravo.test.reporting.JasperReportsCompilation
-
public class JasperReportsCompilation extends Object
Test cases covering the jrxml compilation.- Author:
- alostale
-
-
Constructor Summary
Constructors Constructor Description JasperReportsCompilation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
jrxmlShouldBeCompiledWithAllSupportedJDKs()
Compiles a jrxml which includes a String.replace.void
jrxmlShouldBeCompiledWithJDK11OrHigher()
Compiles a jrxml which includes several JDK8 and JDK11 features.
-
-
-
Method Detail
-
jrxmlShouldBeCompiledWithAllSupportedJDKs
public void jrxmlShouldBeCompiledWithAllSupportedJDKs() throws net.sf.jasperreports.engine.JRException, IOException
Compiles a jrxml which includes a String.replace. This case was failing using JDK8 with jdt-compiler-3.1.1.jar. Before fixing the issue, this test case failed with an exception.- Throws:
net.sf.jasperreports.engine.JRException
IOException
-
jrxmlShouldBeCompiledWithJDK11OrHigher
public void jrxmlShouldBeCompiledWithJDK11OrHigher() throws net.sf.jasperreports.engine.JRException, IOException
Compiles a jrxml which includes several JDK8 and JDK11 features.- Throws:
net.sf.jasperreports.engine.JRException
IOException
-
-