forked from nhibernate/nhibernate-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReadonlyTestCase.cs
34 lines (30 loc) · 871 Bytes
/
ReadonlyTestCase.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using System;
using System.Collections;
using System.Reflection;
using log4net;
using log4net.Config;
using NHibernate.Cfg;
using NHibernate.Engine;
using NHibernate.Hql.Ast.ANTLR;
using NUnit.Framework;
namespace NHibernate.Test.Linq
{
public abstract class ReadonlyTestCase : TestCase
{
protected override void CreateSchema()
{
}
protected override void DropSchema()
{
}
protected override bool CheckDatabaseWasCleaned()
{
// We are read-only, so we're theoretically always clean.
return true;
}
protected override void ApplyCacheSettings(Configuration configuration)
{
// Patrick Earl: I wasn't sure if making this do nothing was important, but I left it here since it wasn't running in the code when I changed it.
}
}
}