File tree Expand file tree Collapse file tree
integration-faces/src/test/java/org/ocpsoft/rewrite/faces/outcome Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,18 +45,18 @@ public String redirectSimple()
4545
4646 public String redirectWithSpace ()
4747 {
48- return "/page.xhtml?faces-redirect=true¶m=foo+ bar&query=foo+ bar" ;
48+ return "/page.xhtml?faces-redirect=true¶m=foo bar&query=foo bar" ;
4949 }
5050
5151 public String redirectWithEqual ()
5252 {
5353
54- return "/page.xhtml?faces-redirect=true¶m=foo%3Dbar &query=foo%3Dbar " ;
54+ return "/page.xhtml?faces-redirect=true¶m=foo=bar &query=foo=bar " ;
5555 }
5656
5757 public String redirectWithAmpersand ()
5858 {
59- return "/page.xhtml?faces-redirect=true¶m=foo%26bar& query=foo%26bar " ;
59+ return "/page.xhtml?faces-redirect=true¶m=foo&bar& query=foo&bar " ;
6060 }
6161
6262}
Original file line number Diff line number Diff line change @@ -56,8 +56,6 @@ public void testOutcomeRedirectSimple() throws Exception
5656 }
5757
5858 @ Test
59- // TODO: Fix this
60- @ Ignore
6159 public void testOutcomeRedirectWithSpace () throws Exception
6260 {
6361
@@ -69,7 +67,7 @@ public void testOutcomeRedirectWithSpace() throws Exception
6967 }
7068
7169 @ Test
72- // TODO: Fix this
70+ // TODO: Why doesn't this work
7371 @ Ignore
7472 public void testOutcomeRedirectWithEqual () throws Exception
7573 {
@@ -82,7 +80,7 @@ public void testOutcomeRedirectWithEqual() throws Exception
8280 }
8381
8482 @ Test
85- // TODO: Fix this
83+ // Seems like ampersands are not really supported by JSF outcomes
8684 @ Ignore
8785 public void testOutcomeRedirectWithAmpersand () throws Exception
8886 {
You can’t perform that action at this time.
0 commit comments