mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
[FIXED HUDSON-4160] fixed redirect after deleting view
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20452 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
ae28f88a1f
commit
01daea2fbf
5 files changed
+36
-4
No files matched your search
@@ -52,6 +52,7 @@ import hudson.model.Saveable;
|
||||
import hudson.model.TaskListener;
|
||||
import hudson.model.UpdateCenter;
|
||||
import hudson.model.AbstractProject;
|
||||
import hudson.model.View;
|
||||
import hudson.model.UpdateCenter.UpdateCenterConfiguration;
|
||||
import hudson.model.Node.Mode;
|
||||
import hudson.security.csrf.CrumbIssuer;
|
||||
@@ -883,6 +884,14 @@ public abstract class HudsonTestCase extends TestCase {
|
||||
return goTo(item.toComputer().getUrl()+relative);
|
||||
}
|
||||
|
||||
public HtmlPage getPage(View view) throws IOException, SAXException {
|
||||
return goTo(view.getUrl());
|
||||
}
|
||||
|
||||
public HtmlPage getPage(View view, String relative) throws IOException, SAXException {
|
||||
return goTo(view.getUrl()+relative);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* This method expects a full URL. This method is marked as deprecated to warn you
|
||||
|
||||
Reference in new issue
Block a user