You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-scm@portals.apache.org by ms...@apache.org on 2015/01/14 08:08:03 UTC

[3/4] portals-pluto git commit: Additions to PRP test portlets

Additions to PRP test portlets


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

Branch: refs/heads/PortletHub
Commit: 98763f77405bc94bb4a25ef8ac72b1f16b530018
Parents: da198fe
Author: Scott Nicklous <ms...@apache.org>
Authored: Wed Jan 14 06:49:35 2015 +0100
Committer: Scott Nicklous <ms...@apache.org>
Committed: Wed Jan 14 06:49:35 2015 +0100

----------------------------------------------------------------------
 .../portlet/tck/TestModule3/portlets/TestModule3_Portlet2.java   | 2 ++
 .../java/javax/portlet/tck/beans/TestModule3Definitions.java     | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/98763f77/portlet-tck_3.0/TestModule3-portlet2/src/main/java/javax/portlet/tck/TestModule3/portlets/TestModule3_Portlet2.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/TestModule3-portlet2/src/main/java/javax/portlet/tck/TestModule3/portlets/TestModule3_Portlet2.java b/portlet-tck_3.0/TestModule3-portlet2/src/main/java/javax/portlet/tck/TestModule3/portlets/TestModule3_Portlet2.java
index 2ca70c1..40310a0 100644
--- a/portlet-tck_3.0/TestModule3-portlet2/src/main/java/javax/portlet/tck/TestModule3/portlets/TestModule3_Portlet2.java
+++ b/portlet-tck_3.0/TestModule3-portlet2/src/main/java/javax/portlet/tck/TestModule3/portlets/TestModule3_Portlet2.java
@@ -85,6 +85,7 @@ public class TestModule3_Portlet2 implements Portlet {
     			  tr = tcd.getTestResultSucceeded(TEST1);
     		  } else {
     			  tr = tcd.getTestResultFailed(TEST1);
+    			  tr.appendTcDetail("Expected value of parameter " + TM3PRP1 + ": null, Actual value: " + val);
     		  }
     		  tr.writeTo(writer);
     	  } else {
@@ -102,6 +103,7 @@ public class TestModule3_Portlet2 implements Portlet {
     			  tr = tcd.getTestResultSucceeded(TEST2);
     		  } else {
     			  tr = tcd.getTestResultFailed(TEST2);
+    			  tr.appendTcDetail("Expected value of parameter " + TM3PRP2a + ": not null, Actual value: " + val);
     		  }
     		  tr.writeTo(writer);
     	  } else {

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/98763f77/portlet-tck_3.0/common/src/main/java/javax/portlet/tck/beans/TestModule3Definitions.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/common/src/main/java/javax/portlet/tck/beans/TestModule3Definitions.java b/portlet-tck_3.0/common/src/main/java/javax/portlet/tck/beans/TestModule3Definitions.java
index ca27560..c063a16 100644
--- a/portlet-tck_3.0/common/src/main/java/javax/portlet/tck/beans/TestModule3Definitions.java
+++ b/portlet-tck_3.0/common/src/main/java/javax/portlet/tck/beans/TestModule3Definitions.java
@@ -38,8 +38,8 @@ public class TestModule3Definitions {
 	private static TestCaseDetails initTests() {
 		TestCaseDetails t = new TestCaseDetails();
 		t.put(TEST0, "A PRP set on the render URL is visible in companion portlet of different portlet application. Same QName & Same identifier.");
-		t.put(TEST1, "A PRP matching identifier but differing QNames is not visible in companion portlet of different portlet application .");
-		t.put(TEST2, "A PRP with matching QName but differing identifier is visible in companion portlet of different portlet application .");
+		t.put(TEST1, "A PRP matching identifier but differing QNames is not visible in companion portlet of different portlet application.");
+		t.put(TEST2, "A PRP with matching QName but differing identifier is visible in companion portlet of different portlet application.");
 		return t;
 	}