Skip to content

Commit 41e3ae8

Browse files
improve documentation
1 parent 026bf61 commit 41e3ae8

22 files changed

Lines changed: 233 additions & 17 deletions

src/main/java/com/testingbot/models/TestingbotJob.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
import java.util.List;
77

88
/**
9-
* Represents a job (e.g. a Codeless test run) on TestingBot.
9+
* Status of a job (e.g. a Codeless test run) on TestingBot.
1010
* See <a href="https://testingbot.com/support/api">https://testingbot.com/support/api</a>.
11+
*
12+
* @since 1.1.0
1113
*/
1214
public class TestingbotJob implements Serializable {
1315
private static final long serialVersionUID = 1L;

src/main/java/com/testingbot/models/TestingbotLabAlert.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
import java.io.Serializable;
44

5+
/**
6+
* Alert configuration for a Codeless test ({@code kind}, {@code level}, destination).
7+
*
8+
* @since 1.1.0
9+
*/
510
public class TestingbotLabAlert implements Serializable {
611
private static final long serialVersionUID = 1L;
712
private String type;

src/main/java/com/testingbot/models/TestingbotLabCreateAck.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
import java.io.Serializable;
66

7+
/**
8+
* Response from creating a Codeless test — carries the new {@code lab_test_id}.
9+
*
10+
* @since 1.1.0
11+
*/
712
public class TestingbotLabCreateAck implements Serializable {
813
private static final long serialVersionUID = 1L;
914
private boolean success;

src/main/java/com/testingbot/models/TestingbotLabRunAck.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
import java.io.Serializable;
66

7+
/**
8+
* Response from triggering a Codeless test or suite — carries the {@code job_id}.
9+
*
10+
* @since 1.1.0
11+
*/
712
public class TestingbotLabRunAck implements Serializable {
813
private static final long serialVersionUID = 1L;
914
private boolean success;

src/main/java/com/testingbot/models/TestingbotLabSuite.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
import java.io.Serializable;
66
import java.util.List;
77

8+
/**
9+
* A Codeless test suite (a group of Codeless tests run together).
10+
*
11+
* @since 1.1.0
12+
*/
813
public class TestingbotLabSuite implements Serializable {
914
private static final long serialVersionUID = 1L;
1015
private int id;

src/main/java/com/testingbot/models/TestingbotLabSuiteCollection.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
import java.util.ArrayList;
55
import java.util.HashMap;
66

7+
/**
8+
* Paginated list of Codeless test suites ({@code data} + {@code meta}).
9+
*
10+
* @since 1.1.0
11+
*/
712
public class TestingbotLabSuiteCollection implements Serializable {
813
private static final long serialVersionUID = 1L;
914
private ArrayList<TestingbotLabSuite> data = new ArrayList<>();

src/main/java/com/testingbot/models/TestingbotLabSuiteCreateAck.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
import java.io.Serializable;
66

7+
/**
8+
* Response from creating a Codeless test suite — carries the new {@code suite_id}.
9+
*
10+
* @since 1.1.0
11+
*/
712
public class TestingbotLabSuiteCreateAck implements Serializable {
813
private static final long serialVersionUID = 1L;
914
private boolean success;

src/main/java/com/testingbot/models/TestingbotLabTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
import java.io.Serializable;
66
import java.util.List;
77

8+
/**
9+
* A Codeless test definition (target URL, schedule, alerts, browsers).
10+
*
11+
* @since 1.1.0
12+
*/
813
public class TestingbotLabTest implements Serializable {
914
private static final long serialVersionUID = 1L;
1015
private int id;

src/main/java/com/testingbot/models/TestingbotLabTestCollection.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
import java.util.ArrayList;
55
import java.util.HashMap;
66

7+
/**
8+
* Paginated list of Codeless tests ({@code data} + {@code meta}).
9+
*
10+
* @since 1.1.0
11+
*/
712
public class TestingbotLabTestCollection implements Serializable {
813
private static final long serialVersionUID = 1L;
914
private ArrayList<TestingbotLabTest> data = new ArrayList<>();

src/main/java/com/testingbot/models/TestingbotLabTestStep.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
import java.io.Serializable;
66

7+
/**
8+
* A single step within a Codeless test (command + locator + value).
9+
*
10+
* @since 1.1.0
11+
*/
712
public class TestingbotLabTestStep implements Serializable {
813
private static final long serialVersionUID = 1L;
914
@SerializedName("test_order") private int testOrder;

0 commit comments

Comments
 (0)