Imported Upstream version 5.20.0.180

Former-commit-id: ff953ca879339fe1e1211f7220f563e1342e66cb
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2019-02-04 20:11:37 +00:00
parent 0e2d47d1c8
commit 0510252385
3360 changed files with 83827 additions and 39243 deletions

View File

@@ -15,10 +15,13 @@ KEYFILE = ../mono.pub
LIB_MCS_FLAGS = /unsafe \
$(RESOURCES:%=-resource:%) -d:SQLITE_STANDARD
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) /nowarn:618
TEST_RESOURCE_FILES = Test/test.db
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) /nowarn:618 $(foreach r, $(TEST_RESOURCE_FILES), -resource:$(r),$(r))
EXTRA_DISTFILES = Test/SqliteTest.cs \
Test/test.sql \
$(TEST_RESOURCE_FILES) \
resources/SR.resx \
resources/DataTypes.xml \
resources/MetaDataCollections.xml \
@@ -29,11 +32,9 @@ CLEAN_FILES += $(RESX_RESOURCES)
CLEAN_FILES = $(RESX_RESOURCES)
test-local: test.db
test.db: Test/test.sql
Test/test.db: Test/test.sql
rm -f $@
sqlite3 $@ < $< || :
sqlite3 $@ < $<
include ../../build/library.make

View File

@@ -1,3 +1,4 @@
../../test-helpers/TestResourceHelper.cs
SqliteCommandUnitTests.cs
SqliteConnectionTest.cs
SqliteDataAdapterUnitTests.cs

View File

@@ -37,12 +37,14 @@ using Mono.Data.Sqlite;
using NUnit.Framework;
using MonoTests.Helpers;
namespace MonoTests.Mono.Data.Sqlite
{
[TestFixture]
public class SqliteDataReaderTest
{
readonly static string _uri = "./test.db";
readonly static string _uri = TestResourceHelper.GetFullPathOfResource("Test/test.db");
readonly static string _connectionString = "URI=file://" + _uri + ", version=3";
SqliteConnection _conn = new SqliteConnection ();

Binary file not shown.

View File

@@ -1 +0,0 @@
#include Mono.Data.Sqlite_test.dll.sources

View File

@@ -1 +1,3 @@
Bug27864.cs
SqliteDataReaderTest.cs
SqliteTests.cs

View File

@@ -0,0 +1 @@
#include monotouch_Mono.Data.Sqlite_test.dll.exclude.sources

View File

@@ -0,0 +1 @@
#include monotouch_Mono.Data.Sqlite_test.dll.exclude.sources