in portlet-tck_3.0/V2SigTestsWrapper/src/main/java/javax/portlet/tck/portlets/SigTestsWrapper_PortletRequestWrapper_SIGRender.java [153:1385]
public void render(RenderRequest portletReq, RenderResponse portletResp)
throws PortletException, IOException {
long tid = Thread.currentThread().getId();
portletReq.setAttribute(THREADID_ATTR, tid);
PrintWriter writer = portletResp.getWriter();
JSR286SignatureTestCaseDetails tcd = new JSR286SignatureTestCaseDetails();
// Create result objects for the tests
ClassChecker cc = new ClassChecker(PortletRequestWrapper.class);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_constructor */
/* Details: "PortletRequestWrapper provides constructor */
/* PortletRequestWrapper(PortletRequest) " */
TestResult tr0 =
tcd.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_CONSTRUCTOR);
try {
Class<?>[] parms = {PortletRequest.class};
tr0.setTcSuccess(cc.hasConstructor(parms));
} catch (Exception e) {
tr0.appendTcDetail(e.toString());
}
tr0.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetAttribute */
/* Details: "PortletRequestWrapper has a getAttribute(String) method */
/* " */
TestResult tr1 =
tcd.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETATTRIBUTE);
try {
String name = "getAttribute";
Class<?>[] exceptions = null;
Class<?>[] parms = {String.class};
tr1.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr1.appendTcDetail(e.toString());
}
tr1.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetAttributeNames */
/* Details: "PortletRequestWrapper has a getAttributeNames() method */
/* " */
TestResult tr2 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETATTRIBUTENAMES);
try {
String name = "getAttributeNames";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr2.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr2.appendTcDetail(e.toString());
}
tr2.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetAttributeNamesReturns */
/* Details: "PortletRequestWrapper method getAttributeNames() returns */
/* java.util.Enumeration " */
TestResult tr3 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETATTRIBUTENAMESRETURNS);
try {
String name = "getAttributeNames";
Class<?> retType = java.util.Enumeration.class;
Class<?>[] parms = null;
tr3.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr3.appendTcDetail(e.toString());
}
tr3.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetAttributeReturns */
/* Details: "PortletRequestWrapper method getAttribute(String) */
/* returns Object " */
TestResult tr4 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETATTRIBUTERETURNS);
try {
String name = "getAttribute";
Class<?> retType = Object.class;
Class<?>[] parms = {String.class};
tr4.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr4.appendTcDetail(e.toString());
}
tr4.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetAuthType */
/* Details: "PortletRequestWrapper has a getAuthType() method " */
TestResult tr5 =
tcd.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETAUTHTYPE);
try {
String name = "getAuthType";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr5.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr5.appendTcDetail(e.toString());
}
tr5.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetAuthTypeReturns */
/* Details: "PortletRequestWrapper method getAuthType() returns */
/* String " */
TestResult tr6 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETAUTHTYPERETURNS);
try {
String name = "getAuthType";
Class<?> retType = String.class;
Class<?>[] parms = null;
tr6.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr6.appendTcDetail(e.toString());
}
tr6.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetContextPath */
/* Details: "PortletRequestWrapper has a getContextPath() method " */
TestResult tr7 = tcd
.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETCONTEXTPATH);
try {
String name = "getContextPath";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr7.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr7.appendTcDetail(e.toString());
}
tr7.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetContextPathReturns */
/* Details: "PortletRequestWrapper method getContextPath() returns */
/* String " */
TestResult tr8 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETCONTEXTPATHRETURNS);
try {
String name = "getContextPath";
Class<?> retType = String.class;
Class<?>[] parms = null;
tr8.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr8.appendTcDetail(e.toString());
}
tr8.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetCookies */
/* Details: "PortletRequestWrapper has a getCookies() method " */
TestResult tr9 =
tcd.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETCOOKIES);
try {
String name = "getCookies";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr9.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr9.appendTcDetail(e.toString());
}
tr9.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetCookiesReturns */
/* Details: "PortletRequestWrapper method getCookies() returns */
/* javax.servlet.http.Cookie[] " */
TestResult tr10 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETCOOKIESRETURNS);
try {
String name = "getCookies";
Class<?> retType = javax.servlet.http.Cookie[].class;
Class<?>[] parms = null;
tr10.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr10.appendTcDetail(e.toString());
}
tr10.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetLocale */
/* Details: "PortletRequestWrapper has a getLocale() method " */
TestResult tr11 =
tcd.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETLOCALE);
try {
String name = "getLocale";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr11.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr11.appendTcDetail(e.toString());
}
tr11.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetLocaleReturns */
/* Details: "PortletRequestWrapper method getLocale() returns */
/* java.util.Locale " */
TestResult tr12 = tcd
.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETLOCALERETURNS);
try {
String name = "getLocale";
Class<?> retType = java.util.Locale.class;
Class<?>[] parms = null;
tr12.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr12.appendTcDetail(e.toString());
}
tr12.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetLocales */
/* Details: "PortletRequestWrapper has a getLocales() method " */
TestResult tr13 =
tcd.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETLOCALES);
try {
String name = "getLocales";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr13.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr13.appendTcDetail(e.toString());
}
tr13.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetLocalesReturns */
/* Details: "PortletRequestWrapper method getLocales() returns */
/* java.util.Enumeration " */
TestResult tr14 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETLOCALESRETURNS);
try {
String name = "getLocales";
Class<?> retType = java.util.Enumeration.class;
Class<?>[] parms = null;
tr14.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr14.appendTcDetail(e.toString());
}
tr14.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetParameter */
/* Details: "PortletRequestWrapper has a getParameter(String) method */
/* " */
TestResult tr15 =
tcd.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPARAMETER);
try {
String name = "getParameter";
Class<?>[] exceptions = null;
Class<?>[] parms = {String.class};
tr15.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr15.appendTcDetail(e.toString());
}
tr15.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetParameterMap */
/* Details: "PortletRequestWrapper has a getParameterMap() method " */
TestResult tr16 = tcd
.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPARAMETERMAP);
try {
String name = "getParameterMap";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr16.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr16.appendTcDetail(e.toString());
}
tr16.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetParameterMapReturns */
/* Details: "PortletRequestWrapper method getParameterMap() returns */
/* java.util.Map " */
TestResult tr17 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPARAMETERMAPRETURNS);
try {
String name = "getParameterMap";
Class<?> retType = java.util.Map.class;
Class<?>[] parms = null;
tr17.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr17.appendTcDetail(e.toString());
}
tr17.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetParameterNames */
/* Details: "PortletRequestWrapper has a getParameterNames() method */
/* " */
TestResult tr18 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPARAMETERNAMES);
try {
String name = "getParameterNames";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr18.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr18.appendTcDetail(e.toString());
}
tr18.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetParameterNamesReturns */
/* Details: "PortletRequestWrapper method getParameterNames() returns */
/* java.util.Enumeration " */
TestResult tr19 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPARAMETERNAMESRETURNS);
try {
String name = "getParameterNames";
Class<?> retType = java.util.Enumeration.class;
Class<?>[] parms = null;
tr19.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr19.appendTcDetail(e.toString());
}
tr19.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetParameterReturns */
/* Details: "PortletRequestWrapper method getParameter(String) */
/* returns String " */
TestResult tr20 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPARAMETERRETURNS);
try {
String name = "getParameter";
Class<?> retType = String.class;
Class<?>[] parms = {String.class};
tr20.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr20.appendTcDetail(e.toString());
}
tr20.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetParameterValues */
/* Details: "PortletRequestWrapper has a getParameterValues(String) */
/* method " */
TestResult tr21 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPARAMETERVALUES);
try {
String name = "getParameterValues";
Class<?>[] exceptions = null;
Class<?>[] parms = {String.class};
tr21.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr21.appendTcDetail(e.toString());
}
tr21.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetParameterValuesReturns */
/* Details: "PortletRequestWrapper method getParameterValues(String) */
/* returns String[] " */
TestResult tr22 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPARAMETERVALUESRETURNS);
try {
String name = "getParameterValues";
Class<?> retType = String[].class;
Class<?>[] parms = {String.class};
tr22.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr22.appendTcDetail(e.toString());
}
tr22.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetPortalContext */
/* Details: "PortletRequestWrapper has a getPortalContext() method " */
TestResult tr23 = tcd
.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPORTALCONTEXT);
try {
String name = "getPortalContext";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr23.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr23.appendTcDetail(e.toString());
}
tr23.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetPortalContextReturns */
/* Details: "PortletRequestWrapper method getPortalContext() returns */
/* PortalContext " */
TestResult tr24 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPORTALCONTEXTRETURNS);
try {
String name = "getPortalContext";
Class<?> retType = PortalContext.class;
Class<?>[] parms = null;
tr24.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr24.appendTcDetail(e.toString());
}
tr24.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetPortletMode */
/* Details: "PortletRequestWrapper has a getPortletMode() method " */
TestResult tr25 = tcd
.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPORTLETMODE);
try {
String name = "getPortletMode";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr25.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr25.appendTcDetail(e.toString());
}
tr25.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetPortletModeReturns */
/* Details: "PortletRequestWrapper method getPortletMode() returns */
/* PortletMode " */
TestResult tr26 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPORTLETMODERETURNS);
try {
String name = "getPortletMode";
Class<?> retType = PortletMode.class;
Class<?>[] parms = null;
tr26.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr26.appendTcDetail(e.toString());
}
tr26.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetPortletSession */
/* Details: "PortletRequestWrapper has a getPortletSession() method */
/* " */
TestResult tr27 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPORTLETSESSION);
try {
String name = "getPortletSession";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr27.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr27.appendTcDetail(e.toString());
}
tr27.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetPortletSessionA */
/* Details: "PortletRequestWrapper has a getPortletSession(boolean) */
/* method " */
TestResult tr28 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPORTLETSESSIONA);
try {
String name = "getPortletSession";
Class<?>[] exceptions = null;
Class<?>[] parms = {boolean.class};
tr28.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr28.appendTcDetail(e.toString());
}
tr28.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetPortletSessionReturns */
/* Details: "PortletRequestWrapper method getPortletSession() returns */
/* PortletSession " */
TestResult tr29 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPORTLETSESSIONRETURNS);
try {
String name = "getPortletSession";
Class<?> retType = PortletSession.class;
Class<?>[] parms = null;
tr29.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr29.appendTcDetail(e.toString());
}
tr29.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetPortletSessionReturnsA */
/* Details: "PortletRequestWrapper method getPortletSession(boolean) */
/* returns PortletSession " */
TestResult tr30 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPORTLETSESSIONRETURNSA);
try {
String name = "getPortletSession";
Class<?> retType = PortletSession.class;
Class<?>[] parms = {boolean.class};
tr30.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr30.appendTcDetail(e.toString());
}
tr30.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetPreferences */
/* Details: "PortletRequestWrapper has a getPreferences() method " */
TestResult tr31 = tcd
.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPREFERENCES);
try {
String name = "getPreferences";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr31.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr31.appendTcDetail(e.toString());
}
tr31.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetPreferencesReturns */
/* Details: "PortletRequestWrapper method getPreferences() returns */
/* PortletPreferences " */
TestResult tr32 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPREFERENCESRETURNS);
try {
String name = "getPreferences";
Class<?> retType = PortletPreferences.class;
Class<?>[] parms = null;
tr32.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr32.appendTcDetail(e.toString());
}
tr32.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetPrivateParameterMap */
/* Details: "PortletRequestWrapper has a getPrivateParameterMap() */
/* method " */
TestResult tr33 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPRIVATEPARAMETERMAP);
try {
String name = "getPrivateParameterMap";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr33.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr33.appendTcDetail(e.toString());
}
tr33.writeTo(writer);
/*
* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetPrivateParameterMapReturns
*/
/* Details: "PortletRequestWrapper method getPrivateParameterMap() */
/* returns java.util.Map " */
TestResult tr34 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPRIVATEPARAMETERMAPRETURNS);
try {
String name = "getPrivateParameterMap";
Class<?> retType = java.util.Map.class;
Class<?>[] parms = null;
tr34.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr34.appendTcDetail(e.toString());
}
tr34.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetProperties */
/* Details: "PortletRequestWrapper has a getProperties(String) */
/* method " */
TestResult tr35 =
tcd.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPROPERTIES);
try {
String name = "getProperties";
Class<?>[] exceptions = null;
Class<?>[] parms = {String.class};
tr35.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr35.appendTcDetail(e.toString());
}
tr35.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetPropertiesReturns */
/* Details: "PortletRequestWrapper method getProperties(String) */
/* returns java.util.Enumeration " */
TestResult tr36 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPROPERTIESRETURNS);
try {
String name = "getProperties";
Class<?> retType = java.util.Enumeration.class;
Class<?>[] parms = {String.class};
tr36.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr36.appendTcDetail(e.toString());
}
tr36.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetProperty */
/* Details: "PortletRequestWrapper has a getProperty(String) method */
/* " */
TestResult tr37 =
tcd.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPROPERTY);
try {
String name = "getProperty";
Class<?>[] exceptions = null;
Class<?>[] parms = {String.class};
tr37.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr37.appendTcDetail(e.toString());
}
tr37.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetPropertyNames */
/* Details: "PortletRequestWrapper has a getPropertyNames() method " */
TestResult tr38 = tcd
.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPROPERTYNAMES);
try {
String name = "getPropertyNames";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr38.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr38.appendTcDetail(e.toString());
}
tr38.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetPropertyNamesReturns */
/* Details: "PortletRequestWrapper method getPropertyNames() returns */
/* java.util.Enumeration " */
TestResult tr39 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPROPERTYNAMESRETURNS);
try {
String name = "getPropertyNames";
Class<?> retType = java.util.Enumeration.class;
Class<?>[] parms = null;
tr39.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr39.appendTcDetail(e.toString());
}
tr39.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetPropertyReturns */
/* Details: "PortletRequestWrapper method getProperty(String) returns */
/* String " */
TestResult tr40 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPROPERTYRETURNS);
try {
String name = "getProperty";
Class<?> retType = String.class;
Class<?>[] parms = {String.class};
tr40.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr40.appendTcDetail(e.toString());
}
tr40.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetPublicParameterMap */
/* Details: "PortletRequestWrapper has a getPublicParameterMap() */
/* method " */
TestResult tr41 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPUBLICPARAMETERMAP);
try {
String name = "getPublicParameterMap";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr41.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr41.appendTcDetail(e.toString());
}
tr41.writeTo(writer);
/*
* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetPublicParameterMapReturns
*/
/* Details: "PortletRequestWrapper method getPublicParameterMap() */
/* returns java.util.Map " */
TestResult tr42 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETPUBLICPARAMETERMAPRETURNS);
try {
String name = "getPublicParameterMap";
Class<?> retType = java.util.Map.class;
Class<?>[] parms = null;
tr42.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr42.appendTcDetail(e.toString());
}
tr42.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetRemoteUser */
/* Details: "PortletRequestWrapper has a getRemoteUser() method " */
TestResult tr43 =
tcd.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETREMOTEUSER);
try {
String name = "getRemoteUser";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr43.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr43.appendTcDetail(e.toString());
}
tr43.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetRemoteUserReturns */
/* Details: "PortletRequestWrapper method getRemoteUser() returns */
/* String " */
TestResult tr44 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETREMOTEUSERRETURNS);
try {
String name = "getRemoteUser";
Class<?> retType = String.class;
Class<?>[] parms = null;
tr44.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr44.appendTcDetail(e.toString());
}
tr44.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetRequest */
/* Details: "PortletRequestWrapper has a getRequest() method " */
TestResult tr45 =
tcd.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETREQUEST);
try {
String name = "getRequest";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr45.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr45.appendTcDetail(e.toString());
}
tr45.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetRequestReturns */
/* Details: "PortletRequestWrapper method getRequest() returns */
/* PortletRequest " */
TestResult tr46 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETREQUESTRETURNS);
try {
String name = "getRequest";
Class<?> retType = PortletRequest.class;
Class<?>[] parms = null;
tr46.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr46.appendTcDetail(e.toString());
}
tr46.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetRequestedSessionId */
/* Details: "PortletRequestWrapper has a getRequestedSessionId() */
/* method " */
TestResult tr47 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETREQUESTEDSESSIONID);
try {
String name = "getRequestedSessionId";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr47.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr47.appendTcDetail(e.toString());
}
tr47.writeTo(writer);
/*
* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetRequestedSessionIdReturns
*/
/* Details: "PortletRequestWrapper method getRequestedSessionId() */
/* returns String " */
TestResult tr48 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETREQUESTEDSESSIONIDRETURNS);
try {
String name = "getRequestedSessionId";
Class<?> retType = String.class;
Class<?>[] parms = null;
tr48.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr48.appendTcDetail(e.toString());
}
tr48.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetResponseContentType */
/* Details: "PortletRequestWrapper has a getResponseContentType() */
/* method " */
TestResult tr49 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETRESPONSECONTENTTYPE);
try {
String name = "getResponseContentType";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr49.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr49.appendTcDetail(e.toString());
}
tr49.writeTo(writer);
/*
* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetResponseContentTypeReturns
*/
/* Details: "PortletRequestWrapper method getResponseContentType() */
/* returns String " */
TestResult tr50 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETRESPONSECONTENTTYPERETURNS);
try {
String name = "getResponseContentType";
Class<?> retType = String.class;
Class<?>[] parms = null;
tr50.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr50.appendTcDetail(e.toString());
}
tr50.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetResponseContentTypes */
/* Details: "PortletRequestWrapper has a getResponseContentTypes() */
/* method " */
TestResult tr51 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETRESPONSECONTENTTYPES);
try {
String name = "getResponseContentTypes";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr51.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr51.appendTcDetail(e.toString());
}
tr51.writeTo(writer);
/*
* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetResponseContentTypesReturns
*/
/* Details: "PortletRequestWrapper method getResponseContentTypes() */
/* returns java.util.Enumeration " */
TestResult tr52 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETRESPONSECONTENTTYPESRETURNS);
try {
String name = "getResponseContentTypes";
Class<?> retType = java.util.Enumeration.class;
Class<?>[] parms = null;
tr52.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr52.appendTcDetail(e.toString());
}
tr52.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetScheme */
/* Details: "PortletRequestWrapper has a getScheme() method " */
TestResult tr53 =
tcd.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETSCHEME);
try {
String name = "getScheme";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr53.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr53.appendTcDetail(e.toString());
}
tr53.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetSchemeReturns */
/* Details: "PortletRequestWrapper method getScheme() returns String */
/* " */
TestResult tr54 = tcd
.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETSCHEMERETURNS);
try {
String name = "getScheme";
Class<?> retType = String.class;
Class<?>[] parms = null;
tr54.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr54.appendTcDetail(e.toString());
}
tr54.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetServerName */
/* Details: "PortletRequestWrapper has a getServerName() method " */
TestResult tr55 =
tcd.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETSERVERNAME);
try {
String name = "getServerName";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr55.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr55.appendTcDetail(e.toString());
}
tr55.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetServerNameReturns */
/* Details: "PortletRequestWrapper method getServerName() returns */
/* String " */
TestResult tr56 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETSERVERNAMERETURNS);
try {
String name = "getServerName";
Class<?> retType = String.class;
Class<?>[] parms = null;
tr56.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr56.appendTcDetail(e.toString());
}
tr56.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetServerPort */
/* Details: "PortletRequestWrapper has a getServerPort() method " */
TestResult tr57 =
tcd.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETSERVERPORT);
try {
String name = "getServerPort";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr57.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr57.appendTcDetail(e.toString());
}
tr57.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetServerPortReturns */
/* Details: "PortletRequestWrapper method getServerPort() returns int */
/* " */
TestResult tr58 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETSERVERPORTRETURNS);
try {
String name = "getServerPort";
Class<?> retType = int.class;
Class<?>[] parms = null;
tr58.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr58.appendTcDetail(e.toString());
}
tr58.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetUserPrincipal */
/* Details: "PortletRequestWrapper has a getUserPrincipal() method " */
TestResult tr59 = tcd
.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETUSERPRINCIPAL);
try {
String name = "getUserPrincipal";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr59.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr59.appendTcDetail(e.toString());
}
tr59.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetUserPrincipalReturns */
/* Details: "PortletRequestWrapper method getUserPrincipal() returns */
/* java.security.Principal " */
TestResult tr60 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETUSERPRINCIPALRETURNS);
try {
String name = "getUserPrincipal";
Class<?> retType = java.security.Principal.class;
Class<?>[] parms = null;
tr60.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr60.appendTcDetail(e.toString());
}
tr60.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetWindowID */
/* Details: "PortletRequestWrapper has a getWindowID() method " */
TestResult tr61 =
tcd.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETWINDOWID);
try {
String name = "getWindowID";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr61.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr61.appendTcDetail(e.toString());
}
tr61.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetWindowIDReturns */
/* Details: "PortletRequestWrapper method getWindowID() returns */
/* String " */
TestResult tr62 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETWINDOWIDRETURNS);
try {
String name = "getWindowID";
Class<?> retType = String.class;
Class<?>[] parms = null;
tr62.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr62.appendTcDetail(e.toString());
}
tr62.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetWindowState */
/* Details: "PortletRequestWrapper has a getWindowState() method " */
TestResult tr63 = tcd
.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETWINDOWSTATE);
try {
String name = "getWindowState";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr63.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr63.appendTcDetail(e.toString());
}
tr63.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasGetWindowStateReturns */
/* Details: "PortletRequestWrapper method getWindowState() returns */
/* WindowState " */
TestResult tr64 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASGETWINDOWSTATERETURNS);
try {
String name = "getWindowState";
Class<?> retType = WindowState.class;
Class<?>[] parms = null;
tr64.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr64.appendTcDetail(e.toString());
}
tr64.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasIsPortletModeAllowed */
/* Details: "PortletRequestWrapper has a */
/* isPortletModeAllowed(PortletMode) method " */
TestResult tr65 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASISPORTLETMODEALLOWED);
try {
String name = "isPortletModeAllowed";
Class<?>[] exceptions = null;
Class<?>[] parms = {PortletMode.class};
tr65.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr65.appendTcDetail(e.toString());
}
tr65.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasIsPortletModeAllowedReturns */
/* Details: "PortletRequestWrapper method */
/* isPortletModeAllowed(PortletMode) returns boolean " */
TestResult tr66 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASISPORTLETMODEALLOWEDRETURNS);
try {
String name = "isPortletModeAllowed";
Class<?> retType = boolean.class;
Class<?>[] parms = {PortletMode.class};
tr66.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr66.appendTcDetail(e.toString());
}
tr66.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasIsRequestedSessionIdValid */
/* Details: "PortletRequestWrapper has a isRequestedSessionIdValid() */
/* method " */
TestResult tr67 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASISREQUESTEDSESSIONIDVALID);
try {
String name = "isRequestedSessionIdValid";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr67.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr67.appendTcDetail(e.toString());
}
tr67.writeTo(writer);
/*
* TestCase:
* V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasIsRequestedSessionIdValidReturns
*/
/* Details: "PortletRequestWrapper method isRequestedSessionIdValid() */
/* returns boolean " */
TestResult tr68 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASISREQUESTEDSESSIONIDVALIDRETURNS);
try {
String name = "isRequestedSessionIdValid";
Class<?> retType = boolean.class;
Class<?>[] parms = null;
tr68.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr68.appendTcDetail(e.toString());
}
tr68.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasIsSecure */
/* Details: "PortletRequestWrapper has a isSecure() method " */
TestResult tr69 =
tcd.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASISSECURE);
try {
String name = "isSecure";
Class<?>[] exceptions = null;
Class<?>[] parms = null;
tr69.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr69.appendTcDetail(e.toString());
}
tr69.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasIsSecureReturns */
/* Details: "PortletRequestWrapper method isSecure() returns boolean */
/* " */
TestResult tr70 = tcd
.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASISSECURERETURNS);
try {
String name = "isSecure";
Class<?> retType = boolean.class;
Class<?>[] parms = null;
tr70.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr70.appendTcDetail(e.toString());
}
tr70.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasIsUserInRole */
/* Details: "PortletRequestWrapper has a isUserInRole(String) method */
/* " */
TestResult tr71 =
tcd.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASISUSERINROLE);
try {
String name = "isUserInRole";
Class<?>[] exceptions = null;
Class<?>[] parms = {String.class};
tr71.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr71.appendTcDetail(e.toString());
}
tr71.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasIsUserInRoleReturns */
/* Details: "PortletRequestWrapper method isUserInRole(String) */
/* returns boolean " */
TestResult tr72 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASISUSERINROLERETURNS);
try {
String name = "isUserInRole";
Class<?> retType = boolean.class;
Class<?>[] parms = {String.class};
tr72.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr72.appendTcDetail(e.toString());
}
tr72.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasIsWindowStateAllowed */
/* Details: "PortletRequestWrapper has a */
/* isWindowStateAllowed(WindowState) method " */
TestResult tr73 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASISWINDOWSTATEALLOWED);
try {
String name = "isWindowStateAllowed";
Class<?>[] exceptions = null;
Class<?>[] parms = {WindowState.class};
tr73.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr73.appendTcDetail(e.toString());
}
tr73.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasIsWindowStateAllowedReturns */
/* Details: "PortletRequestWrapper method */
/* isWindowStateAllowed(WindowState) returns boolean " */
TestResult tr74 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASISWINDOWSTATEALLOWEDRETURNS);
try {
String name = "isWindowStateAllowed";
Class<?> retType = boolean.class;
Class<?>[] parms = {WindowState.class};
tr74.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr74.appendTcDetail(e.toString());
}
tr74.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasRemoveAttribute */
/* Details: "PortletRequestWrapper has a removeAttribute(String) */
/* method " */
TestResult tr75 = tcd
.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASREMOVEATTRIBUTE);
try {
String name = "removeAttribute";
Class<?>[] exceptions = null;
Class<?>[] parms = {String.class};
tr75.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr75.appendTcDetail(e.toString());
}
tr75.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasRemoveAttributeReturns */
/* Details: "PortletRequestWrapper method removeAttribute(String) */
/* returns void " */
TestResult tr76 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASREMOVEATTRIBUTERETURNS);
try {
String name = "removeAttribute";
Class<?> retType = void.class;
Class<?>[] parms = {String.class};
tr76.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr76.appendTcDetail(e.toString());
}
tr76.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasSetAttribute */
/* Details: "PortletRequestWrapper has a setAttribute(String, Object) */
/* method " */
TestResult tr77 =
tcd.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASSETATTRIBUTE);
try {
String name = "setAttribute";
Class<?>[] exceptions = null;
Class<?>[] parms = {String.class, Object.class};
tr77.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr77.appendTcDetail(e.toString());
}
tr77.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasSetAttributeReturns */
/* Details: "PortletRequestWrapper method setAttribute(String, */
/* Object) returns void " */
TestResult tr78 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASSETATTRIBUTERETURNS);
try {
String name = "setAttribute";
Class<?> retType = void.class;
Class<?>[] parms = {String.class, Object.class};
tr78.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr78.appendTcDetail(e.toString());
}
tr78.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasSetRequest */
/* Details: "PortletRequestWrapper has a setRequest(PortletRequest) */
/* method " */
TestResult tr79 =
tcd.getTestResultFailed(V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASSETREQUEST);
try {
String name = "setRequest";
Class<?>[] exceptions = null;
Class<?>[] parms = {PortletRequest.class};
tr79.setTcSuccess(cc.hasMethod(name, parms, exceptions));
} catch (Exception e) {
tr79.appendTcDetail(e.toString());
}
tr79.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_hasSetRequestReturns */
/* Details: "PortletRequestWrapper method setRequest(PortletRequest) */
/* returns void " */
TestResult tr80 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_HASSETREQUESTRETURNS);
try {
String name = "setRequest";
Class<?> retType = void.class;
Class<?>[] parms = {PortletRequest.class};
tr80.setTcSuccess(cc.methodHasReturnType(name, retType, parms));
} catch (Exception e) {
tr80.appendTcDetail(e.toString());
}
tr80.writeTo(writer);
/* TestCase: V2SigTestsWrapper_PortletRequestWrapper_SIGRender_implementsPortletRequest */
/* Details: "PortletRequestWrapper implements PortletRequest " */
TestResult tr81 = tcd.getTestResultFailed(
V2SIGTESTSWRAPPER_PORTLETREQUESTWRAPPER_SIGRENDER_IMPLEMENTSPORTLETREQUEST);
try {
tr81.setTcSuccess(cc.implementsInterface(PortletRequest.class));
} catch (Exception e) {
tr81.appendTcDetail(e.toString());
}
tr81.writeTo(writer);
}