Definition at line 24 of file SingleFileStoreTests.cs.
static IConfiguration Deveel.Data.Store.SingleFileStoreTests.CreateDatabaseConfig |
( |
| ) |
|
|
inlinestaticprivate |
Definition at line 32 of file SingleFileStoreTests.cs.
35 dbConfig.SetValue(
"database.storageSystem", DefaultStorageSystemNames.SingleFile);
36 dbConfig.SetValue(
"database.basePath", Environment.CurrentDirectory);
const string DatabaseName
Configuration(bool isRoot)
Constructs the Configuration.
void Deveel.Data.Store.SingleFileStoreTests.CreateNewDatabase |
( |
| ) |
|
|
inline |
Definition at line 77 of file SingleFileStoreTests.cs.
const string TestAdminUser
IDatabase CreateDatabase(IConfiguration configuration, string adminUser, string adminPassword)
static IConfiguration CreateDatabaseConfig()
const string TestAdminPass
static string Deveel.Data.Store.SingleFileStoreTests.GetDbFileName |
( |
| ) |
|
|
inlinestaticprivate |
Definition at line 40 of file SingleFileStoreTests.cs.
41 var localPath = Environment.CurrentDirectory;
43 return Path.Combine(localPath, fileName);
A long string in the system.
const string DatabaseName
void Deveel.Data.Store.SingleFileStoreTests.OnSetUp |
( |
string |
testName | ) |
|
|
inlineprivate |
Definition at line 46 of file SingleFileStoreTests.cs.
47 var systemBuilder =
new SystemBuilder();
52 if (testName !=
"CreateNewDatabase") {
const string TestAdminUser
IDatabase CreateDatabase(IConfiguration configuration, string adminUser, string adminPassword)
static IConfiguration CreateDatabaseConfig()
const string TestAdminPass
void Deveel.Data.Store.SingleFileStoreTests.SetUp |
( |
| ) |
|
|
inline |
Definition at line 58 of file SingleFileStoreTests.cs.
59 var test = TestContext.CurrentContext.Test;
void OnSetUp(string testName)
void Deveel.Data.Store.SingleFileStoreTests.TearDown |
( |
| ) |
|
|
inline |
Definition at line 65 of file SingleFileStoreTests.cs.
72 if (
File.Exists(fileName))
73 File.Delete(fileName);
void Close()
Closes the database making it not accessible to connections.
static string GetDbFileName()
IDatabase Deveel.Data.Store.SingleFileStoreTests.database |
|
private |
const string Deveel.Data.Store.SingleFileStoreTests.DatabaseName = "test_db" |
|
private |
ISystem Deveel.Data.Store.SingleFileStoreTests.systemContext |
|
private |
const string Deveel.Data.Store.SingleFileStoreTests.TestAdminPass = "abc1234" |
|
private |
const string Deveel.Data.Store.SingleFileStoreTests.TestAdminUser = "SA" |
|
private |
The documentation for this class was generated from the following file: