Author: chris.laprun(a)jboss.com
Date: 2010-03-19 13:34:17 -0400 (Fri, 19 Mar 2010)
New Revision: 2322
Modified:
components/wsrp/trunk/consumer/src/test/java/org/gatein/wsrp/consumer/RenderHandlerTestCase.java
Log:
- Removed loop as we don't need to test performance anymore and we don't need
slow-running tests! :)
Modified:
components/wsrp/trunk/consumer/src/test/java/org/gatein/wsrp/consumer/RenderHandlerTestCase.java
===================================================================
---
components/wsrp/trunk/consumer/src/test/java/org/gatein/wsrp/consumer/RenderHandlerTestCase.java 2010-03-19
17:30:29 UTC (rev 2321)
+++
components/wsrp/trunk/consumer/src/test/java/org/gatein/wsrp/consumer/RenderHandlerTestCase.java 2010-03-19
17:34:17 UTC (rev 2322)
@@ -125,18 +125,14 @@
private void processMarkupAndCheck(String markup, String expected)
{
- String result = null;
- for (int i = 0; i < 100000; i++)
- {
- result = RenderHandler.processMarkup(
- markup,
- NAMESPACE,
- CONTEXT,
- PORTLET_CONTEXT,
- FORMAT,
- CONSUMER
- );
- }
+ String result = RenderHandler.processMarkup(
+ markup,
+ NAMESPACE,
+ CONTEXT,
+ PORTLET_CONTEXT,
+ FORMAT,
+ CONSUMER
+ );
assertEquals(expected, result);
}
Show replies by date