Class JasperReportsCompilation


  • public class JasperReportsCompilation
    extends Object
    Test cases covering the jrxml compilation.
    Author:
    alostale
    • Constructor Detail

      • JasperReportsCompilation

        public JasperReportsCompilation()
    • 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