Re: j2s-development] Early of Java2Script's JUnit is on Subversion Repository
Brought to you by:
zhourenjian
|
From: Zhou R. <jo...@sj...> - 2006-08-02 13:52:20
|
Zhou Renjian wrote: > Hi, > > The Java2Script' class reflection is partially implemented, but it is > already enough to run normal JUnit under Java2Script. > > To check out the latest codes, please update all projects. BTW: Another > project "net.sf.j2s.java.junit" are created under "/trunk/sources/". > > After exporting the 4 projects as plugins and restarting, you should > notice a "Java2Script Unit Test" in the "Run As..." menu for test cases > class files. > > Later, I think there will be lots of test cases for java.lang.*, > java.util.*, org.eclipse.swt.* and others packages. > > /js > > > Hi, From now on, Java2Script supports the feature of asynchronous SWT JUnit tests. You can update /trunk/tests/net.sf.j2s.test.swt to see how to do such asynchronous tests . There is an example net.sf.j2s.test.swt.ajunit.SWTSampleTest for so. And there are a new test projects, net.sf.j2s.test.junit, under folder of /trunk/tests/. There are normal JUnit tests, most of which is from Apache Harmony. BTW: To update all the existed project, project net.sf.j2s.lib requires some attentions for unzipping from j2slib.zip. Or if you know details of packing j2slib, you also packing j2slib.zip by /build/build.xml. Please read /net.sf.j2s.lib/readme.txt for more about this change. Regards |