diff options
author | Alexander Kurtakov | 2016-02-08 10:26:06 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2016-02-08 10:26:06 +0000 |
commit | d7c3b1ff552cefcdf128d6ea84df29b6a4770354 (patch) | |
tree | 0c5742e7382182810214e74085a2c8b245b6b19b /org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/performance/HelpServerTest.java | |
parent | 24ee16ef8c752d8d2b6b8425d663dd0fbfb8b35d (diff) | |
download | eclipse.platform.ua-d7c3b1ff552cefcdf128d6ea84df29b6a4770354.tar.gz eclipse.platform.ua-d7c3b1ff552cefcdf128d6ea84df29b6a4770354.tar.xz eclipse.platform.ua-d7c3b1ff552cefcdf128d6ea84df29b6a4770354.zip |
Bug 485922 - Remove trailing white spaces in org.eclipse.ua.testsI20160209-0800
Mass remove in all java files.
Change-Id: I51b8600fb0e80bb12f326c882e48328900a721d7
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/performance/HelpServerTest.java')
-rw-r--r-- | org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/performance/HelpServerTest.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/performance/HelpServerTest.java b/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/performance/HelpServerTest.java index 1bfa430d6..373e1ba7b 100644 --- a/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/performance/HelpServerTest.java +++ b/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/performance/HelpServerTest.java @@ -23,7 +23,7 @@ import org.eclipse.ua.tests.help.util.LoadServletUtil; */ public class HelpServerTest extends PerformanceTestCase { - + /* * Returns an instance of this Test. */ @@ -35,12 +35,12 @@ public class HelpServerTest extends PerformanceTestCase { protected void setUp() throws Exception { super.setUp(); } - + @Override protected void tearDown() throws Exception { LoadServletUtil.stopServer(); } - + public void testServletRead100x() throws Exception { tagAsSummary("Servlet Read", Dimension.ELAPSED_PROCESS); LoadServletUtil.startServer(); @@ -49,8 +49,8 @@ public class HelpServerTest extends PerformanceTestCase { boolean warmup = i < 2; if (!warmup) { startMeasuring(); - } - + } + for (int j = 0; j <= 100; j++) { LoadServletUtil.readLoadServlet(200); } @@ -59,14 +59,14 @@ public class HelpServerTest extends PerformanceTestCase { stopMeasuring(); } } - + commitMeasurements(); assertPerformance(); - } + } public void testStartServer() throws Exception { tagAsSummary("Start Server", Dimension.ELAPSED_PROCESS); - + // run the tests for (int i=0; i < 25; ++i) { boolean warmup = i < 2; @@ -74,16 +74,16 @@ public class HelpServerTest extends PerformanceTestCase { if (!warmup) { startMeasuring(); } - + LoadServletUtil.startServer(); - + if (!warmup) { stopMeasuring(); } } - + commitMeasurements(); assertPerformance(); } - + } |