[smuxi] Engine-Tests: don't run benchmark test-cases on Travis-CI



commit db3216395a54738d1ba02a8b8f244ed98fae9fd6
Author: Mirco Bauer <meebey meebey net>
Date:   Tue Feb 25 22:01:50 2014 +0100

    Engine-Tests: don't run benchmark test-cases on Travis-CI

 src/Engine-Tests/MessageBufferTestsBase.cs |    4 ++++
 src/Engine-Tests/MessageModelTests.cs      |    7 +++++++
 2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/src/Engine-Tests/MessageBufferTestsBase.cs b/src/Engine-Tests/MessageBufferTestsBase.cs
index 1909904..9b48ac7 100644
--- a/src/Engine-Tests/MessageBufferTestsBase.cs
+++ b/src/Engine-Tests/MessageBufferTestsBase.cs
@@ -214,6 +214,7 @@ namespace Smuxi.Engine
         }
 
         [Test]
+        [Explicit]
         public void GetRangeBenchmarkWarm()
         {
             RunGetRangeBenchmark(false, 50000, 200);
@@ -221,6 +222,7 @@ namespace Smuxi.Engine
         }
 
         [Test]
+        [Explicit]
         public void GetRangeBenchmarkCold()
         {
             RunGetRangeBenchmark(true, 50000, 200);
@@ -277,6 +279,7 @@ namespace Smuxi.Engine
         }
 
         [Test]
+        [Explicit]
         public void OpenBufferBenchmark()
         {
             RunOpenBufferBenchmark(1);
@@ -332,6 +335,7 @@ namespace Smuxi.Engine
         }
 
         [Test]
+        [Explicit]
         public void AddBenchmark()
         {
             RunAddBenchmark(15000);
diff --git a/src/Engine-Tests/MessageModelTests.cs b/src/Engine-Tests/MessageModelTests.cs
index f69e35d..f71c3f1 100644
--- a/src/Engine-Tests/MessageModelTests.cs
+++ b/src/Engine-Tests/MessageModelTests.cs
@@ -93,6 +93,7 @@ namespace Smuxi.Engine
         }
 
         [Test]
+        [Explicit]
         public void LameCopyConstructorBenchmark()
         {
             int runs = 50000;
@@ -201,6 +202,7 @@ namespace Smuxi.Engine
         }
 
         [Test]
+        [Explicit]
         public void CompactBenchmark()
         {
             var formatter = new BinaryFormatter();
@@ -283,6 +285,7 @@ namespace Smuxi.Engine
         }
 
         [Test]
+        [Explicit]
         public void BinarySerializeDeserializeBenchmark()
         {
         }
@@ -305,6 +308,7 @@ namespace Smuxi.Engine
         }
 
         [Test]
+        [Explicit]
         public void ServiceStackJsonSerializeBenchmark()
         {
             ServiceStack.Text.JsConfig<MessagePartModel>.ExcludeTypeInfo = true;
@@ -343,6 +347,7 @@ namespace Smuxi.Engine
         }
 
         [Test]
+        [Explicit]
         public void ServiceStackJsonSerializeDeserializeBenchmark()
         {
             ServiceStack.Text.JsConfig<MessagePartModel>.ExcludeTypeInfo = true;
@@ -397,6 +402,7 @@ namespace Smuxi.Engine
         }
 
         [Test]
+        [Explicit]
         public void NewtonsoftJsonSerializeBenchmark()
         {
             var serializer = new Newtonsoft.Json.JsonSerializer() {
@@ -441,6 +447,7 @@ namespace Smuxi.Engine
         }
 
         [Test]
+        [Explicit]
         public void NewtonsoftJsonSerializeDeserializeBenchmark()
         {
             var serializer = new Newtonsoft.Json.JsonSerializer() {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]