You've already forked linux-packaging-mono
Imported Upstream version 4.2.0.179
Former-commit-id: 0a113cb3a6feb7873f632839b1307cc6033cd595
This commit is contained in:
committed by
Jo Shields
parent
183bba2c9a
commit
6992685b86
@@ -92,14 +92,12 @@ namespace MonoTests.Mono.Data.Sqlite {
|
||||
Assert.AreEqual(dr["Company.Name"], "Test CO");
|
||||
i += 2;
|
||||
}
|
||||
Assert.IsTrue(dr.FieldCount>0);
|
||||
Assert.IsTrue(dr.FieldCount>0, i.ToString ());
|
||||
}
|
||||
if (BCL.Tests.TestRuntime.CheckSystemVersion (8, 2))
|
||||
Assert.IsTrue (false, "Apple fixed bug 27864, this check can now be removed");
|
||||
}
|
||||
} catch (SqliteException ex) {
|
||||
|
||||
if (BCL.Tests.TestRuntime.CheckSystemVersion (8, 2)) // Expected Exception on iOS 8.2+, if this does not happen anymore it means apple fixed it
|
||||
// Expected Exception from iOS 8.2 (broken) to 9.0 (fixed)
|
||||
if (BCL.Tests.TestRuntime.CheckSystemVersion (8,2) && !BCL.Tests.TestRuntime.CheckSystemVersion (9,0))
|
||||
Assert.That (ex.Message.Contains ("no such column: com.Name"));
|
||||
else
|
||||
throw new AssertionException ("Unexpected Sqlite Error", ex); // This should not happen
|
||||
|
Reference in New Issue
Block a user