Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: automatic data #449

Closed
wants to merge 1 commit into from

Created a test class to automate the creation of test data

a1c3921
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

chore: automatic data #449

Created a test class to automate the creation of test data
a1c3921
Select commit
Loading
Failed to load commit list.
GitHub Actions / checkstyle failed Sep 5, 2024 in 0s

reviewdog [checkstyle] report

reported by reviewdog 🐶

Findings (14)

server/src/test/java/de/uftos/utils/DataGenerator.java|12 col 1| Wrong lexicographical order for 'org.junit.jupiter.api.MethodOrderer' import. Should be before 'org.junit.jupiter.api.TestMethodOrder'.
server/src/test/java/de/uftos/utils/DataGenerator.java|13 col 1| Wrong lexicographical order for 'java.util.' import. Should be before 'org.junit.jupiter.api.TestMethodOrder'.
server/src/test/java/de/uftos/utils/DataGenerator.java|13 col 17| Using the '.
' form of import should be avoided - java.util.*.
server/src/test/java/de/uftos/utils/DataGenerator.java|14 col 1| Wrong lexicographical order for 'java.util.stream.Collectors' import. Should be before 'org.junit.jupiter.api.TestMethodOrder'.
server/src/test/java/de/uftos/utils/DataGenerator.java|15 col 1| Wrong lexicographical order for 'java.util.stream.IntStream' import. Should be before 'org.junit.jupiter.api.TestMethodOrder'.
server/src/test/java/de/uftos/utils/DataGenerator.java|17 col 1| Import statement for 'io.restassured.RestAssured.given' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line.
server/src/test/java/de/uftos/utils/DataGenerator.java|18 col 1| Import statement for 'org.hamcrest.Matchers.equalTo' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line.
server/src/test/java/de/uftos/utils/DataGenerator.java|19 col 1| Import statement for 'org.hamcrest.Matchers.notNullValue' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line.
server/src/test/java/de/uftos/utils/DataGenerator.java|21 col 1| Missing a Javadoc comment.
server/src/test/java/de/uftos/utils/DataGenerator.java|25| Line is longer than 120 characters (found 150).
server/src/test/java/de/uftos/utils/DataGenerator.java|26| Line is longer than 120 characters (found 156).
server/src/test/java/de/uftos/utils/DataGenerator.java|27| Line is longer than 120 characters (found 125).
server/src/test/java/de/uftos/utils/DataGenerator.java|175| Line is longer than 120 characters (found 157).
server/src/test/java/de/uftos/utils/DataGenerator.java|220| Line is longer than 120 characters (found 128).

Filtered Findings (0)

Annotations

Check warning on line 12 in server/src/test/java/de/uftos/utils/DataGenerator.java

See this annotation in the file changed.

@github-actions github-actions / checkstyle

[checkstyle] server/src/test/java/de/uftos/utils/DataGenerator.java#L12 <com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck>

Wrong lexicographical order for 'org.junit.jupiter.api.MethodOrderer' import. Should be before 'org.junit.jupiter.api.TestMethodOrder'.
Raw output
/github/workspace/./server/src/test/java/de/uftos/utils/DataGenerator.java:12:1: warning: Wrong lexicographical order for 'org.junit.jupiter.api.MethodOrderer' import. Should be before 'org.junit.jupiter.api.TestMethodOrder'. (com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck)

Check warning on line 13 in server/src/test/java/de/uftos/utils/DataGenerator.java

See this annotation in the file changed.

@github-actions github-actions / checkstyle

[checkstyle] server/src/test/java/de/uftos/utils/DataGenerator.java#L13 <com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck>

Wrong lexicographical order for 'java.util.*' import. Should be before 'org.junit.jupiter.api.TestMethodOrder'.
Raw output
/github/workspace/./server/src/test/java/de/uftos/utils/DataGenerator.java:13:1: warning: Wrong lexicographical order for 'java.util.*' import. Should be before 'org.junit.jupiter.api.TestMethodOrder'. (com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck)

Check warning on line 13 in server/src/test/java/de/uftos/utils/DataGenerator.java

See this annotation in the file changed.

@github-actions github-actions / checkstyle

[checkstyle] server/src/test/java/de/uftos/utils/DataGenerator.java#L13 <com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportCheck>

Using the '.*' form of import should be avoided - java.util.*.
Raw output
/github/workspace/./server/src/test/java/de/uftos/utils/DataGenerator.java:13:17: warning: Using the '.*' form of import should be avoided - java.util.*. (com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportCheck)

Check warning on line 14 in server/src/test/java/de/uftos/utils/DataGenerator.java

See this annotation in the file changed.

@github-actions github-actions / checkstyle

[checkstyle] server/src/test/java/de/uftos/utils/DataGenerator.java#L14 <com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck>

Wrong lexicographical order for 'java.util.stream.Collectors' import. Should be before 'org.junit.jupiter.api.TestMethodOrder'.
Raw output
/github/workspace/./server/src/test/java/de/uftos/utils/DataGenerator.java:14:1: warning: Wrong lexicographical order for 'java.util.stream.Collectors' import. Should be before 'org.junit.jupiter.api.TestMethodOrder'. (com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck)

Check warning on line 15 in server/src/test/java/de/uftos/utils/DataGenerator.java

See this annotation in the file changed.

@github-actions github-actions / checkstyle

[checkstyle] server/src/test/java/de/uftos/utils/DataGenerator.java#L15 <com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck>

Wrong lexicographical order for 'java.util.stream.IntStream' import. Should be before 'org.junit.jupiter.api.TestMethodOrder'.
Raw output
/github/workspace/./server/src/test/java/de/uftos/utils/DataGenerator.java:15:1: warning: Wrong lexicographical order for 'java.util.stream.IntStream' import. Should be before 'org.junit.jupiter.api.TestMethodOrder'. (com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck)

Check warning on line 17 in server/src/test/java/de/uftos/utils/DataGenerator.java

See this annotation in the file changed.

@github-actions github-actions / checkstyle

[checkstyle] server/src/test/java/de/uftos/utils/DataGenerator.java#L17 <com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck>

Import statement for 'io.restassured.RestAssured.given' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line.
Raw output
/github/workspace/./server/src/test/java/de/uftos/utils/DataGenerator.java:17:1: warning: Import statement for 'io.restassured.RestAssured.given' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. (com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck)

Check warning on line 18 in server/src/test/java/de/uftos/utils/DataGenerator.java

See this annotation in the file changed.

@github-actions github-actions / checkstyle

[checkstyle] server/src/test/java/de/uftos/utils/DataGenerator.java#L18 <com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck>

Import statement for 'org.hamcrest.Matchers.equalTo' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line.
Raw output
/github/workspace/./server/src/test/java/de/uftos/utils/DataGenerator.java:18:1: warning: Import statement for 'org.hamcrest.Matchers.equalTo' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. (com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck)

Check warning on line 19 in server/src/test/java/de/uftos/utils/DataGenerator.java

See this annotation in the file changed.

@github-actions github-actions / checkstyle

[checkstyle] server/src/test/java/de/uftos/utils/DataGenerator.java#L19 <com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck>

Import statement for 'org.hamcrest.Matchers.notNullValue' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line.
Raw output
/github/workspace/./server/src/test/java/de/uftos/utils/DataGenerator.java:19:1: warning: Import statement for 'org.hamcrest.Matchers.notNullValue' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. (com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck)

Check warning on line 21 in server/src/test/java/de/uftos/utils/DataGenerator.java

See this annotation in the file changed.

@github-actions github-actions / checkstyle

[checkstyle] server/src/test/java/de/uftos/utils/DataGenerator.java#L21 <com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocTypeCheck>

Missing a Javadoc comment.
Raw output
/github/workspace/./server/src/test/java/de/uftos/utils/DataGenerator.java:21:1: warning: Missing a Javadoc comment. (com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocTypeCheck)

Check warning on line 25 in server/src/test/java/de/uftos/utils/DataGenerator.java

See this annotation in the file changed.

@github-actions github-actions / checkstyle

[checkstyle] server/src/test/java/de/uftos/utils/DataGenerator.java#L25 <com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck>

Line is longer than 120 characters (found 150).
Raw output
/github/workspace/./server/src/test/java/de/uftos/utils/DataGenerator.java:25:0: warning: Line is longer than 120 characters (found 150). (com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck)

Check warning on line 26 in server/src/test/java/de/uftos/utils/DataGenerator.java

See this annotation in the file changed.

@github-actions github-actions / checkstyle

[checkstyle] server/src/test/java/de/uftos/utils/DataGenerator.java#L26 <com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck>

Line is longer than 120 characters (found 156).
Raw output
/github/workspace/./server/src/test/java/de/uftos/utils/DataGenerator.java:26:0: warning: Line is longer than 120 characters (found 156). (com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck)

Check warning on line 27 in server/src/test/java/de/uftos/utils/DataGenerator.java

See this annotation in the file changed.

@github-actions github-actions / checkstyle

[checkstyle] server/src/test/java/de/uftos/utils/DataGenerator.java#L27 <com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck>

Line is longer than 120 characters (found 125).
Raw output
/github/workspace/./server/src/test/java/de/uftos/utils/DataGenerator.java:27:0: warning: Line is longer than 120 characters (found 125). (com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck)

Check warning on line 175 in server/src/test/java/de/uftos/utils/DataGenerator.java

See this annotation in the file changed.

@github-actions github-actions / checkstyle

[checkstyle] server/src/test/java/de/uftos/utils/DataGenerator.java#L175 <com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck>

Line is longer than 120 characters (found 157).
Raw output
/github/workspace/./server/src/test/java/de/uftos/utils/DataGenerator.java:175:0: warning: Line is longer than 120 characters (found 157). (com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck)

Check warning on line 220 in server/src/test/java/de/uftos/utils/DataGenerator.java

See this annotation in the file changed.

@github-actions github-actions / checkstyle

[checkstyle] server/src/test/java/de/uftos/utils/DataGenerator.java#L220 <com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck>

Line is longer than 120 characters (found 128).
Raw output
/github/workspace/./server/src/test/java/de/uftos/utils/DataGenerator.java:220:0: warning: Line is longer than 120 characters (found 128). (com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck)