Commit Graph
33 Commits
Author SHA1 Message Date
Adam Heath 2fdd964c9d More generics.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682060 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 21:39:20 +00:00
Adam Heath b6a1ae5e5e Another minor optimization; no longer need to specify classpathref in
all the build.xml files.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681935 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 03:41:46 +00:00
Adam Heath 18391f98a9 The build.xml files are now much smaller and simpler; they reuse a
few global definitions.  1585 lines removed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672657 13f79535-47bb-0310-9956-ffa450edef68
2008-06-29 18:39:36 +00:00
Scott Gray 463d79858f Running a simple method bombs if you don't pass in a locale.
The other option was to get the default locale if one wasn't passed in when creating the MethodContext but I don't know much about that so I took the easy road :-)
On the bright side another one of the unit tests now passes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600864 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 10:00:24 +00:00
Si Chen 57497c7c7c Print exceptions when a unit test fails.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@599939 13f79535-47bb-0310-9956-ffa450edef68
2007-11-30 20:08:47 +00:00
Si Chen ecd3e70977 Fix problem in unit test framework where the stacktrace is not printed, thus making it very hard to find the source of a test failure due to an Exception.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@595025 13f79535-47bb-0310-9956-ffa450edef68
2007-11-14 19:55:41 +00:00
Jacques Le Roux ae76370a04 Replace all www.ofbiz.org by ofbiz.apache.org (mostly links to dtds). Note that there are 2 void links :
http://ofbiz.apache.org/service/
http://ofbiz.apache.org/cgi-bin/http_test.pl

Those links were useless before also

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586802 13f79535-47bb-0310-9956-ffa450edef68
2007-10-20 21:17:45 +00:00
Andrew Zeneski 0df41168ce another change to XML output for test cases, now logs each ofbiz test suite in its own file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@580550 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 06:43:30 +00:00
Andrew Zeneski d327438d57 implemented junit xml formatted output to test cases; new options -results=filename default file outputs to runtime/logs/test-junit.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576686 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 04:27:14 +00:00
David E. Jones 0b43b8b6d8 Changed entity-xml-assert to entity-xml with an action element to specify either assert or load; note that parsing code still supports old entity-xml-assert
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572276 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 10:41:28 +00:00
David E. Jones 225ee63f85 Small change to show more information about exceptions that happen during test execution... kind of helpful when things blow up to know where
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@557528 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 08:57:37 +00:00
Andrew Zeneski beed45c130 updated test running to log more details about junit tests, also added new option -case=name-of-case to run just a specifc test-case.
java -jar ofbiz.jar -test -component=[componentName] -case=[caseName]



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@548763 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 15:25:41 +00:00
David E. Jones 07b48643c5 As noted needing to be done by Jacques Le Roux did a search/replace on source=1.4 and changed to 1.5
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541997 13f79535-47bb-0310-9956-ffa450edef68
2007-05-27 15:55:18 +00:00
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Andrew Zeneski 6a9c476406 changed logging from info to important
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@531545 13f79535-47bb-0310-9956-ffa450edef68
2007-04-23 18:04:04 +00:00
Andrew Zeneski 806b788a33 added log to show the number of test cases in a test file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@525012 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 03:28:41 +00:00
Andrew Zeneski 394d1201fa added option for running just a single component's test suite;
java -jar ofbiz.jar -test -component=[componentName]


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523053 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 19:56:52 +00:00
David E. Jones b5a7493883 Cleanup of LocalDispatcher creation through the GenericDispatcher object; consolidates a bunch of code and hopefully simplifies a things; should also more permanently fix the weird problem we were having with the testing services a bit ago
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516271 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 02:45:55 +00:00
David E. Jones 4516bbe6dd Added simple-method-test to call a simple-method as a service, without a service definition; also includes some various fixes including one from Joe in Jira OFBIZ-791
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516253 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 01:28:43 +00:00
David E. Jones 821e4438e1 Added startTest and endTest calls, as per Joe's patch in OFBIZ-784
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515889 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 02:01:52 +00:00
David E. Jones 175284f620 Appled patches from Joe Eckard for the ServiceTest implementation, and example to use it; Jira #OFBIZ-791; I made a small change to the patch to show the key and value for the error message Map
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515876 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 01:21:49 +00:00
David E. Jones ba9034287d A couple of refinements based on conversation with Joe about this new implementation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515391 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 00:22:35 +00:00
David E. Jones bf807aa5a0 Applied patch from Joe Eckard which implements the entity-xml-assert type of test and adds a small example test file for it that just validates against seed data; small change to reorganize, but mostly as-is
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515340 13f79535-47bb-0310-9956-ffa450edef68
2007-03-06 22:57:38 +00:00
David E. Jones 55d9135631 Added stub and xsd file extension for entity-xml-assert test case
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515235 13f79535-47bb-0310-9956-ffa450edef68
2007-03-06 18:10:41 +00:00
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Jacques Le Roux a5632fa086 This is hte change of ASL2 headers in java files only.
Seems correct (35827 lines to review ;o).
I just wonder if we should keep the copyright comment in Classpath.java (about MortBay)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@496982 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 10:22:33 +00:00
David E. Jones fc96cf5ab7 Changed all build files to add NOTICE and LICENSE files to the META-INF directory in each jar file that is created in OFBiz
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472422 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 08:23:23 +00:00
Jacopo Cappellato a813bfe186 Removed author information from all the files of the "testtools" component: keeping this information in source files is discouraged by the ASF (clearer information about the contributors of a file can be derived from the commit logs).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@454113 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 09:54:55 +00:00
Jacopo Cappellato b79f8b95c5 Removed unused import statements from Java classes.
Patch from Peter Goron (OFBIZ-349).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@452088 13f79535-47bb-0310-9956-ffa450edef68
2006-10-02 15:50:00 +00:00
David E. Jones 4c3ba19194 Fixed component name, was conflicting with example component
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430994 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 08:29:02 +00:00
Jacopo Cappellato 91f39d9712 License change from MIT to ASL2.0 for the files of the testtools component.
Thanks to Scott Gray for the patch (Apache OFBIZ-87).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@423840 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 08:59:10 +00:00
David E. Jones 0a73e5c434 Small cleanups, plus fixed docs build targets
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422542 13f79535-47bb-0310-9956-ffa450edef68
2006-07-16 21:35:51 +00:00
David E. Jones 94fe6d1cda Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00