Examples of timeUnit()


Examples of org.seleniumhq.selenium.fluent.Period.timeUnit()

    }

    @Test
    public void testSecs() {
        Period period = Period.secs(456);
        assertThat(period.timeUnit(), equalTo(TimeUnit.SECONDS));
        assertThat(period.howLong(), equalTo(456));
        assertThat(period.toString(), equalTo("secs(456)"));
    }

    @Test
View Full Code Here

Examples of org.seleniumhq.selenium.fluent.Period.timeUnit()

    }

    @Test
    public void testMins() {
        Period period = Period.mins(789);
        assertThat(period.timeUnit(), equalTo(TimeUnit.MINUTES));
        assertThat(period.howLong(), equalTo(789));
        assertThat(period.toString(), equalTo("mins(789)"));

    }
}
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.