Added a unit test for notifications count

Correct. This unit test should probably be removed since its functionality
is tested in a more controlled environment in testNotificationsNumber

On Wed, Nov 5, 2014 at 3:05 PM, Christian Melchior <notifications@github.com
> wrote:

> In realm/src/androidTest/java/io/realm/NotificationsTest.java:
>
> >      }
> >
> > -    public void testNotifications() {
> > -        final AtomicBoolean changed = new AtomicBoolean(false);
> > +    public void testNotifications() throws InterruptedException, ExecutionException {
>
> This unit tests fail on my machine:
>
> unit.framework.AssertionFailedError: expected: but was:
> at io.realm.NotificationsTest.testNotifications(NotificationsTest.java:98)
> at java.lang.reflect.Method.invokeNative(Native Method)
> at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
> at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
> at
> android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554)
> at
> android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701)
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/realm/realm-java/pull/530/files#r19874209>.
>



-- 
*Emanuele Zattin* (@emanuelez <https://twitter.com/emanuelez>)
SW Engineer & CI Specialist