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
@@ -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
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
../../test-helpers/TestResourceHelper.cs
|
||||
SqliteCommandUnitTests.cs
|
||||
SqliteConnectionTest.cs
|
||||
SqliteDataAdapterUnitTests.cs
|
||||
|
||||
@@ -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 ();
|
||||
|
||||
|
||||
BIN
mcs/class/Mono.Data.Sqlite/Test/test.db
Normal file
BIN
mcs/class/Mono.Data.Sqlite/Test/test.db
Normal file
Binary file not shown.
@@ -1 +0,0 @@
|
||||
#include Mono.Data.Sqlite_test.dll.sources
|
||||
@@ -1 +1,3 @@
|
||||
Bug27864.cs
|
||||
SqliteDataReaderTest.cs
|
||||
SqliteTests.cs
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
#include monotouch_Mono.Data.Sqlite_test.dll.exclude.sources
|
||||
@@ -0,0 +1 @@
|
||||
#include monotouch_Mono.Data.Sqlite_test.dll.exclude.sources
|
||||
Reference in New Issue
Block a user