com.atlassian.webdriver.debug
Class TestWebDriverDebug

java.lang.Object
  extended by com.atlassian.webdriver.debug.TestWebDriverDebug

public class TestWebDriverDebug
extends Object

Test case for WebDriverDebug.

Since:
2.2

Field Summary
 org.junit.rules.TemporaryFolder temporaryFolder
           
 
Constructor Summary
TestWebDriverDebug()
           
 
Method Summary
 void dumpPageShouldNotThrowExceptionOnIoError()
           
 void dumpPageSourceToExistingFile()
           
 void dumpPageSourceToNonExistingFile()
           
 void dumpPageSourceToWriterShouldWorkGivenWorkingWriter()
           
 void initDrivers()
           
 void shouldNotAcceptNullDriver()
           
 void shouldNotTakeScreenshotGivenIoError()
           
 void shouldNotTakeScreenshotGivenNoUnderlyingDriverTakesScreenshot()
           
 void shouldReturnCurrentUrl()
           
 void shouldTakeScreenshotGivenDriverTakesScreenshot()
           
 void shouldTakeScreenshotGivenUnderlyingDriverTakesScreenshot()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

temporaryFolder

public final org.junit.rules.TemporaryFolder temporaryFolder
Constructor Detail

TestWebDriverDebug

public TestWebDriverDebug()
Method Detail

initDrivers

public void initDrivers()

shouldNotAcceptNullDriver

public void shouldNotAcceptNullDriver()

shouldReturnCurrentUrl

public void shouldReturnCurrentUrl()

dumpPageSourceToNonExistingFile

public void dumpPageSourceToNonExistingFile()
                                     throws IOException
Throws:
IOException

dumpPageSourceToExistingFile

public void dumpPageSourceToExistingFile()
                                  throws IOException
Throws:
IOException

dumpPageShouldNotThrowExceptionOnIoError

public void dumpPageShouldNotThrowExceptionOnIoError()
                                              throws IOException
Throws:
IOException

dumpPageSourceToWriterShouldWorkGivenWorkingWriter

public void dumpPageSourceToWriterShouldWorkGivenWorkingWriter()

shouldTakeScreenshotGivenDriverTakesScreenshot

public void shouldTakeScreenshotGivenDriverTakesScreenshot()
                                                    throws IOException
Throws:
IOException

shouldTakeScreenshotGivenUnderlyingDriverTakesScreenshot

public void shouldTakeScreenshotGivenUnderlyingDriverTakesScreenshot()
                                                              throws IOException
Throws:
IOException

shouldNotTakeScreenshotGivenNoUnderlyingDriverTakesScreenshot

public void shouldNotTakeScreenshotGivenNoUnderlyingDriverTakesScreenshot()
                                                                   throws IOException
Throws:
IOException

shouldNotTakeScreenshotGivenIoError

public void shouldNotTakeScreenshotGivenIoError()
                                         throws IOException
Throws:
IOException


Copyright © 2014 Atlassian. All rights reserved.