Package com.asakusafw.testdriver.core

Examples of com.asakusafw.testdriver.core.SpiVerifyRuleProvider


     * 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

Related Classes of com.asakusafw.testdriver.core.SpiVerifyRuleProvider

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.