Skip to content

Commit

Permalink
Add test as suffix to test methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher-Hermann committed May 22, 2024
1 parent 6a47816 commit 0846e48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public void setup() {
}

@Test
public void paintSelectionFocus() {
public void testPaintSelectionFocus() {
Mockito.when(table.isFocusControl()).thenReturn(true);

cut.handleEvent(event);
Expand All @@ -80,7 +80,7 @@ public void paintSelectionFocus() {
}

@Test
public void paintSelectionNoFocus() {
public void testPaintSelectionNoFocus() {
cut.handleEvent(event);

Mockito.verify(gc).setBackground(new Color(selectedRowBackgroundColorNoFocus));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public class CompletionTableDrawSupportTest {

@Test
public void install() {
public void testInstall() {
Shell shell= new Shell();
Table table= new Table(shell, SWT.NONE);

Expand All @@ -45,7 +45,7 @@ public void install() {
}

@Test
public void storeStyleRanges() {
public void testStoreStyleRanges() {
Shell shell= new Shell();
Table table= new Table(shell, SWT.NONE);
TableItem tableItem= new TableItem(table, SWT.NONE);
Expand All @@ -57,7 +57,7 @@ public void storeStyleRanges() {
}

@Test
public void paintNonFocusSelectionInFocusColors() {
public void testPaintNonFocusSelectionInFocusColors() {
int EVENT_Y= 2;
int EVENT_HEIGHT= 3;

Expand Down

0 comments on commit 0846e48

Please sign in to comment.