Commit Graph
60 Commits
Author SHA1 Message Date
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
kohsuke 576df3dc80 needs a PageCreator to support JNLP files
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11601 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 21:13:51 +00:00
kohsuke 2763f18be3 // are we in the hudson main workspace? If so, pick up hudson/main/war/resources
// this saves the effort of packaging a war file and makes the debug cycle faster


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11600 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 21:11:00 +00:00
kohsuke 0fca94c2ea avoid NPE
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11599 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 21:10:28 +00:00
kohsuke f9486afebc ContainerAuthentication needs "authenticated" built-in role.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11597 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 21:02:06 +00:00
kohsuke 4ae4f7665b adding one more test case.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11572 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 02:16:20 +00:00
kohsuke 43aadc8368 adding one more dataset.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11570 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 02:03:23 +00:00
kohsuke f31658f010 added a test case that involve security.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11569 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 01:56:46 +00:00
kohsuke 6d06f38e86 adding one more convenience method
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11567 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-17 20:43:52 +00:00
kohsuke e1d958555d bug fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11566 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-17 20:35:51 +00:00
kohsuke 0239e753f0 debugging
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11565 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-17 20:30:44 +00:00
kohsuke 662a5b0624 improving diagnostics message
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11564 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-17 20:28:29 +00:00
kohsuke d1c082f0e1 typo
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11563 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-17 20:26:47 +00:00
kohsuke 5c641b933d bug fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11562 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-17 20:22:54 +00:00
kohsuke b0258e475b modified to use WebAppContext so that servlet filters and resources are properly deployed.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11539 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-17 07:25:41 +00:00
kohsuke a0a6779fcb getting rid of redundant constructors.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11518 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 23:08:24 +00:00
kohsuke e86ac0805a I've been using JUnit for so long, but didn't realize until now that TestSuite sets the test name via the direct invocation of the setName().
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11517 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 23:07:51 +00:00
kohsuke 4bc5e77ff5 bug fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11510 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 22:17:17 +00:00
kohsuke 1ef6895137 implemented recipe execution
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11509 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 22:12:36 +00:00
kohsuke dc7f18fb34 defined recipe annotations to do declarative test case set up
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11508 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 21:53:08 +00:00
kohsuke 1a2168f614 renamed
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11507 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 21:45:44 +00:00
kohsuke b391210d4b adding new marker annotations to correlate tests with bug reports
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11506 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 21:25:41 +00:00
kohsuke 42d3dc135b convenience method to use the preset dataset.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11505 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 21:22:19 +00:00
kohsuke 7f7bb67948 adding directories to store preset HUDSON_HOME data sets.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11503 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 21:21:02 +00:00
kohsuke 754f9934d4 HttpUnit doesn't properly shut down the connection, causing the queue on Jetty to run out. Switching to HtmlUnit, as the project seems more actively maintained.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11481 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-14 23:20:30 +00:00
kohsuke e10778a055 modified to use the convenience method in the base class
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11476 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-14 21:05:37 +00:00
kohsuke 00ffc36e25 test case for the "wipe out the workspace" feature
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11475 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-14 21:04:49 +00:00
kohsuke 73d1b237ef added HTTP listener to Jetty to test UI
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11474 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-14 21:04:21 +00:00
kohsuke 82493ab8de added more abstraction, especially to allow Hudson to be started from an existing data set.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11459 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-13 22:38:09 +00:00