Helma Logo
main list history
previous version  overview  next version

Version 5 by hannes on 11. May 2008, 18:19

Jala Test is (somewhat) functional on Helma NG! See attachments for screenshot, diffs and zip file. The changes are not that bad. I used the freshly committed *helma.helma1|http://dev.helma.org/trac/helma/browser/helma-ng/trunk/modules/helma/helma1.js* compatibilty module for this.

<% this.attachments %>

To add a test module to a Helma NG app do something like this:

  importFromModule(importModule('helmajala.helma1test.*', 'createHopObjecttest');
  var test = new (createHopObject('jala.test'))();

Note that the path for the tests directory is currently hard-coded.