Hi everyone, I have a problem where the test *.properties file is not being copied to the test-class target folder. I really appreciate if someone has done testing using the populate method from the BaseDaoTestCase and how you got it to work.
FYI, I'm using Appfuse 2.0-m5 but only the core package with full-source files. The following is the error stacktrace from my test case.If I manually copy the BrandModelDaoTest.properties file to the test-class target folder, the test pass. Thanks in advance. /Fadhli Test set: com.dntmiti.dao.BrandModelDaoTest ------------------------------------------------------------------------------- Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.547 sec <<< FAILURE! testAddAndRemoveBrandModel(com.dntmiti.dao.BrandModelDaoTest) Time elapsed: 0.031 sec <<< ERROR! java.lang.NullPointerException at com.dntmiti.dao.BaseDaoTestCase.populate(BaseDaoTestCase.java:58) at com.dntmiti.dao.BrandModelDaoTest.testAddAndRemoveBrandModel( BrandModelDaoTest.java:61) at com.dntmiti.dao.BrandModelDaoTest.testAddAndRemoveBrandModel( FPBrandModelDaoTest.java:61) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) -- /fadhli
