Skip to content

Commit

Permalink
check style correction
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Vlasiuk committed Nov 30, 2023
1 parent c058117 commit fdc6e22
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,21 @@ public void before() {
textWithDefaultDividers.show();
}

@Test(description = "Test checks presence of mat-divider-horizontal class for default divider separators")
@Test(description = "Test checks that default divider separators have horizontal property")
public void defaultDividersSeparatorsTest() {
defaultDividersSeparators.has().size(equalTo(2));
defaultDividersSeparators.get(1).is().horizontal();
defaultDividersSeparators.get(2).is().horizontal();
}

@Test(description = "Test checks presence of mat-divider-inset class for inset divider separators")
@Test(description = "Test checks that inset divider separators have inset property")
public void insetDividersSeparatorsTest() {
insetDividerSeparators.has().size(equalTo(2));
insetDividerSeparators.get(1).has().inset();
insetDividerSeparators.get(2).has().inset();
}

@Test(description = "Test checks presence of mat-divider-vertical class for vertical divider separators")
@Test(description = "Test checks that vertical divider separators have vertical property")
public void verticalDividerSeparatorsTest() {
verticalDividerSeparators.has().size(equalTo(2));
verticalDividerSeparators.get(1).is().vertical();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,4 @@ public DividerSeparatorAssert inset() {
jdiAssert(element().hasInset() ? "has inset" : "has no inset", Matchers.is("has inset"));
return this;
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
*/
public class Divider extends UIBaseElement<DividerSeparatorAssert> {

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ public DividerSeparatorAssert is() {
public DividerSeparatorAssert has() {
return new DividerSeparatorAssert().set(this);
}
}
}

0 comments on commit fdc6e22

Please sign in to comment.