Examples of VerifyRuleProvider


Examples of com.asakusafw.testdriver.core.VerifyRuleProvider

     * simple verification via SPI.
     * @throws Exception if occur
     */
    @Test
    public void spi() throws Exception {
        VerifyRuleProvider provider = new SpiVerifyRuleProvider(ExcelSheetRuleProvider.class.getClassLoader());
        VerifyRule rule = provider.get(SIMPLE, context(10), uri("verify/simple.xls", ":0"));
        assertThat(rule, not(nullValue()));

        assertThat(rule.getKey(obj(100, "a")), equalTo(rule.getKey(obj(100, "b"))));
        assertThat(rule.getKey(obj(100, "a")), not(equalTo(rule.getKey(obj(200, "a")))));

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.