Skip to content

Commit

Permalink
javadoc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jochen-testingbot committed May 10, 2024
1 parent ab89375 commit bc62d07
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
distribution: 'adopt'
java-version: '8'
- name: Test
run: mvn install -Dmaven.javadoc.skip=true -Dgpg.skip=true -B -V
run: mvn install -Dgpg.skip=true -B -V
env:
TB_KEY: ${{ secrets.TB_KEY }}
TB_SECRET: ${{ secrets.TB_SECRET }}
7 changes: 7 additions & 0 deletions src/main/java/com/testingbot/models/TestingbotBrowser.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@

import java.io.Serializable;

/**
* Holds information about the TestingbotBrowser items that TestingBot provides
* You can find the list of browsers on
* <a href="https://testingbot.com/support/getting-started/browsers.html">https://testingbot.com/support/getting-started/browsers.html</a>.
*
* @author TestingBot
*/
public class TestingbotBrowser implements Serializable {
private static final long serialVersionUID = 1L;
private String name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public boolean deleteTest(String sessionID) {
/**
* Gets list of available browsers from TestingBot
*
* @return ArrayList<TestingbotBrowser>
* @return ArrayList containing TestingbotBrowser objects.
*/
public ArrayList<TestingbotBrowser> getBrowsers() {
return this.apiGet("https://api.testingbot.com/v1/browsers", TypeToken.getParameterized(ArrayList.class, TestingbotBrowser.class).getType());
Expand Down Expand Up @@ -405,7 +405,7 @@ public TestingBotStorageFileCollection getStorageFiles(int offset, int count) {
*
* @param offset where to begin
* @param count number of devices
* @return List<TestingbotDevice> devices
* @return List containing TestingbotDevice objects.
*/
public List<TestingbotDevice> getAvailableDevices(int offset, int count) {
return this.apiGet("https://api.testingbot.com/v1/devices/available/?offset=" + offset + "&count=" + count, TypeToken.getParameterized(List.class, TestingbotDevice.class).getType());
Expand All @@ -417,7 +417,7 @@ public List<TestingbotDevice> getAvailableDevices(int offset, int count) {
*
* @param offset where to begin
* @param count number of real devices
* @return List<TestingbotDevice> devices
* @return List containing TestingbotDevice objects.
*/
public List<TestingbotDevice> getDevices(int offset, int count) {
return this.apiGet("https://api.testingbot.com/v1/devices/?offset=" + offset + "&count=" + count, TypeToken.getParameterized(List.class, TestingbotDevice.class).getType());
Expand Down

0 comments on commit bc62d07

Please sign in to comment.