Package org.seleniumhq.selenium.fluent

Examples of org.seleniumhq.selenium.fluent.Period$Seconds


public class PeriodTest {

    @Test
    public void testMillis() {
        Period period = Period.millis(123);
        assertThat(period.timeUnit(), equalTo(TimeUnit.MILLISECONDS));
        assertThat(period.howLong(), equalTo(123));
        assertThat(period.toString(), equalTo("millis(123)"));
    }
View Full Code Here


        assertThat(period.toString(), equalTo("millis(123)"));
    }

    @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)"));
    }
View Full Code Here

        assertThat(period.toString(), equalTo("secs(456)"));
    }

    @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

Related Classes of org.seleniumhq.selenium.fluent.Period$Seconds

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.