Facebook
From Tiny Owl, 4 Years ago, written in Plain Text.
This paste is a reply to Re: Untitled from Tacky Rhinoceros - go back
Embed
Viewing differences between Re: Untitled and Re: Re: Untitled
 public class XDDD extends DriverBase {

 @DataProvider
    public Object[][] roles() {
        return new Object[][] {
                {Roles.A},
                {Roles.M}
        };
    }

    Roles role;
    @Factory(dataProvider = "roles")
    public CreateClientWardenTest(Roles XDDD(Roles role) {
        this.role = role;
    }


    @BeforeClass
    public void gettingUrl() throws IOException, URISyntaxException {

        driver.get("url");
    }


    @Test
    public void test() {
        assertThat(2, equalTo(2));
    }
}