[MonoDataSqlite] Add test for Xamarin.iOS specific bug 27864
authorAlex Soto <alex@alexsoto.me>
Tue, 24 Mar 2015 23:24:02 +0000 (17:24 -0600)
committerAlex Soto <alex@alexsoto.me>
Tue, 24 Mar 2015 23:24:02 +0000 (17:24 -0600)
commitcdfc2d6b9a7e02ea86123c89b5719a961766c382
tree7a5fe4aaa5be979774b0e414d2e0ed658eadf5f2
parentb4fc24bab0cadfa4955182e5a89bd8d170505de8
[MonoDataSqlite] Add test for Xamarin.iOS specific bug 27864

src: https://bugzilla.xamarin.com/show_bug.cgi?id=27864

As of iOS 8.2 Apple updated Sqlite and broke queries that used to work
pre iOS 8.2 like the select command in this test, The pruppose of this
test is to know when apple fixes this. Expected test behaivour is as follows.

* If iOS 8.2+ Test will pass as long as apple does not fix the bug
* If iOS < 8.2 Test will pass as it does work as expected
* If iOS 8.2+ and apple fixed bug 27864 test will fail and we will need to
  remove the fail check on lines 105 and 106
mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_test.dll.sources
mcs/class/Mono.Data.Sqlite/Test/Bug27864.cs [new file with mode: 0644]