Changeset 701 for trunk/LogicMailTests


Ignore:
Timestamp:
09/06/10 13:19:28 (21 months ago)
Author:
octorian
Message:

Refactoring to separate AccountNode into Local and Network subclasses

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LogicMailTests/src/org/logicprobe/LogicMail/model/AccountNodeTest.java

    r656 r701  
    7171        mailStore.rootFolder.children()[0].addChild(new FolderTreeItem("2_Two", "INBOX.2_Two", ".")); 
    7272         
    73         instance = new AccountNode(mailStore, false); 
     73        instance = new TestAccountNode(mailStore, false); 
    7474        instance.addAccountNodeListener(new AccountNodeListener() { 
    7575                public void accountStatusChanged(AccountNodeEvent e) { 
     
    203203 
    204204        return suite; 
     205    } 
     206     
     207    private class TestAccountNode extends AccountNode { 
     208        protected TestAccountNode(TestMailStore mailStore, boolean usePersistedState) { 
     209            super(mailStore); 
     210        } 
     211        protected void save() { } 
     212        protected void load() { } 
    205213    } 
    206214     
Note: See TracChangeset for help on using the changeset viewer.