OSDN Git Service
(root)
/
wptscs
/
wpts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#27621 言語間リンク取得時に<includeonly>, <noinclude>を考慮するよう修正,
[wptscs/wpts.git]
/
WptscsTest
/
Logics
/
TranslatorTest.cs
diff --git
a/WptscsTest/Logics/TranslatorTest.cs
b/WptscsTest/Logics/TranslatorTest.cs
index
c0c1556
..
9dc931d
100644
(file)
--- a/
WptscsTest/Logics/TranslatorTest.cs
+++ b/
WptscsTest/Logics/TranslatorTest.cs
@@
-17,15
+17,15
@@
namespace Honememo.Wptscs.Logics
using NUnit.Framework;
/// <summary>
using NUnit.Framework;
/// <summary>
- ///
Translator
のテストクラスです。
+ ///
<see cref="Translator"/>
のテストクラスです。
/// </summary>
[TestFixture]
/// </summary>
[TestFixture]
-
public
class TranslatorTest
+ class TranslatorTest
{
#region プロパティテストケース
/// <summary>
{
#region プロパティテストケース
/// <summary>
- ///
ItemTable
プロパティテストケース。
+ ///
<see cref="Translator.ItemTable"/>
プロパティテストケース。
/// </summary>
[Test]
public void TestItemTable()
/// </summary>
[Test]
public void TestItemTable()
@@
-39,7
+39,7
@@
namespace Honememo.Wptscs.Logics
}
/// <summary>
}
/// <summary>
- ///
HeadingTable
プロパティテストケース。
+ ///
<see cref="Translator.HeadingTable"/>
プロパティテストケース。
/// </summary>
[Test]
public void TestHeadingTable()
/// </summary>
[Test]
public void TestHeadingTable()
@@
-53,7
+53,7
@@
namespace Honememo.Wptscs.Logics
}
/// <summary>
}
/// <summary>
- ///
Log
プロパティテストケース。
+ ///
<see cref="Translator.Log"/>
プロパティテストケース。
/// </summary>
[Test]
public void TestLog()
/// </summary>
[Test]
public void TestLog()
@@
-64,7
+64,7
@@
namespace Honememo.Wptscs.Logics
// 更新時にLogUpdateイベントが実行されること
int count = 0;
// 更新時にLogUpdateイベントが実行されること
int count = 0;
- translator.LogUpdate += new EventHandler((object sender, EventArgs e) => { ++count; });
+ translator.LogUpdate
d
+= new EventHandler((object sender, EventArgs e) => { ++count; });
Assert.AreEqual(0, count);
translator.Logger.AddMessage("ログ");
Assert.AreEqual(1, count);
Assert.AreEqual(0, count);
translator.Logger.AddMessage("ログ");
Assert.AreEqual(1, count);
@@
-75,7
+75,7
@@
namespace Honememo.Wptscs.Logics
}
/// <summary>
}
/// <summary>
- ///
Text
プロパティテストケース。
+ ///
<see cref="Translator.Text"/>
プロパティテストケース。
/// </summary>
[Test]
public void TestText()
/// </summary>
[Test]
public void TestText()
@@
-92,7
+92,7
@@
namespace Honememo.Wptscs.Logics
}
/// <summary>
}
/// <summary>
- ///
CancellationPending
プロパティテストケース。
+ ///
<see cref="Translator.CancellationPending"/>
プロパティテストケース。
/// </summary>
[Test]
public void TestCancellationPending()
/// </summary>
[Test]
public void TestCancellationPending()
@@
-107,7
+107,7
@@
namespace Honememo.Wptscs.Logics
}
/// <summary>
}
/// <summary>
- ///
From
プロパティテストケース。
+ ///
<see cref="Translator.From"/>
プロパティテストケース。
/// </summary>
[Test]
public void TestFrom()
/// </summary>
[Test]
public void TestFrom()
@@
-121,7
+121,7
@@
namespace Honememo.Wptscs.Logics
}
/// <summary>
}
/// <summary>
- ///
To
プロパティテストケース。
+ ///
<see cref="Translator.To"/>
プロパティテストケース。
/// </summary>
[Test]
public void TestTo()
/// </summary>
[Test]
public void TestTo()
@@
-139,7
+139,7
@@
namespace Honememo.Wptscs.Logics
#region 静的メソッドテストケース
/// <summary>
#region 静的メソッドテストケース
/// <summary>
- ///
Create
メソッドテストケース。
+ ///
<see cref="Translator.Create"/>
メソッドテストケース。
/// </summary>
[Test]
public void TestCreate()
/// </summary>
[Test]
public void TestCreate()
@@
-161,7
+161,7
@@
namespace Honememo.Wptscs.Logics
}
/// <summary>
}
/// <summary>
- ///
Create
メソッドテストケース(未対応のトランスレータクラス)。
+ ///
<see cref="Translator.Create"/>
メソッドテストケース(未対応のトランスレータクラス)。
/// </summary>
[Test]
[ExpectedException(typeof(NotImplementedException))]
/// </summary>
[Test]
[ExpectedException(typeof(NotImplementedException))]
@@
-175,7
+175,7
@@
namespace Honememo.Wptscs.Logics
}
/// <summary>
}
/// <summary>
- ///
Create
メソッドテストケース(トランスレータクラス以外の指定)。
+ ///
<see cref="Translator.Create"/>
メソッドテストケース(トランスレータクラス以外の指定)。
/// </summary>
[Test]
[ExpectedException(typeof(InvalidCastException))]
/// </summary>
[Test]
[ExpectedException(typeof(InvalidCastException))]
@@
-193,7
+193,7
@@
namespace Honememo.Wptscs.Logics
#region publicメソッドテストケース
/// <summary>
#region publicメソッドテストケース
/// <summary>
- ///
Run
メソッドテストケース。
+ ///
<see cref="Translator.Run"/>
メソッドテストケース。
/// </summary>
[Test]
public void TestRun()
/// </summary>
[Test]
public void TestRun()
@@
-233,7
+233,7
@@
namespace Honememo.Wptscs.Logics
}
/// <summary>
}
/// <summary>
- ///
Run
メソッドテストケース(必須パラメータ未設定)。
+ ///
<see cref="Translator.Run"/>
メソッドテストケース(必須パラメータ未設定)。
/// </summary>
[Test]
[ExpectedException(typeof(InvalidOperationException))]
/// </summary>
[Test]
[ExpectedException(typeof(InvalidOperationException))]
@@
-244,7
+244,7
@@
namespace Honememo.Wptscs.Logics
}
/// <summary>
}
/// <summary>
- ///
Run
メソッドテストケース(ping成功)。
+ ///
<see cref="Translator.Run"/>
メソッドテストケース(ping成功)。
/// </summary>
[Test]
public void TestRunPing()
/// </summary>
[Test]
public void TestRunPing()
@@
-259,7
+259,7
@@
namespace Honememo.Wptscs.Logics
}
/// <summary>
}
/// <summary>
- ///
Run
メソッドテストケース(ping失敗)。
+ ///
<see cref="Translator.Run"/>
メソッドテストケース(ping失敗)。
/// </summary>
[Test]
[ExpectedException(typeof(ApplicationException))]
/// </summary>
[Test]
[ExpectedException(typeof(ApplicationException))]
@@
-279,9
+279,9
@@
namespace Honememo.Wptscs.Logics
#region モッククラス
/// <summary>
#region モッククラス
/// <summary>
- ///
Translator
テスト用のモッククラスです。
+ ///
<see cref="Translator"/>
テスト用のモッククラスです。
/// </summary>
/// </summary>
- p
ublic
class TranslatorMock : Translator
+ p
rivate
class TranslatorMock : Translator
{
#region テスト支援用プロパティ
{
#region テスト支援用プロパティ
@@
-350,9
+350,9
@@
namespace Honememo.Wptscs.Logics
}
/// <summary>
}
/// <summary>
- ///
Translator
テスト用のモッククラスです。
+ ///
<see cref="Translator"/>
テスト用のモッククラスです。
/// </summary>
/// </summary>
- p
ublic
class TranslatorIgnoreMock : Translator
+ p
rivate
class TranslatorIgnoreMock : Translator
{
#region コンストラクタ
{
#region コンストラクタ
@@
-380,9
+380,9
@@
namespace Honememo.Wptscs.Logics
}
/// <summary>
}
/// <summary>
- ///
Translator
テスト用のモッククラスです。
+ ///
<see cref="Translator"/>
テスト用のモッククラスです。
/// </summary>
/// </summary>
- p
ublic
class WebsiteMock : Website
+ p
rivate
class WebsiteMock : Website
{
#region ダミーメソッド
{
#region ダミーメソッド