Fixed help files.
This commit is contained in:
commit
b8f912cc79
1543 changed files with 395123 additions and 0 deletions
30
Core-Tests/SettingsStorageProviderTests.cs
Normal file
30
Core-Tests/SettingsStorageProviderTests.cs
Normal file
|
@ -0,0 +1,30 @@
|
|||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using ScrewTurn.Wiki.PluginFramework;
|
||||
using NUnit.Framework;
|
||||
using Rhino.Mocks;
|
||||
|
||||
namespace ScrewTurn.Wiki.Tests {
|
||||
|
||||
public class SettingsStorageProviderTests : SettingsStorageProviderTestScaffolding {
|
||||
|
||||
public override ISettingsStorageProviderV30 GetProvider() {
|
||||
SettingsStorageProvider prov = new SettingsStorageProvider();
|
||||
prov.Init(MockHost(), "");
|
||||
return prov;
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void Init() {
|
||||
ISettingsStorageProviderV30 prov = GetProvider();
|
||||
prov.Init(MockHost(), "");
|
||||
|
||||
Assert.IsNotNull(prov.Information, "Information should not be null");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue