Conversation
There was a problem hiding this comment.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
checkstyle
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck> reported by reviewdog 🐶
Extra separation in import group before 'use_case.login.LoginInputData'
🚫 [checkstyle] reported by reviewdog 🐶
Unnecessary consecutive lines
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck> reported by reviewdog 🐶
Import statement for 'org.junit.jupiter.api.Assertions.*' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck> reported by reviewdog 🐶
Wrong order for 'org.junit.jupiter.api.Assertions.*' import.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportCheck> reported by reviewdog 🐶
Using the '.' form of import should be avoided - org.junit.jupiter.api.Assertions..
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck> reported by reviewdog 🐶
Line is longer than 120 characters (found 128).
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.naming.AbbreviationAsWordInNameCheck> reported by reviewdog 🐶
Abbreviation in name 'testLoginFailure_UserDNE' must contain no more than '1' consecutive capital letters.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheck> reported by reviewdog 🐶
Name 'testLoginFailure_UserDNE' must match pattern '^[a-z][a-zA-Z0-9]*$'.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheck> reported by reviewdog 🐶
Name 'testLoginFailure_IncorrectPassword' must match pattern '^[a-z][a-zA-Z0-9]*$'.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.NewlineAtEndOfFileCheck> reported by reviewdog 🐶
File does not end with a newline.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.naming.PackageNameCheck> reported by reviewdog 🐶
Name 'use_case.user_management' must match pattern '^[a-z]+(.[a-zA-Z_]\w*)*$'.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.coding.ExplicitInitializationCheck> reported by reviewdog 🐶
Variable 'successUsername' explicitly initialized to 'null' (default value for its type).
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.NewlineAtEndOfFileCheck> reported by reviewdog 🐶
File does not end with a newline.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.naming.PackageNameCheck> reported by reviewdog 🐶
Name 'use_case.user_management' must match pattern '^[a-z]+(.[a-zA-Z_]\w*)*$'.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck> reported by reviewdog 🐶
Import statement for 'org.junit.jupiter.api.Test' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck> reported by reviewdog 🐶
Wrong order for 'org.junit.jupiter.api.Test' import.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck> reported by reviewdog 🐶
Extra separation in import group before 'use_case.signup.SignupInputData'
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck> reported by reviewdog 🐶
'use_case.signup.SignupInputData' should be separated from previous imports.
🚫 [checkstyle] reported by reviewdog 🐶
Unnecessary consecutive lines
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck> reported by reviewdog 🐶
Import statement for 'org.junit.jupiter.api.Assertions.*' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck> reported by reviewdog 🐶
Wrong order for 'org.junit.jupiter.api.Assertions.*' import.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportCheck> reported by reviewdog 🐶
Using the '.' form of import should be avoided - org.junit.jupiter.api.Assertions..
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.naming.AbbreviationAsWordInNameCheck> reported by reviewdog 🐶
Abbreviation in name 'NEW_USERNAME' must contain no more than '1' consecutive capital letters.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck> reported by reviewdog 🐶
Name 'NEW_USERNAME' must match pattern '^[a-z][a-zA-Z0-9]*$'.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.naming.AbbreviationAsWordInNameCheck> reported by reviewdog 🐶
Abbreviation in name 'EXISTING_USERNAME' must contain no more than '1' consecutive capital letters.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck> reported by reviewdog 🐶
Name 'EXISTING_USERNAME' must match pattern '^[a-z][a-zA-Z0-9]*$'.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.naming.AbbreviationAsWordInNameCheck> reported by reviewdog 🐶
Abbreviation in name 'TEST_PASSWORD' must contain no more than '1' consecutive capital letters.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck> reported by reviewdog 🐶
Name 'TEST_PASSWORD' must match pattern '^[a-z][a-zA-Z0-9]*$'.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheck> reported by reviewdog 🐶
Name 'testSignupFailure_PasswordsDontMatch' must match pattern '^[a-z][a-zA-Z0-9]*$'.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheck> reported by reviewdog 🐶
Name 'testSignupFailure_EmptyPassword' must match pattern '^[a-z][a-zA-Z0-9]*$'.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheck> reported by reviewdog 🐶
Name 'testSignupFailure_EmptyUsername' must match pattern '^[a-z][a-zA-Z0-9]*$'.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheck> reported by reviewdog 🐶
Name 'testSignupFailure_UserExists' must match pattern '^[a-z][a-zA-Z0-9]*$'.
| package use_case.user_management; | ||
|
|
||
| import data_access.InMemoryUserDataAccessObject; | ||
| import org.junit.jupiter.api.Test; |
There was a problem hiding this comment.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck> reported by reviewdog 🐶
Wrong order for 'org.junit.jupiter.api.Test' import.
|
|
||
| import data_access.InMemoryUserDataAccessObject; | ||
| import org.junit.jupiter.api.Test; | ||
| import use_case.logout.LogoutInteractor; |
There was a problem hiding this comment.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck> reported by reviewdog 🐶
'use_case.logout.LogoutInteractor' should be separated from previous imports.
| import org.junit.jupiter.api.Test; | ||
| import use_case.logout.LogoutInteractor; | ||
|
|
||
| import static org.junit.jupiter.api.Assertions.*; |
There was a problem hiding this comment.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportCheck> reported by reviewdog 🐶
Using the '.' form of import should be avoided - org.junit.jupiter.api.Assertions..
| @@ -0,0 +1,35 @@ | |||
| package use_case.user_management; | |||
There was a problem hiding this comment.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.naming.PackageNameCheck> reported by reviewdog 🐶
Name 'use_case.user_management' must match pattern '^[a-z]+(.[a-zA-Z_]\w*)*$'.
|
Please resolve the style problems before I merge |
| @@ -0,0 +1,17 @@ | |||
| package use_case.user_management; | |||
There was a problem hiding this comment.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.naming.PackageNameCheck> reported by reviewdog 🐶
Name 'use_case.user_management' must match pattern '^[a-z]+(.[a-zA-Z_]\w*)*$'.
| import entities.UserFactory; | ||
|
|
||
| import org.junit.jupiter.api.Test; | ||
| import use_case.signup.SignupInputData; |
There was a problem hiding this comment.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck> reported by reviewdog 🐶
'use_case.signup.SignupInputData' should be separated from previous imports.
| import use_case.signup.SignupInputData; | ||
| import use_case.signup.SignupInteractor; | ||
|
|
||
| import static org.junit.jupiter.api.Assertions.*; |
There was a problem hiding this comment.
🚫 [checkstyle] reported by reviewdog 🐶
Unnecessary consecutive lines
| import use_case.signup.SignupInputData; | ||
| import use_case.signup.SignupInteractor; | ||
|
|
||
| import static org.junit.jupiter.api.Assertions.*; |
There was a problem hiding this comment.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck> reported by reviewdog 🐶
Import statement for 'org.junit.jupiter.api.Assertions.*' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line.
| import use_case.signup.SignupInputData; | ||
| import use_case.signup.SignupInteractor; | ||
|
|
||
| import static org.junit.jupiter.api.Assertions.*; |
There was a problem hiding this comment.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck> reported by reviewdog 🐶
Wrong order for 'org.junit.jupiter.api.Assertions.*' import.
| import use_case.signup.SignupInputData; | ||
| import use_case.signup.SignupInteractor; | ||
|
|
||
| import static org.junit.jupiter.api.Assertions.*; |
There was a problem hiding this comment.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportCheck> reported by reviewdog 🐶
Using the '.' form of import should be avoided - org.junit.jupiter.api.Assertions..
|
and add javadocs |
Adish-Singh
left a comment
There was a problem hiding this comment.
Thank you for fixing the style of your code. The tests have 100% line coverage so great job.
add tests for sign up, log in and log out