com.atlassian.webdriver.testing.runner
Class TestProductContextRunner

java.lang.Object
  extended by com.atlassian.webdriver.testing.runner.TestProductContextRunner

public class TestProductContextRunner
extends Object

Tests for ProductContextRunner

Since:
2.1

Nested Class Summary
static class TestProductContextRunner.ExtendingCorrectlyAnnotatedClass
           
static class TestProductContextRunner.MockTestedProductNotInjectionContext
           
static class TestProductContextRunner.MockTestedProductThatIsInjectionContext
           
static class TestProductContextRunner.NotAnnotated
           
static class TestProductContextRunner.WithAnnotationNotInjectionContext
           
static class TestProductContextRunner.WithAnnotationProductThatIsInjectionContext
           
 
Field Summary
 org.junit.rules.ExpectedException expectedException
           
 
Constructor Summary
TestProductContextRunner()
           
 
Method Summary
 void createsTestClassAndInjectsProductImplementingInjectionContext()
           
 void doesNotSupportTestClassesNotAnnotatedWithTestedProductClass()
           
 void supportsOnlyProductsThatAreInjectionContexts()
           
 void supportsTestedProductClassAnnotationInSuperclasses()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expectedException

public org.junit.rules.ExpectedException expectedException
Constructor Detail

TestProductContextRunner

public TestProductContextRunner()
Method Detail

doesNotSupportTestClassesNotAnnotatedWithTestedProductClass

public void doesNotSupportTestClassesNotAnnotatedWithTestedProductClass()
                                                                 throws org.junit.runners.model.InitializationError
Throws:
org.junit.runners.model.InitializationError

supportsOnlyProductsThatAreInjectionContexts

public void supportsOnlyProductsThatAreInjectionContexts()
                                                  throws org.junit.runners.model.InitializationError
Throws:
org.junit.runners.model.InitializationError

createsTestClassAndInjectsProductImplementingInjectionContext

public void createsTestClassAndInjectsProductImplementingInjectionContext()
                                                                   throws org.junit.runners.model.InitializationError
Throws:
org.junit.runners.model.InitializationError

supportsTestedProductClassAnnotationInSuperclasses

public void supportsTestedProductClassAnnotationInSuperclasses()
                                                        throws org.junit.runners.model.InitializationError
Throws:
org.junit.runners.model.InitializationError


Copyright © 2014 Atlassian. All rights reserved.