Jacques Le Roux
b9c3ddef08
2d part and end of an effort to remove trailing spaces
...
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg )
Of course this effort to remove trailing spaces has no functional implications.
Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {
So these changes are also in this commit, should not be a problem anyway.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Jacques Le Roux
572b7683e0
All tabs to 4 spaces in *.groovy, *.java, *.xml : less problems in future with that aspect...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737003 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 11:08:47 +00:00
David E. Jones
1aeaa42a42
Added test of global-commit and global-rollback, also commented out the failing tests so that these will all succeed, as solutions are found for these other tests they should be added back in, those are the lock wait timeout tests
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576730 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 06:46:04 +00:00
David E. Jones
4c56bd82d9
Fixed a couple of issues with the tx tests, for deadlock the problem was with the test, also changed to hide error with the rollback only set and attempt to commit so doesn't show up as error or failure in test case
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@575366 13f79535-47bb-0310-9956-ffa450edef68
2007-09-13 16:47:36 +00:00
David E. Jones
882124675e
Fixed problem with service engine and TransactionUtil where if rollback only was set in a service it could not run sub-services even in their own transaction; the test case for this now passes with no problems
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@574514 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 08:52:18 +00:00
David E. Jones
84580f87fb
Added service to test case that is currently not working where a service with a transaction with rollback only set can't call a service in its own transaction
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@574493 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 07:15:30 +00:00
David E. Jones
afefce6020
These failure cases are now running properly, though for the first lock wait timeout I still don't like the error results because it is hard to identify for retry purposes; whatever the case, here they are; NOTE these WILL all fail right now and that is expected, these are in anticipation of new Service Engine features to automatically recover from these errors
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573813 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 10:32:18 +00:00
David E. Jones
c5e71667f6
Added some test cases for deadlock and lock wait timeout errors to be used when developing auto retry feature in service engine; note that this isn't implemented yet so these (usually not used) test cases will fail, if that becommes a problem we can comment them out in the test def xml file
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572280 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 10:45:24 +00:00