use of org.evosuite.runtime.annotation.EvoSuiteAssertionOnly in project evosuite by EvoSuite.
the class EvoHttpServletRequest method isAsyncSupported.
@EvoSuiteAssertionOnly
@Override
public boolean isAsyncSupported() {
Servlet sut = EvoServletState.getServlet();
WebServlet annotation = sut.getClass().getAnnotation(WebServlet.class);
if (annotation == null) {
// TODO: unsure if really correct. need more investigation
return false;
}
return annotation.asyncSupported();
}
Aggregations