diff options
author | chenxiajian <chenxiajian1985@gmail.com> | 2011-08-11 15:49:46 +0000 |
---|---|---|
committer | chenxiajian <chenxiajian1985@gmail.com> | 2011-08-11 15:49:46 +0000 |
commit | c0a96fa4a462d3939f4e51f4207b6b305a1ada9a (patch) | |
tree | f91c87d0f498a6c96afa2eb5a2fe7f9d2180e757 | |
parent | e22280b82f4077763dc0aabad17fb027130ab48d (diff) | |
download | enchant-c0a96fa4a462d3939f4e51f4207b6b305a1ada9a.tar.gz |
.NET Test
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/branches/gsoc2011hyphenation@30165 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rw-r--r-- | unittests/Enchant.Net.Tests/DictionaryTests.cs | 6 | ||||
-rw-r--r-- | unittests/Enchant.Net.Tests/Enchant.Net.Tests.csproj | 7 |
2 files changed, 12 insertions, 1 deletions
diff --git a/unittests/Enchant.Net.Tests/DictionaryTests.cs b/unittests/Enchant.Net.Tests/DictionaryTests.cs index 9f7bc39..247f2aa 100644 --- a/unittests/Enchant.Net.Tests/DictionaryTests.cs +++ b/unittests/Enchant.Net.Tests/DictionaryTests.cs @@ -199,6 +199,12 @@ namespace Enchant.Tests dictionary.StoreReplacement("theirs", "their's");
}
+ [Test]
+ public void Hyphenate()
+ {
+ dictionary.Hyphenate("theirs");
+ }
+
[Test]
public void Suggest()
{
diff --git a/unittests/Enchant.Net.Tests/Enchant.Net.Tests.csproj b/unittests/Enchant.Net.Tests/Enchant.Net.Tests.csproj index cbe87c8..62b7394 100644 --- a/unittests/Enchant.Net.Tests/Enchant.Net.Tests.csproj +++ b/unittests/Enchant.Net.Tests/Enchant.Net.Tests.csproj @@ -1,4 +1,4 @@ -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -9,6 +9,11 @@ <AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Enchant.Tests</RootNamespace>
<AssemblyName>Enchant.Net.Tests</AssemblyName>
+ <FileUpgradeFlags>
+ </FileUpgradeFlags>
+ <OldToolsVersion>2.0</OldToolsVersion>
+ <UpgradeBackupLocation>
+ </UpgradeBackupLocation>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
|