ProjectBuendia/buendiaserver — pull request #15 by mslatour (2014-10-17 23:45:43+00:00)
Title: Three new unit tests and safe update queries

This pull request contains some bigger changes on the API. Please review with care.

* Three unit tests for case-insensitivity, filter on two fields and input escaping.
* Changed sqlite.executeUpdate method to work with prepared statements
* Updated AddNewPatient to work with prepared statements
* Updated UpdateSpecificPatient to work with prepared statements

Test result: All tests were successful except case-insensitivity, which has never been successful so far.