You've already forked linux-packaging-mono
Imported Upstream version 5.20.0.180
Former-commit-id: ff953ca879339fe1e1211f7220f563e1342e66cb
This commit is contained in:
parent
0e2d47d1c8
commit
0510252385
@@ -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
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
BIN
mcs/class/WebMatrix.Data/Test/resources/testsqlite.db
Normal file
BIN
mcs/class/WebMatrix.Data/Test/resources/testsqlite.db
Normal file
Binary file not shown.
@@ -1,4 +1,5 @@
|
||||
../../test-helpers/NunitHelpers.cs
|
||||
../../test-helpers/TestResourceHelper.cs
|
||||
WebMatrix.Data/ConnectionEventArgsTests.cs
|
||||
WebMatrix.Data/DynamicRecordTests.cs
|
||||
../WebMatrix.Data/DynamicRecord.cs
|
||||
|
||||
Reference in New Issue
Block a user