I'll take a look, how do I run the tests for just the example component?
Thanks
Scott
2008/6/13 Vikas Mayur [EMAIL PROTECTED]:
Hi Scott,
I have seen this problem coming while running a test case.
For now you can run the test case for example component to see the problem
and file of
Just run the following command on terminal
java -jar ofbiz.jar -test component='example'
and if you want to run a single test case under example test suite - comment
other in example/testdef/tests.xml
Please let me know if you need further information.
Thanks,
Vikas
On Fri, Jun 13, 2008 at
Thanks Vikas, I found the problem and fixed it in rev. 667385
Regards
Scott
2008/6/13 Vikas Mayur [EMAIL PROTECTED]:
Just run the following command on terminal
java -jar ofbiz.jar -test component='example'
and if you want to run a single test case under example test suite -
comment
other
Hi,
I was testing few patches for test cases posted on Jira and thought to
modify if-empty field-name= to use if-empty field= instead.
But its giving following error ( This particular log is associated with when
test is run on example component )
Any thoughts, why this is happening ?
Vikas
Hi Vikas
The two attributes field-name and field should be interchangeable, are you
sure that you don't have a problem even if you use field-name?
Regards
Scott
2008/6/13 Vikas Mayur [EMAIL PROTECTED]:
Hi,
I was testing few patches for test cases posted on Jira and thought to
modify
Hi Scott,
It is working fine with field-name though it gives few errors like
UtilXml.java:660:ERROR] XmlFileLoader: File
file:/Users/vikas/work/projects/ofbiz/framework/example/script/org/ofbiz/example/example/ExampleServices.xml
process error. Line: 123. Error message: cvc-complex-type.3.2.2:
Hi Vikas
I can't see any reason why it would not work, where is the code I can use to
replicate the issue?
Thanks
Scott
2008/6/13 Vikas Mayur [EMAIL PROTECTED]:
Hi Scott,
It is working fine with field-name though it gives few errors like
UtilXml.java:660:ERROR] XmlFileLoader: File
Hi Scott,
I have seen this problem coming while running a test case.
For now you can run the test case for example component to see the problem
and file of interest is ExampleServices.xml,
method-name=testCreateExampleService.
Thanks,
Vikas
On Fri, Jun 13, 2008 at 10:27 AM, Scott Gray [EMAIL
Hi David,
I have seen that work and was trying do similar modifications to test case
patches.
It worked nicely with field-name though with some errors as you said which
are fine, but
the test case fails using field.
Vikas
On Fri, Jun 13, 2008 at 10:07 AM, David E Jones [EMAIL PROTECTED]
wrote: