package com.gwesm.mvpc;
import com.gwesm.core.GWESM;
import com.gwesm.dao.CastorDAO;
import com.gwesm.dao.DAO;
public class TestMVP {
public void testname() throws Exception {
DAO dao = new CastorDAO();
GWESM gwesm = dao.loadData("testsData\\GWESM-Sample.xml");
// Character character = null;
//
// StatisticsPresenter p = new StatisticsPresenter(gwesm, character);
// StatisticsView v = new StatisticsView();
// p.addView(v);
//
// Assert.assertEquals(12, p.getTotalProphs());
// Assert.assertEquals(4, p.getOwnedProphs());
//
// character.addEliteSkill(null);
// Assert.assertEquals(5, p.getOwnedProphs());
//
// Assert.assertEquals(12, p.getTotalFactions());
// Assert.assertEquals(4, p.getOwnedFactions());
//
// character.addEliteSkill(null);
// Assert.assertEquals(5, p.getOwnedFactions());
//
// Assert.assertEquals(12, p.getTotalNightfall());
// Assert.assertEquals(4, p.getOwnedNightfall());
//
// character.addEliteSkill(null);
// Assert.assertEquals(5, p.getOwnedNightfall());
//
// Assert.assertEquals(12, p.getTotalOverall());
// Assert.assertEquals(4, p.getOwnedOverall());
}
}