protected void checkCompliance(String className) throws Exception
{
ClassLoader jmxriLoader = createOptionalRemoteJMXRIWithTestsClassLoader();
ClassLoader mx4jLoader = createRemoteMX4JWithTestsClassLoader();
SignatureVerifier verifier = new SignatureVerifier();
try
{
verifier.verifySignature(className, jmxriLoader, mx4jLoader);
}
catch (NotCompliantException x)
{
fail(x.getMessage());
}