Adrian Crum
d66f311eb7
Updated all Mini-language xml files to use the new schema.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1328827 13f79535-47bb-0310-9956-ffa450edef68
2012-04-22 09:18:24 +00:00
Jacques Le Roux
5b43cd8035
Updates log4j from log4j-1.2.15.jar to log4j-1.2.16.jar.
...
BTW this remind me Jacopo's question (on user ML) about Selenium in OFBiz usage...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1293808 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 11:23:13 +00:00
Hans Bakker
380d3638c4
revert 1229478 : test result files are empty
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1229799 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 23:29:24 +00:00
Hans Bakker
f207e9cd22
make test-results location configurable in a propoerties file
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1229478 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 07:13:31 +00:00
Erwan de Ferrieres
858f807812
Moving from System.out.println to Debug.logInfo in RemoteRequest.java
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1202872 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 20:18:04 +00:00
Erwan de Ferrieres
e8160c3c00
moving from while and iterators to for each in RemoteRequest.java
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1202870 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 20:07:36 +00:00
Erwan de Ferrieres
cd830d3869
removing unused variable and useless return in RemoteRequest
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1202858 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 19:47:28 +00:00
Erwan de Ferrieres
c93edc15e6
Removing useless commented code in RemoteRequest.java
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1202856 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 19:40:37 +00:00
Erwan de Ferrieres
347707f69c
Removing unused and not related to OFBiz trunk method : RemoteRequest#login
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1202851 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 19:36:04 +00:00
Erwan de Ferrieres
82a2025c35
Correcting deprecated methods since migration to http-core 4.1.1
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1202849 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 19:30:34 +00:00
Jacques Le Roux
2b712efb98
No functional changes, simple code refactoring around UtilValidate.is(Not)Empty()
...
Changes implementation of UtilValidate.isEmpty() for Collection and Map by using isEmpty() instead of c.size() == 0). It's more clear and as efficient. Removes also useless parentheses there.
Makes use of UtilValidate.is(Not)Empty() everywhere it makes senses. This for 2 reasons:
* Make the code more readable by replacing the (!)null/isEmpty pattern.
* Avoid possible NPEs when only isEmpty() was used (after Entity.find... for instance). I found a lot of cases (242 today) where isEmpty() could perhaps be replaced in Framework. But I guess no NPE checks were missing there and anyway it was too much for me to check them all... So I only did the relevant changes in Applications...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1169478 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 17:06:11 +00:00
Hans Bakker
2a61998b2d
junit tests to test the change in r1163083 to have invoicing per order/or shipment. Also added spring jar files to be able to test ofbiz events.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1163084 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 04:25:28 +00:00
Hans Bakker
0a59303a34
remove the rest of the website definitions from seed data, the ones that are left are in the demo data
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1158099 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 03:43:06 +00:00
Marco Risaliti
a57455cac4
Removed some javadoc warning (wrong param/return) into testtools component no functional changes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1126734 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 20:44:02 +00:00
Marco Risaliti
2d629008ec
Replace tab by 4 spaces introduced by me on the previous commit
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1126636 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 18:27:08 +00:00
Marco Risaliti
98a3be4d6c
Remove some warning of compilation into SeleniumHtml
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1125954 13f79535-47bb-0310-9956-ffa450edef68
2011-05-22 13:21:53 +00:00
Jacques Le Roux
2df3f75f70
We have got this issue on trunk demo server (it works locally but fails on server)
...
[javac16] Compiling 20 source files to /home/ofbiz/trunk/framework/testtools/build/classes
[javac16] /home/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/ModelTestSuite.java💯 addTestSuite(java.lang.Class<? extends junit.framework.TestCase>) in junit.framework.TestSuite cannot be applied to (java.lang.Class<capture#618 of ?>)
[javac16] suite.addTestSuite(clz);
This change allows to compile on trunk demo server
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1098245 13f79535-47bb-0310-9956-ffa450edef68
2011-05-01 10:14:59 +00:00
Erwan de Ferrieres
ef9cf5e8ce
Correcting properties and using the https start url for selenium tests
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092796 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 19:58:48 +00:00
Erwan de Ferrieres
88f43e56ba
Adding a new property for the https start url
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092793 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 19:32:05 +00:00
Erwan de Ferrieres
c75733c167
using the firefox profile by default when running selenium tests
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092791 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 19:30:12 +00:00
Erwan de Ferrieres
7d3833005f
Adding a simple firefox profile which has accepted the OFBiz HTTPS certificate. It will be no more necessary to change the port.https.enabled to N in url.properties. Still some changes to come.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092773 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 17:38:57 +00:00
Jacques Le Roux
21cee33617
Keeps firefoxDefaultPath as a reminder
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092713 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 14:15:42 +00:00
Erwan de Ferrieres
2e635a5a55
Automatic imports reorganization in SeleniumXml.java -- no functional changes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092710 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 14:04:58 +00:00
Erwan de Ferrieres
cc247e81e2
Now OFBiz is able to run HTML selenium testsuites. Non specific java code is coming from SeleniumHtmlClient ( https://github.com/takamori/selenium-html-client-driver ) which is under the Apache2 license.
...
A testsuite is provided with the commit, just go to the selenium webtools' page, and execute it. For now, you still need to change the url.properties file, and start the selenium server.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092706 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 13:55:38 +00:00
Erwan de Ferrieres
f865611683
Using default firefox installed in the system for selenium tests, if another one is to be used then the config should be modified
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092652 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 10:11:11 +00:00
Hans Bakker
d5fef640bf
add timeout to selenium tests
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090744 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 07:20:27 +00:00
Hans Bakker
0808b047e8
Update selenium version
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087595 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 06:07:26 +00:00
Jacques Le Roux
b8a8a93b0a
Typo
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086844 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 05:30:53 +00:00
Jacques Le Roux
9cb202e326
Update the link to OFBiz SeleniumXml copy of the presentation that was given at the ApacheCon2008 OFBiz Conference that describes more about the project.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086843 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 05:29:04 +00:00
Erwan de Ferrieres
076910e971
Adding a new field for seleniumTestSuitePaths, testSuiteType, which should be filled with HTML or XML
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084551 13f79535-47bb-0310-9956-ffa450edef68
2011-03-23 11:51:33 +00:00
Jacques Le Roux
0fb95c2459
Adds 2 convenient anchors (seleniumXml and Junit)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084543 13f79535-47bb-0310-9956-ffa450edef68
2011-03-23 11:32:37 +00:00
Jacques Le Roux
b7f5077402
Sorry while switching from OFBiz trunk to an internal directory I used the from folder when committing this
...
Thanks to Erwan for report
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084139 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 11:35:17 +00:00
Jacques Le Roux
5584e478aa
Since we have no access to Internet I exceptionally add selenium-server.jar, it's easier than upload and same at end
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084133 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 11:11:42 +00:00
Erwan de Ferrieres
fe64b09e06
Adding a comment about the new way to download selenium-server.jar
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082252 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 18:34:49 +00:00
Erwan de Ferrieres
a3148c7f8c
Updating the newExample test and making work after ajax-window introduction
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082172 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 15:55:41 +00:00
Erwan de Ferrieres
bd816b4092
Updating the download-selenium target, now it is using the release 1.0.3, which resolves some issues with firefox
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082149 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 13:55:24 +00:00
Jacques Le Roux
49d51439bf
A bit better when using Selenium in Webtools without Internet access. (forgot java file in previous commit)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082113 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 10:21:07 +00:00
Jacques Le Roux
28ffd1c292
A bit better when using Selenium in Webtools without Internet access.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082112 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 10:19:11 +00:00
Jacques Le Roux
93ed1f805a
Small add about Selenium and Windows
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082105 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 09:48:20 +00:00
Jacques Le Roux
d6ff9b946d
Allow to use Selenium in Webtools with (by default) or without Internet access.
...
Of course, without Internet access needs selenium-server.jar in framework/testtools/lib/ to work
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082088 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 08:28:27 +00:00
Marco Risaliti
d22d6e92cf
Remove some warning in testtools component (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081103 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 12:49:04 +00:00
Marco Risaliti
10420a38ab
Remove a warning about a possible NPE in VerifySeleniumSetups (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1078295 13f79535-47bb-0310-9956-ffa450edef68
2011-03-05 14:37:06 +00:00
Marco Risaliti
62cfec0ea0
Remove an unused variable in EntityXmlAssertTest (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1068563 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 20:37:17 +00:00
Jacques Le Roux
24fe5ff37e
Merges the jQuery branch back to the trunk
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044503 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 20:40:08 +00:00
Bruno Busco
63e4c236d0
Deleted requests and view-maps no longer used. (Fixes errors reported in logs using the ArtifactInfo screen)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996323 13f79535-47bb-0310-9956-ffa450edef68
2010-09-12 14:46:20 +00:00
Adam Heath
b273b52dad
Finally created a script to find and fix tons of missing final newlines.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:46:48 +00:00
Adam Heath
ac2299c50e
Fix a bunch of no final newline issues.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965918 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:15:21 +00:00
Jacques Le Roux
9ef845d0ad
A patch from BJ Freeman "complete web.xml for error reporting" ( https://issues.apache.org/jira/browse/OFBIZ-3820 ) - OFBIZ-3820
...
BJ: when there is an error, the control servlet looks for an error path in <param-name>allowedPaths</param-name>
it does not find one throwing an exception which buries the orginal error.
instead of changing the code it is just easier to add the /error: path.
then the real error gets reported correctly.
JLR: This will maybe help to better understand some errors on demo servers, and can't hurt
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954135 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 20:47:08 +00:00
Jacques Le Roux
6193dd4e53
<author>None</author> is totally useless and we don't need an author OOTB
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@949101 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 05:41:23 +00:00
Jacques Le Roux
63fd94e778
Not sure why, but my regexp S/R in the commit r948846 boke some formatting. I also removed some useless other stuff in this commit
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948852 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:45:59 +00:00