Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 396282a7 authored by Paul Duffin's avatar Paul Duffin
Browse files

Fix test so that it runs as a JUnit 4 rather than JUnit 3 test

The test indirectly extended junit.framework.TestCase from JUnit 3 but
used JUnit 4 @Test annotations. That combination caused the runner
to run it as a JUnit 3 test which is almost certainly not what was
wanted. Amongst other issues it means that @Ignore annotations did not
work.

This change stops it extending AndroidTestCase and fixes a problem
with a non test method being annotated with @Test.

Bug: 122886015
Test: atest FrameworksTelephonyTests
Change-Id: I67b334ac898cca05283387832f7a848cc552b33f
parent 1f2e8825
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment