use of org.jivesoftware.smack.roster.rosterstore.DirectoryRosterStore in project Smack by igniterealtime.
the class RosterVersioningTest method setUp.
@Before
public void setUp() throws Exception {
DirectoryRosterStore store = DirectoryRosterStore.init(tmpFolder.newFolder("store"));
populateStore(store);
connection = new DummyConnection();
connection.connect();
connection.login();
rosterListener = new TestRosterListener();
roster = Roster.getInstanceFor(connection);
roster.setRosterStore(store);
roster.addRosterListener(rosterListener);
roster.reload();
}
Aggregations