Class AcceptanceTestUtil


  • public class AcceptanceTestUtil
    extends java.lang.Object
    • Method Detail

      • test

        public static void test​(java.io.File program,
                                java.io.File expected,
                                Model... models)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • test

        public static void test​(java.net.URI program,
                                java.io.File expected,
                                Model... models)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • test

        public static void test​(java.lang.Object program,
                                java.lang.String expected,
                                Model... models)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • run

        public static java.lang.String run​(java.lang.Object program,
                                           Model... models)
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • run

        public static java.lang.String run​(java.lang.Object program,
                                           IModel model)
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • run

        public static java.lang.String run​(EglTemplateFactory factory,
                                           java.lang.Object program,
                                           Model... modelSpecs)
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • run

        public static java.lang.String run​(EglTemplateFactory factory,
                                           java.lang.Object program,
                                           IModel... models)
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • generate

        public static void generate​(EglTemplateFactory factory,
                                    java.lang.Object program,
                                    java.lang.String destination,
                                    IModel... models)
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getParseProblems

        public static java.util.Collection<ParseProblem> getParseProblems()
      • getStatusMessages

        public static java.util.List<StatusMessage> getStatusMessages()
      • getTrace

        public static Template getTrace()