Branch: refs/heads/master Home: https://github.com/jenkinsci/testng-plugin-plugin Commit: dafb9d5d4b619dd52ff930caa8d19320b12b8547 https://github.com/jenkinsci/testng-plugin-plugin/commit/dafb9d5d4b619dd52ff930caa8d19320b12b8547 Author: Nalin Makar <nul...@nullin.com> Date: 2013-01-14 (Mon, 14 Jan 2013)
Changed paths: M README A src/main/java/hudson/plugins/testng/BuildActionConverter.java R src/main/java/hudson/plugins/testng/BuildIndividualReport.java M src/main/java/hudson/plugins/testng/PluginImpl.java M src/main/java/hudson/plugins/testng/Publisher.java R src/main/java/hudson/plugins/testng/TestNGBuildAction.java M src/main/java/hudson/plugins/testng/TestNGProjectAction.java A src/main/java/hudson/plugins/testng/TestNGTestResultBuildAction.java M src/main/java/hudson/plugins/testng/parser/ResultsParser.java M src/main/java/hudson/plugins/testng/results/BaseResult.java M src/main/java/hudson/plugins/testng/results/ClassResult.java M src/main/java/hudson/plugins/testng/results/MethodResult.java M src/main/java/hudson/plugins/testng/results/MethodResultException.java M src/main/java/hudson/plugins/testng/results/PackageResult.java A src/main/java/hudson/plugins/testng/results/TestNGResult.java A src/main/java/hudson/plugins/testng/results/TestNGTestResult.java R src/main/java/hudson/plugins/testng/results/TestResult.java R src/main/java/hudson/plugins/testng/results/TestResults.java M src/main/java/hudson/plugins/testng/util/FormatUtil.java M src/main/java/hudson/plugins/testng/util/GraphHelper.java M src/main/java/hudson/plugins/testng/util/TestResultHistoryUtil.java R src/main/resources/hudson/plugins/testng/TestNGBuildAction/bar.jelly R src/main/resources/hudson/plugins/testng/TestNGBuildAction/index.jelly R src/main/resources/hudson/plugins/testng/TestNGBuildAction/reportDetail.jelly R src/main/resources/hudson/plugins/testng/TestNGBuildAction/summary.jelly A src/main/resources/hudson/plugins/testng/TestNGProjectAction/floatingBox.groovy R src/main/resources/hudson/plugins/testng/TestNGProjectAction/floatingBox.jelly A src/main/resources/hudson/plugins/testng/TestNGProjectAction/index.groovy R src/main/resources/hudson/plugins/testng/TestNGProjectAction/index.jelly A src/main/resources/hudson/plugins/testng/TestNGTestResultBuildAction/bar.groovy A src/main/resources/hudson/plugins/testng/TestNGTestResultBuildAction/index.groovy A src/main/resources/hudson/plugins/testng/TestNGTestResultBuildAction/reportDetail.jelly A src/main/resources/hudson/plugins/testng/TestNGTestResultBuildAction/summary.groovy M src/main/resources/hudson/plugins/testng/results/ClassResult/reportDetail.jelly M src/main/resources/hudson/plugins/testng/results/MethodResult/index.jelly A src/main/resources/hudson/plugins/testng/results/MethodResult/reportDetail.groovy R src/main/resources/hudson/plugins/testng/results/MethodResult/reportDetail.jelly A src/main/resources/hudson/plugins/testng/results/PackageResult/bar.groovy R src/main/resources/hudson/plugins/testng/results/PackageResult/bar.jelly A src/main/resources/hudson/plugins/testng/results/PackageResult/index.groovy R src/main/resources/hudson/plugins/testng/results/PackageResult/index.jelly M src/main/resources/hudson/plugins/testng/results/PackageResult/reportDetail.jelly M src/test/java/hudson/plugins/testng/parser/TestParser.java M src/test/java/hudson/plugins/testng/util/FormatUtilTest.java Log Message: ----------- Major changes to TestNG plugin * Implement AbstractTestResultAction * Removed deprecated class BuildIndividualReport (deprecated since v0.23) * Removed deprecated fields isRelativePath, results, fullName (were deprecated since v0.23 or earlier) * Changed duration in results to be seconds instead of milliseconds (as we now implement AbstractTestResultAction) * TestResults --> TestNGResult * TestResult --> TestNGTestResult * BaseResult now extends TabulatedResult so that we can use a uniform way of handling children * All duration is now in seconds instead of milliseconds * Updated all result related classes to override and implement as many of the AbstractTestResultAction methods as possible. e.g. replaced ClassResult#getFail() with ClassResult#getFailCount() * Replaced several jelly files with groovy testing: most of the things *seem* to work. Needs more testing Commit: 43d7641bc66c8d9d2eddaaae549249b342f941f3 https://github.com/jenkinsci/testng-plugin-plugin/commit/43d7641bc66c8d9d2eddaaae549249b342f941f3 Author: Nalin Makar <nul...@nullin.com> Date: 2013-01-15 (Tue, 15 Jan 2013) Changed paths: M src/main/java/hudson/plugins/testng/results/BaseResult.java M src/main/java/hudson/plugins/testng/results/ClassResult.java M src/main/java/hudson/plugins/testng/results/PackageResult.java M src/main/resources/hudson/plugins/testng/TestNGTestResultBuildAction/index.groovy A src/main/resources/hudson/plugins/testng/TestNGTestResultBuildAction/reportDetail.groovy R src/main/resources/hudson/plugins/testng/TestNGTestResultBuildAction/reportDetail.jelly M src/main/resources/hudson/plugins/testng/results/ClassResult/reportDetail.jelly M src/main/resources/hudson/plugins/testng/results/PackageResult/reportDetail.jelly A src/main/webapp/js/show_all_exec_methods.js A src/main/webapp/js/show_more.js A src/main/webapp/js/toggle_table.js Log Message: ----------- Jelly related updates 1. Moved javascript into separate js files 2. Moved getAge method up into BaseResult 3. Converted TestNGTestResultBuildAction's reportDetail.jelly to .groovy file 4. Removed some methods from PackageResult that are no longer needed NOTE: getAge method is failing (and has been failing). Commit: 63f7046a4b8066756cc532f12f9f12ed85cc0140 https://github.com/jenkinsci/testng-plugin-plugin/commit/63f7046a4b8066756cc532f12f9f12ed85cc0140 Author: Nalin Makar <nul...@nullin.com> Date: 2013-01-16 (Wed, 16 Jan 2013) Changed paths: M src/main/java/hudson/plugins/testng/results/PackageResult.java M src/main/java/hudson/plugins/testng/util/FormatUtil.java M src/main/resources/hudson/plugins/testng/TestNGTestResultBuildAction/reportDetail.groovy M src/main/resources/hudson/plugins/testng/results/PackageResult/reportDetail.jelly M src/test/java/hudson/plugins/testng/util/FormatUtilTest.java Log Message: ----------- Renamed formatTimeInMilliSeconds to formatTime Commit: edc3e3a83703be43eed683823c2145b12c5c96e7 https://github.com/jenkinsci/testng-plugin-plugin/commit/edc3e3a83703be43eed683823c2145b12c5c96e7 Author: Nalin Makar <nul...@nullin.com> Date: 2013-01-17 (Thu, 17 Jan 2013) Changed paths: M src/main/java/hudson/plugins/testng/results/ClassResult.java M src/main/java/hudson/plugins/testng/results/MethodResult.java A src/main/resources/hudson/plugins/testng/results/ClassResult/index.groovy R src/main/resources/hudson/plugins/testng/results/ClassResult/index.jelly A src/main/resources/hudson/plugins/testng/results/ClassResult/reportDetail.groovy R src/main/resources/hudson/plugins/testng/results/ClassResult/reportDetail.jelly A src/main/resources/hudson/plugins/testng/results/MethodResult/index.groovy R src/main/resources/hudson/plugins/testng/results/MethodResult/index.jelly M src/main/resources/hudson/plugins/testng/results/MethodResult/reportDetail.groovy M src/main/resources/hudson/plugins/testng/results/PackageResult/index.groovy A src/main/resources/hudson/plugins/testng/results/PackageResult/reportDetail.groovy R src/main/resources/hudson/plugins/testng/results/PackageResult/reportDetail.jelly R src/main/webapp/js/show_all_exec_methods.js Log Message: ----------- Interim checkin 1. Replaced jelly w/ groovy for all reportDetail.jelly files 2. Moved some code out of Java classes into Groovy b'cause it was related only to displaying information 3. Some AJAX related stuff is not working. Needs to more testing/tweaking Commit: 59ee328213faeb4a13f0a15ce4da9dd578e36dab https://github.com/jenkinsci/testng-plugin-plugin/commit/59ee328213faeb4a13f0a15ce4da9dd578e36dab Author: Nalin Makar <nul...@nullin.com> Date: 2013-01-17 (Thu, 17 Jan 2013) Changed paths: M src/main/resources/hudson/plugins/testng/results/PackageResult/reportDetail.groovy Log Message: ----------- Fix st.bind issue // apparently, calling st.bind spits out the required information // directly to output stream. So, no need to wrap it in text(). // in fact, that approach doesn't work Commit: ac85e8ee9c5b577e6ff45df4e708cbf23350d19c https://github.com/jenkinsci/testng-plugin-plugin/commit/ac85e8ee9c5b577e6ff45df4e708cbf23350d19c Author: Nalin Makar <nul...@nullin.com> Date: 2013-01-17 (Thu, 17 Jan 2013) Changed paths: M src/main/java/hudson/plugins/testng/results/BaseResult.java M src/main/resources/hudson/plugins/testng/TestNGTestResultBuildAction/reportDetail.groovy M src/main/resources/hudson/plugins/testng/results/PackageResult/reportDetail.groovy Log Message: ----------- Commenting out Age column. Need to decide what we really want to use it for. Commit: 2acc9de86c77319a1d56ee677085b5435e1640e6 https://github.com/jenkinsci/testng-plugin-plugin/commit/2acc9de86c77319a1d56ee677085b5435e1640e6 Author: Nalin Makar <nul...@nullin.com> Date: 2013-01-21 (Mon, 21 Jan 2013) Changed paths: M src/main/java/hudson/plugins/testng/results/MethodResult.java M src/main/resources/hudson/plugins/testng/results/ClassResult/reportDetail.groovy M src/main/resources/hudson/plugins/testng/results/MethodResult/reportDetail.groovy A src/test/java/hudson/plugins/testng/CommonUtil.java A src/test/java/hudson/plugins/testng/Constants.java M src/test/java/hudson/plugins/testng/PublisherTest.java A src/test/java/hudson/plugins/testng/TestNGProjectActionTest.java M src/test/java/hudson/plugins/testng/parser/TestParser.java A src/test/java/hudson/plugins/testng/results/MethodResultTest.java R src/test/resources/sample-testng-dp-result.xml R src/test/resources/sample-testng-empty-exp.xml R src/test/resources/sample-testng-reporter-log-result.xml R src/test/resources/sample-testng-results.xml A src/test/resources/testng-description-html.xml A src/test/resources/testng-dp-result.xml A src/test/resources/testng-empty-exp.xml A src/test/resources/testng-instance-name.xml A src/test/resources/testng-precheckins.xml A src/test/resources/testng-reporter-log-result.xml R src/test/resources/testng-results-instance-name.xml R src/test/resources/testng-results-same-test.xml R src/test/resources/testng-results-xml-exp-msg.xml A src/test/resources/testng-same-test-name.xml A src/test/resources/testng-xml-exp-msg.xml Log Message: ----------- Added new tests for MethodResult, TestNGProjectAction and Publisher - Renamed result xml files used for testing to better organize them. - Created CommonUtil and Constants class - Added many new tests for Publisher, MethodResult, TestNGProjectAction - Fixed many trivial bugs on MethodResult page All tests passed Commit: d2fd9f540676c4e33150ac970d305cbf3e6355f8 https://github.com/jenkinsci/testng-plugin-plugin/commit/d2fd9f540676c4e33150ac970d305cbf3e6355f8 Author: Nalin Makar <nul...@nullin.com> Date: 2013-01-21 (Mon, 21 Jan 2013) Changed paths: M src/main/resources/hudson/plugins/testng/results/ClassResult/reportDetail.groovy A src/test/java/hudson/plugins/testng/results/ClassResultTest.java M src/test/java/hudson/plugins/testng/results/MethodResultTest.java Log Message: ----------- Added ClassResultTest Some basic tests for ClassResult's view page Tests pass Commit: f0b49ae5fc2dc3c35e5c7d2c0d4809f3f90fc93f https://github.com/jenkinsci/testng-plugin-plugin/commit/f0b49ae5fc2dc3c35e5c7d2c0d4809f3f90fc93f Author: Nalin Makar <nul...@nullin.com> Date: 2013-01-21 (Mon, 21 Jan 2013) Changed paths: M src/main/resources/hudson/plugins/testng/results/PackageResult/bar.groovy M src/main/resources/hudson/plugins/testng/results/PackageResult/reportDetail.groovy M src/test/java/hudson/plugins/testng/parser/TestParser.java A src/test/java/hudson/plugins/testng/results/PackageResultTest.java Log Message: ----------- New tests for PackageResult view tests pass Commit: e59af5a2059ec5c64f5c7a580e8d1885cd9b0eac https://github.com/jenkinsci/testng-plugin-plugin/commit/e59af5a2059ec5c64f5c7a580e8d1885cd9b0eac Author: Nalin Makar <nul...@nullin.com> Date: 2013-01-21 (Mon, 21 Jan 2013) Changed paths: M src/main/java/hudson/plugins/testng/parser/ResultsParser.java M src/main/java/hudson/plugins/testng/results/MethodResultException.java M src/test/java/hudson/plugins/testng/parser/TestParser.java Log Message: ----------- Fixed issue when exception is present with no stack trace Not sure how this is possible in testng XML, but the code now handles this situation. We use <exception> tag's class attr to set exception name. all tests passed Commit: f78014bd4a9142f7f897d2dbbb2816e75c2912f6 https://github.com/jenkinsci/testng-plugin-plugin/commit/f78014bd4a9142f7f897d2dbbb2816e75c2912f6 Author: Nalin Makar <nul...@nullin.com> Date: 2013-01-21 (Mon, 21 Jan 2013) Changed paths: M src/main/resources/hudson/plugins/testng/TestNGTestResultBuildAction/bar.groovy M src/main/resources/hudson/plugins/testng/TestNGTestResultBuildAction/reportDetail.groovy A src/test/java/hudson/plugins/testng/TestNGTestResultBuildActionTest.java M src/test/java/hudson/plugins/testng/results/MethodResultTest.java M src/test/java/hudson/plugins/testng/results/PackageResultTest.java Log Message: ----------- Added TestNGTestResultBuildActionTest both tests pass Commit: 43e72a907aecab713e9cdd900a6117b3c8da52a5 https://github.com/jenkinsci/testng-plugin-plugin/commit/43e72a907aecab713e9cdd900a6117b3c8da52a5 Author: Nalin Makar <nul...@nullin.com> Date: 2013-01-21 (Mon, 21 Jan 2013) Changed paths: M src/main/java/hudson/plugins/testng/PluginImpl.java M src/main/java/hudson/plugins/testng/TestNGProjectAction.java M src/main/java/hudson/plugins/testng/TestNGTestResultBuildAction.java M src/main/java/hudson/plugins/testng/results/TestNGResult.java M src/main/java/hudson/plugins/testng/results/TestNGTestResult.java M src/main/java/hudson/plugins/testng/util/TestResultHistoryUtil.java Log Message: ----------- trivial changes Compare: https://github.com/jenkinsci/testng-plugin-plugin/compare/645ad23f5370...43e72a907aec