Skip to content

Commit

Permalink
Add license text & update comments in SWTBot test
Browse files Browse the repository at this point in the history
Amends 7c195df
  • Loading branch information
ptziegler authored and akurtakov committed Oct 18, 2024
1 parent ac92e4a commit 4c92950
Showing 1 changed file with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*******************************************************************************
* Copyright (c) 2024 Patrick Ziegler and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* https://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Patrick Ziegler - initial API and implementation
*******************************************************************************/
package org.eclipse.m2e.pde.ui;

import static org.junit.Assert.assertEquals;
Expand Down Expand Up @@ -224,8 +236,8 @@ public void testAddMavenLocation() throws Exception {

assertFalse(robot.button("Update").isEnabled());
assertFalse(robot.button("Finish").isEnabled());
// There is no elegant way to select the cell editor,
// but we know that opening it focuses the text widget
// There is no elegant way to select the cell editor, but we
// know that it will be the first text widget in the dialog.
table.click(19, 0);
robot.text(0).setText("org.apache.commons");
table.click(19, 1);
Expand Down Expand Up @@ -400,7 +412,7 @@ public void testColumnSorting() throws Exception {
table.header("Artifact Id").click();
assertEquals(table.cell(0, 1), "caffeine");

// Sort by Artifact Id
// Sort by Group Id
table.header("Group Id").click();
assertEquals(table.cell(0, 1), "jackson-annotations");

Expand Down

0 comments on commit 4c92950

Please sign in to comment.