Hello,
i'm desperately trying to run a simple unit test with qooxdoo testing
environment. Maybe it will be easier to explain the problem by
describing what I did.
First I created a basic Hello World application named "myapp" as
explained in the documentation. After that I created another
"SomeClass.js" class in the folder where the main "Application.js" is.
I tried to create an instance of "SomeClass.js" inside
"Application.js" - everything is working. The problem occured in the
first Unit Test I wrote. I created a unit testing class inside the
test folder of the application, which creates an instance of
"SomeClass.js" and tests some of the methods there. After that I
generated the test application. By running the test runner the test
class is correctly displayed with all its test cases. When I run some
of them i get the following error:

TypeError: myapp.SomeClass is not a constructor

I tried many things (changing the config.js and manifest.js, etc.) but
unfortunately without success. Can somebody help me? Thanks in advance
Martin Dobrev

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to