Scott Gray
e1cbfb28ed
Added the ability to include all tests from a given simple method document in a test suite by only specifying the location and not the method name. All simple methods with a method name beginning with "test" will be included and will be executed in the order present in the document. Example usage:
...
<test-case case-name="auto-accounting-transaction-tests">
<simple-method-test location="component://accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml"/>
</test-case>
Basically just mimics the behavior of the junit-test-suite tag but for simple method tests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893662 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 00:40:19 +00:00
Adrian Crum
2b0d1e0c63
Improved converter tests.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893635 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 21:39:55 +00:00
Erwan de Ferrieres
acb76c79d8
Corrected a wrong position of the ajax messages which were displayed in the menus. Now they are placed before the content-main-section
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893459 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 10:30:06 +00:00
Hans Bakker
d9db84b8cb
Add a section to the internal ofbiz document explaining the junit test facility in OFBiz
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893396 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 03:45:54 +00:00
Adam Heath
68278753f9
Pass the list of values to ModelConversion.convert().
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893345 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 23:17:56 +00:00
Adam Heath
4693797bc2
Remove plurality in ModelConversion.convert().
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893344 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 23:17:13 +00:00
Adam Heath
f355b9e503
Don't test viewEntityCondition against null multiple times.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893342 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 23:16:38 +00:00
Adam Heath
1dc3aa9b0a
Make the map passed to convert read-only.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893340 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 23:14:22 +00:00
Adrian Crum
ca49d9bc66
First batch of converter tests.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893313 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 20:54:55 +00:00
Erwan de Ferrieres
5a07e94c83
Closing OFBIZ-3375 , adding description to checkboxes. When using an entity-options combined with <check>, the description wasn't displayed.
...
An example form is at <OFBiz instance>/example/control/FormWidgetExamples
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893282 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 19:33:06 +00:00
Erwan de Ferrieres
2c5f74bb7e
Complement of rev 892579, adding geolocation by address. An example screen is visible at
...
<OFBiz instance>/example/control/ExampleGeoLocationAddress
This also closes JIRA-2930
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893277 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 19:11:53 +00:00
Erwan de Ferrieres
1f8dd4049b
a container was forgotten in rev. 892982
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893115 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 09:08:15 +00:00
Hans Bakker
a6f58e1d8c
make the soap tests independent of the application component, contribution by chatree, suggestion by Scott
...
detail:
1. change from ProductCategory and Product entity to Testing and TestingNode entity in testSOAP service
2. insert login.username and login.password attribute document in message part of WSDL
3. change type of eepk- and eeval- element to map-Map and insert its document in WSDL
4. insert document for cus-obj element in WSDL
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893087 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 06:47:20 +00:00
Adam Heath
dfc631e2ed
Start actually doing real testing.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893082 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 06:11:53 +00:00
Adam Heath
3aefa8e81f
Use the alternate FieldValue when no table alias is used.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893081 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 06:11:24 +00:00
Adam Heath
2392b1e5cc
Make alias optional for function calls and math value field definitions.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893080 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 06:11:00 +00:00
Adam Heath
0e7872abef
It turns out that all current uses of this are actually with
...
StaticValues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893079 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 06:10:33 +00:00
Adam Heath
8626985652
Start of visitor support.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893078 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 06:09:55 +00:00
Adam Heath
dae44c3bd4
Some set helper methods.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893077 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 06:08:43 +00:00
Adam Heath
cdec74a809
Fix alias-based fielddef parsing.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893076 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 06:08:15 +00:00
Bruno Busco
a9e90996c3
Birt webapp should not appear in the Application bar menu
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892987 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 21:30:52 +00:00
Bruno Busco
48112d1bab
Fixed Birt layout issue using bizzness theme.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892986 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 21:29:47 +00:00
Bruno Busco
6728682197
Fixed geoChart layout issue using bizzness theme.
...
Thank you Erwan for reporting.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892982 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 21:20:25 +00:00
Erwan de Ferrieres
5962b6efc4
Removed trailing spaces and a headerItem was forgotten, so the menu wasn't visually selected
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892738 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 09:16:06 +00:00
Jacopo Cappellato
13a79db193
Upgrade to Derby 10.5.3.0
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892733 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 09:04:52 +00:00
Hans Bakker
ea3a88e1a6
Upgrade Axis1 to Axis2. Ofbiz now supports complex parameters in webservices including WSDL generation. see OFBIZ-3363 for more info. A contribution of Antwebsystems employee Chatree
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892712 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 07:31:58 +00:00
Adam Heath
3959e34c47
Bunch of sql stmts and other commands that provide for more coverage.
...
Still not actually testing the output, other than printing.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892706 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 06:05:21 +00:00
Adam Heath
be3e008240
Support MathValue for field definitions.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892705 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 06:04:47 +00:00
Adam Heath
c66af181b1
MathValue now supports constants.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892704 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 06:04:09 +00:00
Adam Heath
bed7885f78
StaticValues are constant.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892703 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 06:03:33 +00:00
Adam Heath
dad8c988e6
Add TYPE and TITLE keywords to string output.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892702 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 06:02:57 +00:00
Adam Heath
5706e76dbe
Switch all IllegalArgumentException to ParseException.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892701 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 06:02:24 +00:00
Adam Heath
cec6ba71e1
Allow view definitions for full file parsing.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892700 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 06:01:51 +00:00
Adam Heath
1c2bc9b83b
Need to wrap the list with ().
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892699 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 06:01:24 +00:00
Adam Heath
9d031c883b
Fix planning of MathValue.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892696 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 05:49:13 +00:00
Adam Heath
ac8c6c51c0
Add trax support libraries, so that junitreport can work.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892694 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 05:31:11 +00:00
Adam Heath
c95c42b395
Upgrade ant to 1.7.1.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892693 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 05:30:14 +00:00
Scott Gray
3f33a1fab7
Deprecated the various json event handlers and commented out references to them from the controllers
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892685 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 05:01:20 +00:00
Bruno Busco
2712c9f5cf
Replaced include-screen to decorator-screen. This was causing some error log.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892660 13f79535-47bb-0310-9956-ffa450edef68
2009-12-20 21:07:03 +00:00
Bruno Busco
8820cd85c1
Sorry, it should have been added to example only, not to birt component also.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892659 13f79535-47bb-0310-9956-ffa450edef68
2009-12-20 20:54:26 +00:00
Bruno Busco
cafa721fec
Added birt webapp in the example component. This was erroneusly omitted in previous commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892658 13f79535-47bb-0310-9956-ffa450edef68
2009-12-20 20:47:20 +00:00
Bruno Busco
63ebc81a33
Moved Birt demos in the Example application. (OFBIZ-3352)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892633 13f79535-47bb-0310-9956-ffa450edef68
2009-12-20 18:22:09 +00:00
Bruno Busco
aab5b852bd
Extended example TabBar menus from the CommonTabBarMenu.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892584 13f79535-47bb-0310-9956-ffa450edef68
2009-12-20 11:13:47 +00:00
Bruno Busco
d9ea486930
Added the geoChart common screen. (OFBIZ-3348)
...
This can be used to show a set of geo points on a Google map.
The screen takes as input a geoChart map containing:
* dataSourceId -> select the map system to be used (google, yahoo etc.)
* width -> map dimensions
* height -> map dimensions
* center -> the center point of the map
* points -> the points array to be showed on the map
Several example screens have been also added to the Example application
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892579 13f79535-47bb-0310-9956-ffa450edef68
2009-12-20 09:41:03 +00:00
Marco Risaliti
a5d07a3295
With this changes now we could remove default country to avoid double rows in drop-down.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892512 13f79535-47bb-0310-9956-ffa450edef68
2009-12-19 22:17:41 +00:00
Marco Risaliti
b82a0ad594
Add the possibility to sort the associated states to a country in a different way than by geoId (OFBIZ-3370)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892470 13f79535-47bb-0310-9956-ffa450edef68
2009-12-19 13:50:39 +00:00
Hans Bakker
57463f1f36
too many files copied over from the addbirt branch: corrected
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892454 13f79535-47bb-0310-9956-ffa450edef68
2009-12-19 09:22:29 +00:00
Bilgin Ismet Ibryam
340eef18b0
Made form paginate attribute use FlexibleStringExpander.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892371 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 20:25:20 +00:00
Erwan de Ferrieres
e415ead48d
Correction of the docbook shema location in example help files
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892318 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 17:19:20 +00:00
Bilgin Ismet Ibryam
485963e2cb
When a form has paginate="false" render all the rows by setting a big viewSize internally.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892264 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 14:48:33 +00:00