Searched refs:stateHistory (Results 1 – 1 of 1) sorted by relevance
827 final List<State> stateHistory = Lists.newArrayList(); field in AbstractServiceTest.RecordingListener833 return ImmutableList.copyOf(stateHistory); in getStateHistory()838 assertTrue(stateHistory.isEmpty()); in starting()840 stateHistory.add(State.STARTING); in starting()844 assertEquals(State.STARTING, Iterables.getOnlyElement(stateHistory)); in running()845 stateHistory.add(State.RUNNING); in running()851 assertEquals(from, Iterables.getLast(stateHistory)); in stopping()852 stateHistory.add(State.STOPPING); in stopping()867 assertEquals(from, Iterables.getLast(stateHistory, State.NEW)); in terminated()868 stateHistory.add(State.TERMINATED); in terminated()[all …]