OSDN Git Service

Reenable the unit tests for StateMachine
authorMitchell Wills <mwills@google.com>
Tue, 9 Aug 2016 20:33:20 +0000 (13:33 -0700)
committerMitchell Wills <mwills@google.com>
Tue, 9 Aug 2016 20:35:46 +0000 (13:35 -0700)
commit36afe5b5cc000620d77150437ba21503c44c87eb
tree80afc4330eb0f845241a6df9cffced21b7ce86d5
parent4ebf60b7cfa10cc6d7268881f721bf4b761312c8
Reenable the unit tests for StateMachine

In order to make the tests run a few methods must be made public so that
they can be called from a class loaded by a different class loader.

Fixed: 28217358
Change-Id: I98ce1e952a78528ae6ebd3a0e843c9ddfe937337
core/java/com/android/internal/util/StateMachine.java
core/tests/utiltests/src/com/android/internal/util/StateMachineTest.java