I am attempting to use STC to build a suite of tests for our enterprise struts application. Unfortunately, many of our form beans contain properties with data types other than String or String[]. I can set these form properties but I consistently get a ClassCast exception from HTTPServletRequestSimulator.getParameterValues (line 599). I can provide stack traces and code samples etc. but just wondering if this is a no brainer that I am looking right past. I can set values for some Beans by using addRequestParameter("BeanName.field",...
I am attempting to use STC to build a suite of tests for our enterprise struts application. Unfortunately, many of our form beans contain properties with data types other than String or String[]. I can set these form properties but I consistently get a ClassCast exception from HTTPServletRequestSimulator.getParameterValues (line 599). I can provide stack traces and code samples etc. but just wondering if this is a no brainer that I am looking right past. I can set values for some Beans by using addRequestParameter("BeanName.field",...