public class StopButtonTest extends Object
StopButton.| Modifier and Type | Field and Description |
|---|---|
org.mockito.junit.MockitoRule |
rule |
org.junit.rules.ExpectedException |
thrown |
| Constructor and Description |
|---|
StopButtonTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
tearDown() |
void |
testNoEventsWhenNotStoppedAndStopNotPressed() |
void |
testNoEventsWhenStoppedAndStopNotReleased() |
void |
testStopButtonIsInitiallyNotStopped() |
void |
testStopPressedEventWhenNotStoppedAndStopPressed() |
void |
testStopReleasedEventWhenStoppedAndStopReleased() |
public org.mockito.junit.MockitoRule rule
public org.junit.rules.ExpectedException thrown
public void setUp()
public void tearDown()
public void testStopButtonIsInitiallyNotStopped()
public void testNoEventsWhenNotStoppedAndStopNotPressed()
public void testStopPressedEventWhenNotStoppedAndStopPressed()
public void testNoEventsWhenStoppedAndStopNotReleased()
public void testStopReleasedEventWhenStoppedAndStopReleased()
Copyright © 2016–2025. All rights reserved.