Skip to content

Commit fcfc3ee

Browse files
authored
Merge pull request #29 from zcervink/28
Fix the errors in the javadoc Fixes #24 Signed-off-by: Zbynek Cervinka <[email protected]>
2 parents c59f7d9 + 76b2ecc commit fcfc3ee

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

src/main/java/com/redhat/devtools/intellij/commonUiTestLibrary/UITestRunner.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public class UITestRunner {
4747
*
4848
* @param ideaVersion version of the IntelliJ Idea to start
4949
* @param port port number on which will the IntelliJ Idea be listening
50+
* @return instance of the RemoteRobot
5051
*/
5152
public static RemoteRobot runIde(IdeaVersion ideaVersion, int port) {
5253
UITestRunner.ideaVersion = ideaVersion;
@@ -73,6 +74,7 @@ public static RemoteRobot runIde(IdeaVersion ideaVersion, int port) {
7374
* Start the given version of IntelliJ Idea listening on the default port
7475
*
7576
* @param ideaVersion version of the IntelliJ Idea to start
77+
* @return instance of the RemoteRobot
7678
*/
7779
public static RemoteRobot runIde(IdeaVersion ideaVersion) {
7880
return runIde(ideaVersion, defaultPort);
@@ -113,6 +115,7 @@ public static RemoteRobot getRemoteRobot() {
113115
*
114116
* @param port port number
115117
* @return instance of the RemoteRobot
118+
* @throws InterruptedException may be thrown in Thread.sleep()
116119
*/
117120
public static RemoteRobot getRemoteRobotConnection(int port) throws InterruptedException {
118121
RemoteRobot remoteRobot = new RemoteRobot("http://127.0.0.1:" + port);

src/main/java/com/redhat/devtools/intellij/commonUiTestLibrary/fixtures/mainIdeWindow/toolWindowsPane/ToolWindowsPane.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public ToolWindowsPane(@NotNull RemoteRobot remoteRobot, @NotNull RemoteComponen
5555
/**
5656
* Create fixture for the Stripe button
5757
*
58+
* @param label label text of the stripe button
5859
* @return fixture for the Stripe button
5960
*/
6061
public ComponentFixture stripeButton(String label) {
@@ -113,7 +114,8 @@ public void buildProject(ToolToBuildProject toolToBuildProject) {
113114
/**
114115
* Test is a file with given name on given path is available in the project tree
115116
*
116-
* @param path path to navigate
117+
* @param path path to navigate to
118+
* @return true if the given file exists on the given path in the project
117119
*/
118120
public boolean isAProjectFilePresent(String... path) {
119121
try {

src/main/java/com/redhat/devtools/intellij/commonUiTestLibrary/utils/testExtension/ScreenshotAfterTestFailExtension.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525

2626
/**
2727
* ScreenshotAfterTestFailExtension takes screenshot immediately after test has failed
28-
* and perform a clean up to ensure no dialog or windows is opened
28+
* and perform a clean up to ensure no dialog or windows is opened<br>
2929
*
30-
* USAGE: Add the following annotation before every class with JUnit tests
31-
* @ExtendWith(ScreenshotAfterTestFailExtension.class)
30+
* <b>USAGE:</b> Add the following annotation before every class with JUnit tests:
31+
* {@code @ExtendWith(ScreenshotAfterTestFailExtension.class)}<br>
3232
*
3333
3434
*

0 commit comments

Comments
 (0)