|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WindowLikeContainerFixture
Understands functional testing of window-like containers (not necessarily subclasses of
):
Window
| Method Summary | |
|---|---|
void |
close()
Simulates a user closing this fixture's window-like container. |
WindowLikeContainerFixture |
moveTo(Point p)
Simulates a user moving this fixture's window-like container to the given point. |
WindowLikeContainerFixture |
moveToBack()
Sends this fixture's window-like component to the back. |
WindowLikeContainerFixture |
moveToFront()
Brings this fixture's window-like component to the front. |
WindowLikeContainerFixture |
requireSize(Dimension size)
Asserts that the size of this fixture's window-like container is equal to given one. |
WindowLikeContainerFixture |
resizeHeightTo(int height)
Simulates a user resizing vertically this fixture's window-like container. |
WindowLikeContainerFixture |
resizeTo(Dimension size)
Simulates a user resizing this fixture's window-like container. |
WindowLikeContainerFixture |
resizeWidthTo(int width)
Simulates a user resizing horizontally this fixture's window-like container. |
| Method Detail |
|---|
void close()
WindowLikeContainerFixture resizeWidthTo(int width)
width - the width that this fixture's window-like container should have after being resized.
WindowLikeContainerFixture resizeHeightTo(int height)
height - the height that this fixture's window-like container should have after being resized.
WindowLikeContainerFixture resizeTo(Dimension size)
size - the size that the target window should have after being resized.
WindowLikeContainerFixture requireSize(Dimension size)
size - the given size to match.
AssertionError - if the size of this fixture's window-like container is not equal to the given size.WindowLikeContainerFixture moveTo(Point p)
p - the point to move this fixture's window-like container to.
WindowLikeContainerFixture moveToFront()
WindowLikeContainerFixture moveToBack()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||