Author: mwringe
Date: 2009-08-29 17:32:41 -0400 (Sat, 29 Aug 2009)
New Revision: 126
Modified:
components/pc/trunk/portlet/src/test/java/org/gatein/pc/test/portlet/jsr168/api/portletcontext/ServerInfoTestCase.java
Log:
Fix the version string to accept -SNAPSHOT at the end. Note that this fix was applied
before but didn't make it through the rollback.
Modified:
components/pc/trunk/portlet/src/test/java/org/gatein/pc/test/portlet/jsr168/api/portletcontext/ServerInfoTestCase.java
===================================================================
---
components/pc/trunk/portlet/src/test/java/org/gatein/pc/test/portlet/jsr168/api/portletcontext/ServerInfoTestCase.java 2009-08-29
21:19:29 UTC (rev 125)
+++
components/pc/trunk/portlet/src/test/java/org/gatein/pc/test/portlet/jsr168/api/portletcontext/ServerInfoTestCase.java 2009-08-29
21:32:41 UTC (rev 126)
@@ -47,7 +47,7 @@
{
/** . */
- private static final String VERSION_REGEX =
"JBossPortletContainer/[0-9]+\\.[0-9]+";
+ private static final String VERSION_REGEX =
"JBossPortletContainer/[0-9]+\\.[0-9]+(|\\.SNAPSHOT)";
/** . */
private static final Pattern VERSION_PATTERN = Pattern.compile(VERSION_REGEX,
Pattern.CASE_INSENSITIVE);
Show replies by date