You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment there are several architectural issues.
WinboardPlayer during its construction starts immediately executing a lot of actions on WinboardCommander.
It's against an OO principle which say that a constructor should not contain logic.
In addition, WinboardLegalIntegrationTest now due to Winboard player construction - simplify #334 initializes commander twice (first time with real object, next time - with an injected object for spying purposes).
Due to the fact WinboardPlayer#initCommander updates commander field, we cannot make it final
The text was updated successfully, but these errors were encountered:
Discovered during #334
At the moment there are several architectural issues.
WinboardPlayer during its construction starts immediately executing a lot of actions on WinboardCommander.
It's against an OO principle which say that a constructor should not contain logic.
In addition, WinboardLegalIntegrationTest now due to Winboard player construction - simplify #334 initializes commander twice (first time with real object, next time - with an injected object for spying purposes).
Due to the fact WinboardPlayer#initCommander updates commander field, we cannot make it final
The text was updated successfully, but these errors were encountered: