Commit Graph
88 Commits
Author SHA1 Message Date
kohsuke 33459711a6 whitespace change that IntelliJ refuses to revert.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12797 71c3de6d-444a-0410-be80-ed276b4c234a
2008-10-28 01:25:38 +00:00
kohsuke 433b8b3644 added a new assert method so that we can see the cause of a failure better
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12795 71c3de6d-444a-0410-be80-ed276b4c234a
2008-10-28 00:53:40 +00:00
kohsuke 407d54152d base directory needs to be set manually
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12455 71c3de6d-444a-0410-be80-ed276b4c234a
2008-10-02 01:44:45 +00:00
kohsuke 07de704d1f run netx without requiring X
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12448 71c3de6d-444a-0410-be80-ed276b4c234a
2008-10-02 00:47:45 +00:00
kohsuke 67b8d6f5fa Marking IE6 causes some problem in YUI event.js
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12360 71c3de6d-444a-0410-be80-ed276b4c234a
2008-09-25 18:39:54 +00:00
kohsuke 06d93cbc9b added more tests
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12336 71c3de6d-444a-0410-be80-ed276b4c234a
2008-09-24 20:50:45 +00:00
kohsuke 5a6ddd4fa6 [FIXED HUDSON-2380]
"Tag this build" link shouldn't show up in the navigation bar if the user doesn't have a permission.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12323 71c3de6d-444a-0410-be80-ed276b4c234a
2008-09-24 18:04:42 +00:00
kohsuke 103a06d0c4 added SCM tagging persmission
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12322 71c3de6d-444a-0410-be80-ed276b4c234a
2008-09-24 17:58:22 +00:00
kohsuke 86f857ccf5 another convenience method.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12319 71c3de6d-444a-0410-be80-ed276b4c234a
2008-09-24 16:53:35 +00:00
kohsuke 7f98ffbd24 added more convenience method.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12318 71c3de6d-444a-0410-be80-ed276b4c234a
2008-09-24 16:51:23 +00:00
kohsuke bceeee5939 partial test case committed so that I can continue this from the office.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12315 71c3de6d-444a-0410-be80-ed276b4c234a
2008-09-24 15:32:02 +00:00
kohsuke fc3dbc2cfb fixed a packaging program so that we can package anything.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12314 71c3de6d-444a-0410-be80-ed276b4c234a
2008-09-24 15:28:47 +00:00
kohsuke 86c8e65716 svn repository that contains test data
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12313 71c3de6d-444a-0410-be80-ed276b4c234a
2008-09-24 15:18:43 +00:00
redsolo 91c2f6f870 [FIXED HUDSON-2398] Show summary.jelly files for JobProperties in the project page
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12262 71c3de6d-444a-0410-be80-ed276b4c234a
2008-09-22 21:28:07 +00:00
redsolo f9db1587b9 [FIXED HUDSON-2331] UserProperty's with a summary.jelly is not shown in the main user page (Applied patch)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12254 71c3de6d-444a-0410-be80-ed276b4c234a
2008-09-21 09:11:41 +00:00
redsolo b433a9776a Fixed the incovenient convenience method (compile first, then commit!)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12248 71c3de6d-444a-0410-be80-ed276b4c234a
2008-09-20 11:07:18 +00:00
redsolo 32392b0037 Added convenience method
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12247 71c3de6d-444a-0410-be80-ed276b4c234a
2008-09-20 07:29:44 +00:00
kohsuke 2169dce3ca improved the diagnosability when the explode() method fails
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11973 71c3de6d-444a-0410-be80-ed276b4c234a
2008-09-02 22:24:49 +00:00
kohsuke 3ff2b5cd02 fixed a bug in a test
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11968 71c3de6d-444a-0410-be80-ed276b4c234a
2008-09-02 21:59:12 +00:00
kohsuke a82273ad38 detecting a problem in a test explicitly.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11967 71c3de6d-444a-0410-be80-ed276b4c234a
2008-09-02 21:58:24 +00:00
kohsuke 3edd36e40d addded a variable to test if Hudson is being unit tested or not.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11965 71c3de6d-444a-0410-be80-ed276b4c234a
2008-09-02 21:34:47 +00:00
kohsuke 91f6e753f1 simplified a little bit.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11944 71c3de6d-444a-0410-be80-ed276b4c234a
2008-09-02 17:52:09 +00:00
kohsuke 2ee47c68c5 adding a test for the headless mode, too.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11929 71c3de6d-444a-0410-be80-ed276b4c234a
2008-09-02 05:09:39 +00:00
kohsuke 8bf27eb3cb added a test case for JNLP launch
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11928 71c3de6d-444a-0410-be80-ed276b4c234a
2008-09-02 04:59:34 +00:00
kohsuke 915edf15ad adding more convenience methods
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11926 71c3de6d-444a-0410-be80-ed276b4c234a
2008-09-02 04:57:27 +00:00
kohsuke 19150a7f7a work extra hard to clean up run-away processes during unit tests
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11924 71c3de6d-444a-0410-be80-ed276b4c234a
2008-09-02 01:06:30 +00:00
kohsuke 1f405b0e22 [FIXED HUDSON-2271] SCM.processWorkspaceBeforeDeletion should be called before project deletion.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11917 71c3de6d-444a-0410-be80-ed276b4c234a
2008-09-01 23:54:15 +00:00
kohsuke 983d0f6c56 [FIXED HUDSON-2290] On security-enabled Hudson, redirection for a login didn't work correctly since 1.249.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11875 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-30 18:09:09 +00:00
kohsuke 142dbff0dd The Hudson URL at least has to be reset for tests to work correctly.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11862 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-30 01:49:44 +00:00
redsolo b2f13179f5 [FIXED HUDSON-2289] Fixed so the page decorator is properly configured
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11823 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-29 12:33:01 +00:00
kohsuke a2da1dd46a added a test case that failed to reprodue a problem.
See http://www.nabble.com/Date-conversion-problem-causes-IOException-reading-fingerprint-file.-td19201137.html

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11818 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-29 01:06:57 +00:00
kohsuke b78171d00c Added tests for Queue
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11814 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-29 00:41:41 +00:00
redsolo c36eac6c47 [FIXED HUDSON-2289] Added Page decorators to System configuration page
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11806 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-28 20:30:46 +00:00
kohsuke 024b335306 another simple configuration round trip test case.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11724 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-25 18:25:04 +00:00
kohsuke 9afcf286a3 doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11723 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-25 18:24:50 +00:00
kohsuke 289a414fb0 Added JavaScript debug assistance to figure out the problems inside JavaScript
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11722 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-25 18:14:28 +00:00
kohsuke 578db088ce reorganized imports
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11715 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-24 19:40:53 +00:00
kohsuke b39e5c9122 bug fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11714 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-24 19:40:38 +00:00
kohsuke 212c1aba26 FailureBuilder needs a config page
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11705 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-23 04:40:49 +00:00
kohsuke 03479ed918 moving utility code to the base class.
I wonder if I should switch to Groovy for writing tests.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11703 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-23 01:31:50 +00:00
kohsuke 118e91f06c making improvements to the test harness.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11692 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-23 00:39:01 +00:00
kohsuke 66528e43aa fixed a test failure caused by the lack of reloading configuration at the test case boundary.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11655 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-21 22:10:20 +00:00
kohsuke c77ebc26a8 Ignore CSS errors in YUI. We aren't fixing those.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11654 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-21 21:58:53 +00:00
kohsuke afd2293eef associating this test case with the bug report.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11628 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-20 00:59:33 +00:00
kohsuke 15c1549465 Adding a test case to verify the basic configuration round-trip.
Turns out this excercise became a real deep dive into HtmlUnit.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11627 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-20 00:58:46 +00:00
kohsuke 8e7a6b67a3 added a hook to skip update center updates. This is primarily added for testing.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11626 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-20 00:32:56 +00:00
kohsuke 349a5777c7 adding a new recipe to load a dataset colocated with tests
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11622 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-19 21:07:51 +00:00
kohsuke f347a6dd00 [FIXED HUDSON-2224] Forcing the English locale during unit tests so that screen scrapers won't break.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11606 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 21:54:42 +00:00
kohsuke fb6b85cf8b war/resources doesn't include jar files and a few other resources that are in the final war, so falling back to target/hudson.
Needs to check if IDE updates this directory before launching a debugger.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11603 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 21:31:41 +00:00
kohsuke 4faa52d0ec JNLP slave agent fails to launch when the anonymous user doesn't have a read access.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11602 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 21:30:57 +00:00