Package net.continuumsecurity.web

Examples of net.continuumsecurity.web.FakeCaptchaSolver


    @Given("a CAPTCHA solver that always fails")
    public void setIncorrectCaptchaHelper() {
        if (!(app instanceof ICaptcha))
            throw new RuntimeException(
                    "App does not implement ICaptcha, skipping.");
        ((ICaptcha) app).setCaptchaSolver(new FakeCaptchaSolver(app));
    }
View Full Code Here

TOP

Related Classes of net.continuumsecurity.web.FakeCaptchaSolver

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.