Removed date tests
This commit is contained in:
parent
689442fff2
commit
97ea151134
@ -78,19 +78,6 @@ public class MassOperationTests extends RefineTest {
|
|||||||
Assert.assertFalse(editList.get(0).fromError);
|
Assert.assertFalse(editList.get(0).fromError);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
public void testReconstructEditDate() throws Exception {
|
|
||||||
editsString = "[{\"from\":[\"2018-10-04T00:00:00Z\"],\"to\":\"newString\",\"type\":\"text\"}]";
|
|
||||||
|
|
||||||
editList = MassEditOperation.reconstructEdits(ParsingUtilities.evaluateJsonStringToArray(editsString));
|
|
||||||
|
|
||||||
Assert.assertEquals(editList.get(0).from.size(), 1);
|
|
||||||
Assert.assertEquals(editList.get(0).from.get(0), "2018-10-04T00:00Z");
|
|
||||||
Assert.assertEquals(editList.get(0).to,"newString" );
|
|
||||||
Assert.assertFalse(editList.get(0).fromBlank);
|
|
||||||
Assert.assertFalse(editList.get(0).fromError);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testReconstructEditEmpty() throws Exception {
|
public void testReconstructEditEmpty() throws Exception {
|
||||||
editsString = "[{\"from\":[\"\"],\"to\":\"newString\",\"type\":\"text\"}]";
|
editsString = "[{\"from\":[\"\"],\"to\":\"newString\",\"type\":\"text\"}]";
|
||||||
@ -105,6 +92,7 @@ public class MassOperationTests extends RefineTest {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//Not yet testing for editing a cell containing an OR error
|
//Not yet testing for mass edit from OR Error
|
||||||
|
//Not yet testing for mass edit from OR Date
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user