Module Client : Résolutions de TODO; Ajout d'un TODO dans clss AccountService

This commit is contained in:
Notmoo-PC\Notmoo 2017-10-26 22:22:46 +02:00
parent aaa0cac636
commit 14010eb471
4 changed files with 1 additions and 10 deletions

View File

@ -41,11 +41,7 @@ class MainFrameModel {
}
void disconnectCurrentAccount() {
fireAccountDisconnectedEvent();
//TODO uncomment code when test are to be done
/*
accountService.logOutCurrentAccount();
*/
}
void addListener(IMainFrameModelListener listener){

View File

@ -37,8 +37,6 @@ class AccountScreenModel {
}
Collection<AccountLevel> getLevels() {
//TODO régler ça aussi
//return accountService.getAvailableLevels();
return EnumSet.allOf(AccountLevel.class);
}
}

View File

@ -31,9 +31,6 @@ public class StartupFrameModel {
}
public void beginStartupProcess(String requiredHost, String requiredPort, String username, String password) {
//TODO uncomment code when test are to be done
firerer.fireStartupValidated();
/*
if(!startupProcessBegan){
checkParameters(requiredHost, requiredPort, username, password);
startupProcessBegan = true;
@ -65,7 +62,6 @@ public class StartupFrameModel {
})
.handle();
}
*/
}
private void checkParameters(String host, String port, String username, String password) {

View File

@ -15,6 +15,7 @@ import java.util.List;
//TODO écrire javadoc
//TODO add log lines
//TODO supporter la modif de comptes
public class AccountService {
private QueryExecutor executor;