use of org.liberty.android.fantastischmemo.utils.AMPrefUtil in project AnyMemo by helloworld1.
the class ImportMergingTest method setUp.
@Before
public void setUp() throws Exception {
// Reflect out the test context
testContext = getContext();
amFileUtil = new AMFileUtil(testContext, new AMPrefUtil(getContext()));
newDbCardList = new ArrayList<Card>();
Card c1 = new Card();
c1.setQuestion("old question 1");
c1.setAnswer("old answer 1");
c1.setLearningData(new LearningData());
c1.setCategory(new Category());
Card c2 = new Card();
c2.setQuestion("old question 2");
c2.setAnswer("old answer 2");
c2.setLearningData(new LearningData());
c2.setCategory(new Category());
newDbCardList.add(c1);
newDbCardList.add(c2);
}
Aggregations