protected VelocityContext createContext ( ) { VelocityContext context = new VelocityContext ( ) ; context . put ( META_KEY , META ) ; context . put ( UTILS_KEY , UTILS ) ; context . put ( MESSAGES_KEY , MESSAGES ) ; return context ; }
Helper method that creates a Velocity context and initialises it with a reference to the ReportNG utils report metadata and localised messages .