Skip to content

Commit 14f7c73

Browse files
committed
Add ignore for pdd
1 parent ebc11a4 commit 14f7c73

File tree

4 files changed

+19
-4
lines changed
  • jdi-light-mobile/src/main/java/com/epam/jdi/light/mobile/elements/common/app/android
  • jdi-light-vuetify/src/main/java/com/epam/jdi/light/vuetify/elements/complex/tables

4 files changed

+19
-4
lines changed

.0pdd.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
alerts:
2+
suppress:
3+
- on-found-puzzle
4+
- on-lost-puzzle
5+
- on-scope
6+
tags:
7+
- Refactoring

.pdd

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
--source=.
2+
--exclude README.md
3+
--exclude config/**/*
4+
--exclude Documents/**/*
5+
--exclude allure.tgz
6+
--exclude *.sh
7+
--exclude *.bat
8+
--exclude .idea/**.*

jdi-light-mobile/src/main/java/com/epam/jdi/light/mobile/elements/common/app/android/RatingBar.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public double getRating() {
1717
return Double.parseDouble(core().getText());
1818
}
1919

20-
// @todo Check if 1.0 is really the minimum, as typically 0 is minimum
20+
// @todo #1 Check if 1.0 is really the minimum, as typically 0 is minimum
2121
@JDIAction("Setup rating value to {0} with the max value as {1} (Value should not greater then max and not less then 1.0)")
2222
public void setRatingByClick(double value, double fullStars) {
2323
if (value > fullStars || value < 1.0) {
@@ -28,7 +28,7 @@ public void setRatingByClick(double value, double fullStars) {
2828
int offset = (int) (stepLength * (value - 1));
2929
int newRatingPositionX = position.x + offset + (int) (stepLength * 0.6);
3030
int newRatingPositionY = position.y + position.height / 2;
31-
// @todo Change TouchAction in mobile project, as it is depricated
31+
// @todo #1 Change TouchAction in mobile project, as it is depricated
3232
TouchAction touchAction = new TouchAction((PerformsTouchActions) core().driver());
3333
touchAction.tap(PointOption.point(newRatingPositionX, newRatingPositionY)).perform();
3434
}

jdi-light-vuetify/src/main/java/com/epam/jdi/light/vuetify/elements/complex/tables/DataTable.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ public void groupBy(String colName) {
202202
return;
203203
}
204204
}
205-
// @todo add a public method to check if grouping by column is available
206-
//check if it is already grouped by
205+
// @todo #1 add a public method to check if grouping by column is available
206+
// check if it is already grouped by
207207
if (groups.isEmpty()) {
208208
throw runtimeException(String.format("Grouping by column '%s' is not available", colName));
209209
}

0 commit comments

Comments
 (0)