Commit Graph
143 Commits
Author SHA1 Message Date
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
Jacques Le Roux 2a1a5aee14 We don't need
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>

Less to update every year!

Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783) - OFBIZ-3783

Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!

I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948846 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:23:22 +00:00
Scott Gray af90db7432 Removed an unused view-map
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931790 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 05:52:45 +00:00
Adrian Crum da42890638 A patch from Blas Rodriguez Somoza - XHTML validation errors (framework excluding widget) (https://issues.apache.org/jira/browse/OFBIZ-3622).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930701 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 15:29:58 +00:00
Scott Gray 6109808c8a Tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924378 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 17:28:01 +00:00
Jacopo Cappellato ef303e9b41 Added missing license headers.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907415 13f79535-47bb-0310-9956-ffa450edef68
2010-02-07 11:52:35 +00:00
Jacopo Cappellato 75a3c9f270 Added a bunch of missing license headers; we'll have to pay more attention on this in the future.
Still some work needs to be done in order to have the codebase inline with the ASF policies as it used to be.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907413 13f79535-47bb-0310-9956-ffa450edef68
2010-02-07 11:24:45 +00:00
Erwan de Ferrieres c7d8402c48 Correct the firefox location on debian and add new functionnalities to seleniumXml :
* take a browser screenshot with "captureEntirePageScreenshot"
* close the browser at a test's end with "closeBrowser"
Screenshots are saved in runtime/logs/ but can be changed in seleniumXml.properties file

You can try those by launching the test CommEventCreateOpportunity_testsuite.xml

The magic used to take screenshots was found on the seleniumexamples blog.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@901704 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 13:41:21 +00:00
Adam Heath b17eb127ec Fix trailing whitespace, and mixed tab/space at the beginning of lines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899812 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 21:00:23 +00:00
Erwan de Ferrieres f3f9c7ae74 Committing OFBIZ-3319 reduced patch (http://issues.apache.org/jira/browse/OFBIZ-3319) - force EN for selenium CommEventCreateOpportunity_testsuite, add firefox location on a debian machine and add the selelium java driver in the LICENSE file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899120 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 08:50:56 +00:00
Adam Heath eb0f0bfb16 Fix several generics warnings.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898090 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 22:21:12 +00:00
Adam Heath 93cc17b5b0 Remove a bunch of wildcard imports.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894106 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 19:54:58 +00:00
Adam Heath 18d0ceeaf9 Remove most docs targets, they are all the same anyways.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894031 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:28:48 +00:00
Adam Heath 1c269fc012 Convert all javadoc calls to use fileset instead of sourcepath; this
allows excludes to be processed correctly.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894030 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:24:20 +00:00