robolectric/robolectric — pull request #969 by dpsm (2014-02-17 02:37:42+00:00)
Title: Invoking @BeforeClass and @AfterClass methods on robolectric class loade...

...r classes.

@Test methods are called on class instances from the robolectric class loader,
however the @BeforeClass and @AfterClass methods were not, making any code
within these methods useless to @Test methods since both belonged to different
namespaces.

This patch makes the @BeforeClass and @AfterClass invocations on classes in
the right class loader.

Fix for: https://groups.google.com/forum/#!topic/robolectric/CnFt0qvnAqM