Helma Logo
main list history

Version 7 by hannes on 11. May 2008, 20:39

5To add a mount the test module to module's jala.test action in a Helma NG app as /test/jala.test do something like this:
9Note that To mount the path for the tests directory is currently hard-codedaction as /jala. test do the following:
10
11  importFromModule('jala.test.*', 'jala_test_action', 'jala_test_css_action');
12
13Note that the path for the tests directory is currently hard-coded as /home/hannes/svn/helma-ng/modules/tests. You'll have to edit that path manually in the jala.Test.js file.

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

5To add a test module to a Helma NG app as /test/jala.test do something like this:

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

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

Version 4 by hannes on 09. May 2008, 23:06

7  importModule(importFromModule('helma.helma1', 'helma1createHopObject');
8  var test = new (helma1.createHopObject((createHopObject('jala.test'))();

Version 3 by hannes on 09. May 2008, 23:02

4
5To add a test module to a Helma NG app do something like this:
6
7  importModule('helma.helma1', 'helma1');
8  var test = new (helma1.createHopObject('jala.test'))();
9
10Note that the path for the tests directory is currently hard-coded.
11

Version 2 by hannes on 09. May 2008, 22:56

1Jala 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.helma1 org/trac/helma/browser/helma-ng/trunk/modules/helma/helma1.js* compatibilty module for this.

Version 1 by hannes on 09. May 2008, 22:50

1Jala 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 compatibilty module for this.
3<% this.attachments %>