Commit Graph
226 Commits
Author SHA1 Message Date
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
Adam Heath 56dac0bf9e Add a classes target to common.xml, and switch most build.xml to use it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894024 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:16:56 +00:00
Adam Heath 47b0a876ed Switch all javac15 to javac16.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894022 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:12:04 +00:00
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
Adam Heath ad3b379d34 Fix groovy class parsing/caching.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@891070 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 23:24:02 +00:00
Scott Gray 95b37037cf Updated incorrect selenium download link, added notes to try and prevent it from happening again
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890518 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 22:41:03 +00:00
Jacques Le Roux 47c9613346 Some easy documentation (cwiki) links changes following r888510
I have found a way to fix tinylinks :D http://confluence.atlassian.com/pages/viewpage.action?pageId=162988142

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888559 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 20:23:23 +00:00
Jacques Le Roux de77e0bca8 A patch from Erwan de FERRIERES "seleniumXML improvement and corrections" (https://issues.apache.org/jira/browse/OFBIZ-3296) - OFBIZ-3296
corrected the XML tests
added new functions in selenium for better conversion from selenese and use with the XML tests :
    * echo
    * verifyTextPresent
    * verifyTextNotPresent
    * assertTitle
    * assertConfirmation
Removed comments
    *  waitForPageToLoad : just wait the page to load before any other action (time in ms)
    * click : make a click on an element
    * assertContains : assert an element contains some code.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887126 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 09:27:30 +00:00
Jacques Le Roux 2de8e3d53a A patch from Erwan de FERRIERES "Cleaning of the seleniumXml.java and seleniumIDEconverter.java files" (https://issues.apache.org/jira/browse/OFBIZ-3286) - OFBIZ-3286
This patch do not modify the files, but is just for cleaning this files :
seleniumXml.java
seleniumIDEconverter.java

There is a lot of LOC commented in the code, a lot of whitespaces and so on. This patch removes all of this.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886301 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 21:04:54 +00:00
Jacques Le Roux db9d329c2c A enhanced patch from Erwan de FERRIERES "Bug when using convert selenium html tests to xml" (https://issues.apache.org/jira/browse/OFBIZ-3282) - OFBIZ-3282
This line was causing the error : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
What Erwan done :
    * corrected the imports in the script
    * used sed to remove this line, it is now creating a temp file without the line which is given to the converter.

I have personally modified the convertSeleniumIDE.bat file but did not test (nor Linux version, I suppose it's ok). I guess this will mostly used on Linux Server and should work anyway.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886233 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 18:14:39 +00:00
Jacques Le Roux 98fe02257c A patch from Erwan de FERRIERES "Add the images in docbook help" (https://issues.apache.org/jira/browse/OFBIZ-3280) - OFBIZ-3280
In this new version, I :
    * removed the graphic tag
    * added the mediaobject tag
    * updated the selenium help page


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886157 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 14:32:48 +00:00
Hans Bakker b2e6528f36 duplicated and a unused file in the selenium test tools as reported by Erwan de FERRIERES in the mailinglist
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886084 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 09:26:42 +00:00
Christian Geisert 8ab47b6571 more eol-styles fixes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885771 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 14:37:11 +00:00
Jacques Le Roux ee6851fe83 A patch from Erwan de FERRIERES "Force the locale to english when running selenium tests" (https://issues.apache.org/jira/browse/OFBIZ-3281) - OFBIZ-3281
When running a seleniumXML test, the locale used should be English as the buttons or links are defined in English in the test files. 
Adding the language choice before logging in the application will then resolved errors due to a bad localization.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885752 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 12:17:58 +00:00
Jacques Le Roux f0ba7b0e6f A slightly modified patch from Erwan de FERRIERES "Add the images in docbook help" (https://issues.apache.org/jira/browse/OFBIZ-3280) - OFBIZ-3280
this patch will allow to diplay images in the help system.
The help images will be located in framework/images/webapp/images/help (one is included in this issue)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885748 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 12:03:51 +00:00
Jacques Le Roux 15b7cd6582 Fix an issue in r885112
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885115 13f79535-47bb-0310-9956-ffa450edef68
2009-11-28 17:17:48 +00:00
Jacques Le Roux 47b0eff762 More uses of is(Not)Empty
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885112 13f79535-47bb-0310-9956-ffa450edef68
2009-11-28 16:27:42 +00:00
Jacques Le Roux 569a4afeea Some cleaning related to isEmpty
* remove duplicate ()
* remove casts no longer needed

I'm doing these last tasks around isEmpty and isNotEmpty mostly to be sure that nothing has slipped in. Despite I have been very careful, I prefer double check.

+ one typo in ofbizSelenium help (not sure this file is used yet though, seems to be missing some parts which are commented out, for now I guess)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885093 13f79535-47bb-0310-9956-ffa450edef68
2009-11-28 14:08:16 +00:00