diff --git a/android/.classpath b/android/.classpath new file mode 100644 index 0000000..e51e38c --- /dev/null +++ b/android/.classpath @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/core/src/test/java/org/omnidial/harvest/TelCandidateHarvesterTest.java b/core/src/test/java/org/omnidial/harvest/TelCandidateHarvesterTest.java index 3f76d00..3fa488f 100644 --- a/core/src/test/java/org/omnidial/harvest/TelCandidateHarvesterTest.java +++ b/core/src/test/java/org/omnidial/harvest/TelCandidateHarvesterTest.java @@ -27,8 +27,8 @@ public void test() { h.addListener(t); String number = "997180330"; h.getCandidatesForNumber(number,"extra"); - assertEquals(t.dcArray.size(),1); - assertEquals(number, t.dcArray.get(0).address); + assertEquals(1,t.dcArray.size()); + assertEquals(t.dcArray.get(0).address,number); } @Test @@ -38,8 +38,8 @@ public void test1() { h1.addListener(t1); String number = "pranav"; h1.getCandidatesForNumber(number,"extra"); - assertEquals(t1.dcArray.size(),1); - assertEquals(number, t1.dcArray.get(0).address); + assertEquals(1, t1.dcArray.size()); + assertEquals(t1.dcArray.get(0).address, number); } @Test @@ -49,8 +49,8 @@ public void test2() { h2.addListener(t2); String number = "9971pranav"; h2.getCandidatesForNumber(number,"extra"); - assertEquals(t2.dcArray.size(),1); - assertEquals(number, t2.dcArray.get(0).address); + assertEquals(1, t2.dcArray.size()); + assertEquals(t2.dcArray.get(0).address,number); }