Skip to content

Commit 48a0bc3

Browse files
Fix namings of test methods and corresponding files in order to be consistent with java and the rest of solution
1 parent 17d2e71 commit 48a0bc3

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/test/java/com/itextpdf/html2pdf/css/FloatAndAlignmentTest.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,54 +29,54 @@ public static void beforeClass() {
2929

3030
@Test
3131
@LogMessages(messages = @LogMessage(messageTemplate = LogMessageConstant.INVALID_CSS_PROPERTY_DECLARATION, count = 2))
32-
public void SingleBlockSingleParagraphRight() throws IOException, InterruptedException {
32+
public void singleBlockSingleParagraphRight() throws IOException, InterruptedException {
3333
/* this test shows different combinations of float values blocks and paragraph align RIGHT within div container
3434
*/
3535
//TODO: update test after ticket DEVSIX-1720 fix (WARN Invalid css property declaration: float: initial)
3636
//TODO: update cmp file after ticket DEVSIX-1268 fix (Float property...)
37-
runTest("SingleBlockSingleParagraphRight", "diffRight01_");
37+
runTest("singleBlockSingleParagraphRight", "diffRight01_");
3838
}
3939

4040
@Test
4141
@LogMessages(messages = @LogMessage(messageTemplate = LogMessageConstant.INVALID_CSS_PROPERTY_DECLARATION, count = 2))
42-
public void SingleBlockSingleParagraphLeft() throws IOException, InterruptedException {
42+
public void singleBlockSingleParagraphLeft() throws IOException, InterruptedException {
4343
//TODO: update test after ticket DEVSIX-1720 fix (WARN Invalid css property declaration: float: initial)
4444
//TODO: update cmp file after ticket DEVSIX-1268 fix (Float property...)
45-
runTest("SingleBlockSingleParagraphLeft", "diffLeft01_");
45+
runTest("singleBlockSingleParagraphLeft", "diffLeft01_");
4646
}
4747

4848
@Test
4949
@LogMessages(messages = @LogMessage(messageTemplate = LogMessageConstant.INVALID_CSS_PROPERTY_DECLARATION, count = 2))
50-
public void SingleBlockSingleParagraphJustify() throws IOException, InterruptedException {
50+
public void singleBlockSingleParagraphJustify() throws IOException, InterruptedException {
5151
//TODO: update test after ticket DEVSIX-1720 fix (WARN Invalid css property declaration: float: initial)
5252
//TODO: update cmp file after ticket DEVSIX-1268 fix (Float property...)
53-
runTest("SingleBlockSingleParagraphJustify", "diffJust01_");
53+
runTest("singleBlockSingleParagraphJustify", "diffJust01_");
5454
}
5555

5656
@Test
5757
@LogMessages(messages = @LogMessage(messageTemplate = LogMessageConstant.INVALID_CSS_PROPERTY_DECLARATION, count = 2))
58-
public void SingleBlockSingleParagraphCenter() throws IOException, InterruptedException {
58+
public void singleBlockSingleParagraphCenter() throws IOException, InterruptedException {
5959
//TODO: update test after ticket DEVSIX-1720 fix (WARN Invalid css property declaration: float: initial)
6060
//TODO: update cmp file after ticket DEVSIX-1268 fix (Float property...)
61-
runTest("SingleBlockSingleParagraphCenter", "diffCent01_");
61+
runTest("singleBlockSingleParagraphCenter", "diffCent01_");
6262
}
6363

6464
@Test
65-
public void SeveralBlocksSingleParagraph() throws IOException, InterruptedException {
65+
public void severalBlocksSingleParagraph() throws IOException, InterruptedException {
6666
/* this test shows different combinations of 3 float values blocks and 1 paragraph aligns within div container
6767
*/
6868
//TODO: update cmp file after ticket DEVSIX-1268 fix (Float property...)
69-
runTest("SeveralBlocksSingleParagraph", "diffSev01_");
69+
runTest("severalBlocksSingleParagraph", "diffSev01_");
7070
}
7171

7272
@Test
73-
public void BlocksInsideParagraph() throws IOException, InterruptedException {
73+
public void blocksInsideParagraph() throws IOException, InterruptedException {
7474
/* this test shows different combinations of 3 float values blocks and 1 paragraph aligns within div container
7575
* now it points not only incorrect alignment vs float positioning, but also incorrect float area
7676
*/
7777
//TODO: update cmp file after ticket DEVSIX-1268 fix (Float property...)
7878
//TODO: update after DEVSIX-1437 fix (Fix edge cases for floats splitting)
79-
runTest("BlocksInsideParagraph", "diffInside01_");
79+
runTest("blocksInsideParagraph", "diffInside01_");
8080
}
8181

8282
private void runTest(String testName, String diff) throws IOException, InterruptedException {

0 commit comments

Comments
 (0)