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

@@ -7,7 +7,10 @@ LIBRARY = WebMatrix.Data.dll
LIB_REFS = System System.Data System.Core System.Configuration
KEYFILE = ../mono.pub
LIB_MCS_FLAGS =
TEST_MCS_FLAGS =
TEST_RESOURCE_FILES = Test/resources/testsqlite.db
TEST_MCS_FLAGS = $(foreach r, $(TEST_RESOURCE_FILES), -resource:$(r),$(r))
TEST_LIB_REFS = System System.Core System.Data Mono.Data.Sqlite Microsoft.CSharp
EXTRA_DISTFILES = $(TEST_RESOURCE_FILES)
include ../../build/library.make

View File

@@ -35,6 +35,8 @@ using WebMatrix.Data;
using NUnit.Framework;
using MonoTests.Helpers;
namespace MonoTests.WebMatrix.Data
{
[TestFixtureAttribute]
@@ -46,7 +48,7 @@ namespace MonoTests.WebMatrix.Data
[SetUp]
public void Setup ()
{
dbPath = Path.Combine ("Test", "testsqlite.db");
dbPath = TestResourceHelper.GetFullPathOfResource ("Test/resources/testsqlite.db");
database = Database.OpenConnectionString ("Data Source="+dbPath+";Version=3;", "Mono.Data.Sqlite");
}

Binary file not shown.

View File

@@ -1,4 +1,5 @@
../../test-helpers/NunitHelpers.cs
../../test-helpers/TestResourceHelper.cs
WebMatrix.Data/ConnectionEventArgsTests.cs
WebMatrix.Data/DynamicRecordTests.cs
../WebMatrix.Data/DynamicRecord.cs