summaryrefslogtreecommitdiffstats
path: root/client/tests/src/com
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-06-24 11:29:50 +0300
committerVaadin Code Review <review@vaadin.com>2015-06-26 07:54:06 +0000
commit7355f1a26277d7644cfc974f4c4d8b7bc898c366 (patch)
tree281633f608a704bbaaa8b564d3b55c422b2811be /client/tests/src/com
parentafefa100a75760a05519038e19e6b64669411549 (diff)
downloadvaadin-framework-7355f1a26277d7644cfc974f4c4d8b7bc898c366.tar.gz
vaadin-framework-7355f1a26277d7644cfc974f4c4d8b7bc898c366.zip
Reformat with Luna SR2
Change-Id: I8a666061496022ef16ed44812b5728e1360b9c4d
Diffstat (limited to 'client/tests/src/com')
-rw-r--r--client/tests/src/com/vaadin/client/ApplicationConnectionURLGenerationTest.java15
1 files changed, 6 insertions, 9 deletions
diff --git a/client/tests/src/com/vaadin/client/ApplicationConnectionURLGenerationTest.java b/client/tests/src/com/vaadin/client/ApplicationConnectionURLGenerationTest.java
index f529ba0886..4dd2ddbaa4 100644
--- a/client/tests/src/com/vaadin/client/ApplicationConnectionURLGenerationTest.java
+++ b/client/tests/src/com/vaadin/client/ApplicationConnectionURLGenerationTest.java
@@ -52,8 +52,7 @@ public class ApplicationConnectionURLGenerationTest {
public void testParameterAdding() {
for (int i = 0; i < URIS.length; i++) {
// Adding nothing
- assertEquals(URIS[i],
- SharedUtil.addGetParameters(URIS[i], ""));
+ assertEquals(URIS[i], SharedUtil.addGetParameters(URIS[i], ""));
// Adding a=b&c=d
assertEquals(URIS_WITH_ABCD_PARAM[i],
@@ -61,16 +60,14 @@ public class ApplicationConnectionURLGenerationTest {
// Fragments
if (URIS_WITH_ABCD_PARAM_AND_FRAGMENT[i].length() > 0) {
- assertEquals(
- URIS_WITH_ABCD_PARAM_AND_FRAGMENT[i],
- SharedUtil.addGetParameters(URIS[i]
- + "#fragment", "a=b&c=d"));
+ assertEquals(URIS_WITH_ABCD_PARAM_AND_FRAGMENT[i],
+ SharedUtil.addGetParameters(URIS[i] + "#fragment",
+ "a=b&c=d"));
// Empty fragment
assertEquals(URIS_WITH_ABCD_PARAM_AND_FRAGMENT[i].replace(
- "#fragment", "#"),
- SharedUtil.addGetParameters(URIS[i] + "#",
- "a=b&c=d"));
+ "#fragment", "#"), SharedUtil.addGetParameters(URIS[i]
+ + "#", "a=b&c=d"));
}
}
}