Added Test Categories to Server Tests

This commit is contained in:
MaxXor 2015-07-31 10:04:44 +02:00
parent 4b9e2785a2
commit 328200ad09
2 changed files with 6 additions and 10 deletions

View File

@ -11,8 +11,7 @@ public class SafeQuickLZTests
* Purpose: To validate a small amount of data after compression/decompression
* using SafeQuickLZ with level 1 compression.
*/
[TestMethod]
[TestCategory("Compression")]
[TestMethod, TestCategory("Compression")]
public void SmallDataCompressionTestLevel1()
{
SafeQuickLZ safeQuickLZtest = new SafeQuickLZ();
@ -40,8 +39,7 @@ public void SmallDataCompressionTestLevel1()
* Purpose: To validate a small amount of data after compression/decompression
* using SafeQuickLZ with level 3 compression.
*/
[TestMethod]
[TestCategory("Compression")]
[TestMethod, TestCategory("Compression")]
public void SmallDataCompressionTestLevel3()
{
SafeQuickLZ safeQuickLZtest = new SafeQuickLZ();
@ -69,8 +67,7 @@ public void SmallDataCompressionTestLevel3()
* Purpose: To validate a large amount of data after compression/decompression
* using SafeQuickLZ with level 1 compression.
*/
[TestMethod]
[TestCategory("Compression")]
[TestMethod, TestCategory("Compression")]
public void BigDataCompressionTestLevel1()
{
SafeQuickLZ safeQuickLZtest = new SafeQuickLZ();
@ -98,8 +95,7 @@ public void BigDataCompressionTestLevel1()
* Purpose: To validate a large amount of data after compression/decompression
* using SafeQuickLZ with level 3 compression.
*/
[TestMethod]
[TestCategory("Compression")]
[TestMethod, TestCategory("Compression")]
public void BigDataCompressionTestLevel3()
{
SafeQuickLZ safeQuickLZtest = new SafeQuickLZ();

View File

@ -8,7 +8,7 @@ namespace xServer.Tests.Core.Encryption
[TestClass]
public class AESTests
{
[TestMethod]
[TestMethod, TestCategory("Encryption")]
public void EncryptAndDecryptStringTest()
{
var input = FileHelper.GetRandomFilename(100);
@ -23,7 +23,7 @@ public void EncryptAndDecryptStringTest()
Assert.AreEqual(input, decrypted);
}
[TestMethod]
[TestMethod, TestCategory("Encryption")]
public void EncryptAndDecryptByteArrayTest()
{
var input = FileHelper.GetRandomFilename(100);