[gbrainy] A more meanful namespace structure for unit tests
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy] A more meanful namespace structure for unit tests
- Date: Sat, 2 Apr 2011 18:45:06 +0000 (UTC)
commit 50f657448bfdc5dd3c5a89a21a03c4e55af3c4ab
Author: Jordi Mas <jmas softcatala org>
Date: Sat Apr 2 20:46:17 2011 +0200
A more meanful namespace structure for unit tests
tests/Clients/Classical/CommandLineTest.cs | 2 +-
tests/Clients/Classical/gbrainyTest.cs | 2 +-
tests/Core/AnalogiesFactoryTest.cs | 2 +-
tests/Core/GameAnswerTest.cs | 2 +-
tests/Core/GameManagerTest.cs | 2 +-
tests/Core/GameSessionTest.cs | 2 +-
tests/Core/GameXmlFactoryTest.cs | 3 +--
tests/Core/PlayerHistoryTest.cs | 2 +-
tests/Core/PlayerPersonalRecordTest.cs | 2 +-
tests/Core/PreferencesTest.cs | 2 +-
tests/Games/Logic/PuzzleNumericRelationTest.cs | 2 +-
tests/TestSupport/UnitTestSupport.cs | 2 +-
12 files changed, 12 insertions(+), 13 deletions(-)
---
diff --git a/tests/Clients/Classical/CommandLineTest.cs b/tests/Clients/Classical/CommandLineTest.cs
index f64e361..725d8ad 100644
--- a/tests/Clients/Classical/CommandLineTest.cs
+++ b/tests/Clients/Classical/CommandLineTest.cs
@@ -24,7 +24,7 @@ using NUnit.Framework;
using gbrainy.Clients.Classical;
using gbrainy.Core.Main;
-namespace gbrainyTest
+namespace gbrainy.Test.Clients.Classical
{
[TestFixture]
public class CommandLineTest : UnitTestSupport
diff --git a/tests/Clients/Classical/gbrainyTest.cs b/tests/Clients/Classical/gbrainyTest.cs
index 57af614..ce93279 100644
--- a/tests/Clients/Classical/gbrainyTest.cs
+++ b/tests/Clients/Classical/gbrainyTest.cs
@@ -25,7 +25,7 @@ using gbrainy.Clients.Classical;
using gbrainy.Core.Main;
using gbrainy.Core.Services;
-namespace gbrainyTest
+namespace gbrainy.Test.Clients.Classical
{
[TestFixture]
public class gbrainyTest : UnitTestSupport
diff --git a/tests/Core/AnalogiesFactoryTest.cs b/tests/Core/AnalogiesFactoryTest.cs
index ebcaa6a..219c265 100644
--- a/tests/Core/AnalogiesFactoryTest.cs
+++ b/tests/Core/AnalogiesFactoryTest.cs
@@ -23,7 +23,7 @@ using NUnit.Framework;
using gbrainy.Core.Main.Verbal;
-namespace gbrainyTest
+namespace gbrainy.Test.Core
{
[TestFixture]
public class AnalogiesFactoryTest : UnitTestSupport
diff --git a/tests/Core/GameAnswerTest.cs b/tests/Core/GameAnswerTest.cs
index 61f9aa9..6a6874b 100644
--- a/tests/Core/GameAnswerTest.cs
+++ b/tests/Core/GameAnswerTest.cs
@@ -22,7 +22,7 @@ using NUnit.Framework;
using gbrainy.Core.Main;
-namespace gbrainyTest
+namespace gbrainy.Test.Core
{
[TestFixture]
public class GameAnswerTest : UnitTestSupport
diff --git a/tests/Core/GameManagerTest.cs b/tests/Core/GameManagerTest.cs
index 44b71fc..bf8e16c 100644
--- a/tests/Core/GameManagerTest.cs
+++ b/tests/Core/GameManagerTest.cs
@@ -23,7 +23,7 @@ using NUnit.Framework;
using gbrainy.Core.Main;
-namespace gbrainyTest
+namespace gbrainy.Test.Core
{
[TestFixture]
public class GameManagerTest : UnitTestSupport
diff --git a/tests/Core/GameSessionTest.cs b/tests/Core/GameSessionTest.cs
index ebad671..e1fe8a7 100644
--- a/tests/Core/GameSessionTest.cs
+++ b/tests/Core/GameSessionTest.cs
@@ -23,7 +23,7 @@ using NUnit.Framework;
using gbrainy.Core.Main;
-namespace gbrainyTest
+namespace gbrainy.Test.Core
{
[TestFixture]
public class GameSessionTest : UnitTestSupport
diff --git a/tests/Core/GameXmlFactoryTest.cs b/tests/Core/GameXmlFactoryTest.cs
index 72c7763..240bc29 100644
--- a/tests/Core/GameXmlFactoryTest.cs
+++ b/tests/Core/GameXmlFactoryTest.cs
@@ -24,9 +24,8 @@ using NUnit.Framework;
using gbrainy.Core.Main;
using gbrainy.Core.Main.Xml;
-namespace gbrainyTest
+namespace gbrainy.Test.Core
{
-
[TestFixture]
public class GameXmlFactoryTest : UnitTestSupport
{
diff --git a/tests/Core/PlayerHistoryTest.cs b/tests/Core/PlayerHistoryTest.cs
index 3dd670c..d4866c9 100644
--- a/tests/Core/PlayerHistoryTest.cs
+++ b/tests/Core/PlayerHistoryTest.cs
@@ -23,7 +23,7 @@ using NUnit.Framework;
using gbrainy.Core.Main;
-namespace gbrainyTest
+namespace gbrainy.Test.Core
{
[TestFixture]
public class PlayerHistoryTest : UnitTestSupport
diff --git a/tests/Core/PlayerPersonalRecordTest.cs b/tests/Core/PlayerPersonalRecordTest.cs
index cc7b926..138d36d 100644
--- a/tests/Core/PlayerPersonalRecordTest.cs
+++ b/tests/Core/PlayerPersonalRecordTest.cs
@@ -23,7 +23,7 @@ using NUnit.Framework;
using gbrainy.Core.Main;
-namespace gbrainyTest
+namespace gbrainy.Test.Core
{
[TestFixture]
public class PlayerPersonalRecordTest : UnitTestSupport
diff --git a/tests/Core/PreferencesTest.cs b/tests/Core/PreferencesTest.cs
index 1b86ddd..6e29a69 100644
--- a/tests/Core/PreferencesTest.cs
+++ b/tests/Core/PreferencesTest.cs
@@ -23,7 +23,7 @@ using NUnit.Framework;
using gbrainy.Core.Main;
-namespace gbrainyTest
+namespace gbrainy.Test.Core
{
[TestFixture]
public class PreferencesTest : UnitTestSupport
diff --git a/tests/Games/Logic/PuzzleNumericRelationTest.cs b/tests/Games/Logic/PuzzleNumericRelationTest.cs
index 7d7d8ee..f949326 100644
--- a/tests/Games/Logic/PuzzleNumericRelationTest.cs
+++ b/tests/Games/Logic/PuzzleNumericRelationTest.cs
@@ -22,7 +22,7 @@ using NUnit.Framework;
using gbrainy.Games.Logic;
-namespace gbrainyTest.Games.Logic
+namespace gbrainy.Test.Games.Logic
{
[TestFixture]
public class PuzzleNumericRelationTest : UnitTestSupport
diff --git a/tests/TestSupport/UnitTestSupport.cs b/tests/TestSupport/UnitTestSupport.cs
index cb61cd7..29701aa 100644
--- a/tests/TestSupport/UnitTestSupport.cs
+++ b/tests/TestSupport/UnitTestSupport.cs
@@ -24,7 +24,7 @@ using gbrainy.Core.Main;
using gbrainy.Core.Services;
using gbrainy.Core.Libraries;
-namespace gbrainyTest
+namespace gbrainy.Test
{
public class UnitTestSupport
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]