portals-pluto-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asfgr...@apache.org
Subject portals-pluto git commit: PLUTO-674 TCK: Contesting V2EnvironmentTests_PortletContext_ApiRender_getServerInfo1
Date Wed, 03 Jan 2018 21:15:30 GMT
Repository: portals-pluto
Updated Branches:
  refs/heads/master 9bc57805c -> dd526d5d8


PLUTO-674 TCK: Contesting V2EnvironmentTests_PortletContext_ApiRender_getServerInfo1


Project: http://git-wip-us.apache.org/repos/asf/portals-pluto/repo
Commit: http://git-wip-us.apache.org/repos/asf/portals-pluto/commit/dd526d5d
Tree: http://git-wip-us.apache.org/repos/asf/portals-pluto/tree/dd526d5d
Diff: http://git-wip-us.apache.org/repos/asf/portals-pluto/diff/dd526d5d

Branch: refs/heads/master
Commit: dd526d5d8205ba01e9b2121ef5ce1700d94b82ae
Parents: 9bc5780
Author: Neil Griffin <neil.griffin.scm@gmail.com>
Authored: Wed Jan 3 16:15:18 2018 -0500
Committer: Neil Griffin <neil.griffin.scm@gmail.com>
Committed: Wed Jan 3 16:15:18 2018 -0500

----------------------------------------------------------------------
 .../tck/portlets/EnvironmentTests_PortletContext_ApiRender.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/dd526d5d/portlet-tck_3.0/V2EnvironmentTests/src/main/java/javax/portlet/tck/portlets/EnvironmentTests_PortletContext_ApiRender.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/V2EnvironmentTests/src/main/java/javax/portlet/tck/portlets/EnvironmentTests_PortletContext_ApiRender.java
b/portlet-tck_3.0/V2EnvironmentTests/src/main/java/javax/portlet/tck/portlets/EnvironmentTests_PortletContext_ApiRender.java
index 05a953d..7c15e8e 100644
--- a/portlet-tck_3.0/V2EnvironmentTests/src/main/java/javax/portlet/tck/portlets/EnvironmentTests_PortletContext_ApiRender.java
+++ b/portlet-tck_3.0/V2EnvironmentTests/src/main/java/javax/portlet/tck/portlets/EnvironmentTests_PortletContext_ApiRender.java
@@ -144,7 +144,7 @@ public class EnvironmentTests_PortletContext_ApiRender implements Portlet
{
     TestResult tr0 =
         tcd.getTestResultFailed(V2ENVIRONMENTTESTS_PORTLETCONTEXT_APIRENDER_GETSERVERINFO1);
     String servInfo1 = pc.getServerInfo();
-    if (servInfo1 != null && servInfo1.matches("([^ ]+)/([^ ]+) *(.*)")) {
+    if (servInfo1 != null && servInfo1.matches("(.+)/(.+) *(.*)")) {
       tr0.setTcSuccess(true);
     } else {
       tr0.appendTcDetail("The PortletContainer has Invalid Form " + servInfo1);


Mime
View raw message