com.atlassian.webdriver.rule
Class TestWindowSizeRule

java.lang.Object
  extended by com.atlassian.webdriver.rule.TestWindowSizeRule

public class TestWindowSizeRule
extends Object

Test case for WindowSizeRule.

Since:
2.1

Nested Class Summary
static class TestWindowSizeRule.ClassAnnotatedWithWindowSize
           
 
Constructor Summary
TestWindowSizeRule()
           
 
Method Summary
 void shouldMaximizeWindowIfAnnotationNotPresent()
           
 void shouldMaximizeWindowIfMaximizeIsTrueOnAnnotation()
           
 void shouldPreferMethodLevelAnnotationOverClassLevel()
           
 void shouldSetWindowSizeIfMaximizeIsFalseOnAnnotation()
           
 void shouldSetWindowSizeIfMaximizeIsFalseOnClassLevelAnnotation()
           
 void shouldThrowExceptionIfHeightInvalid()
           
 void stubWebDriverOptions()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestWindowSizeRule

public TestWindowSizeRule()
Method Detail

stubWebDriverOptions

public void stubWebDriverOptions()

shouldMaximizeWindowIfAnnotationNotPresent

public void shouldMaximizeWindowIfAnnotationNotPresent()

shouldMaximizeWindowIfMaximizeIsTrueOnAnnotation

public void shouldMaximizeWindowIfMaximizeIsTrueOnAnnotation()

shouldSetWindowSizeIfMaximizeIsFalseOnAnnotation

public void shouldSetWindowSizeIfMaximizeIsFalseOnAnnotation()

shouldSetWindowSizeIfMaximizeIsFalseOnClassLevelAnnotation

public void shouldSetWindowSizeIfMaximizeIsFalseOnClassLevelAnnotation()

shouldPreferMethodLevelAnnotationOverClassLevel

public void shouldPreferMethodLevelAnnotationOverClassLevel()

shouldThrowExceptionIfHeightInvalid

public void shouldThrowExceptionIfHeightInvalid()
                                         throws Throwable
Throws:
Throwable


Copyright © 2014 Atlassian. All rights reserved.