this is what I am talking about ..., is there any value in creating tests
like this ?
@Test
public void testRequestContextIsValid() {
RequestFactoryInterfaceValidator v = new
RequestFactoryInterfaceValidator(
logger, new RequestFactoryInterfaceValidator.
ClassLoaderLoader(MyRequest.class.getClassLoader()));
v.validateRequestFactory(AppRequestFactory.class.getName());
assertFalse("# RequestFactory Must be Valid!", v.isPoisoned());
v.validateProxy(MyProxy.class.getName());
assertFalse("# ProxyObject Must be Valid!", v.isPoisoned());
v.validateEntityProxy(MyProxy.class.getName());
assertFalse("# EntityProxy Must be Valid!", v.isPoisoned());
v.validateRequestContext(MyRequest.class.getName());
assertFalse("# RequestContext Must be Valid!", v.isPoisoned());
logger.finest("# Report: RequestContext Validated.");
}
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.