Author: spouliot
Date: 2008-01-27 20:27:14 -0500 (Sun, 27 Jan 2008)
New Revision: 94102

Modified:
   trunk/cecil/gendarme/rules/Gendarme.Rules.Design/Test/ChangeLog
   
trunk/cecil/gendarme/rules/Gendarme.Rules.Design/Test/TypesShouldBeInsideNamespacesTest.cs
Log:
2008-01-27  Sebastien Pouliot  <[EMAIL PROTECTED]>

        * TypesShouldBeInsideNamespacesTest.cs: Adapt nested types test 
        cases because we don't report them anymore.



Modified: trunk/cecil/gendarme/rules/Gendarme.Rules.Design/Test/ChangeLog
===================================================================
--- trunk/cecil/gendarme/rules/Gendarme.Rules.Design/Test/ChangeLog     
2008-01-28 01:24:21 UTC (rev 94101)
+++ trunk/cecil/gendarme/rules/Gendarme.Rules.Design/Test/ChangeLog     
2008-01-28 01:27:14 UTC (rev 94102)
@@ -1,3 +1,8 @@
+2008-01-27  Sebastien Pouliot  <[EMAIL PROTECTED]>
+
+       * TypesShouldBeInsideNamespacesTest.cs: Adapt nested types test 
+       cases because we don't report them anymore.
+
 2008-01-24  Sebastien Pouliot  <[EMAIL PROTECTED]>
 
        * ImplementEqualsAndGetHashCodeInPairTest.cs: Tests (updated and) 

Modified: 
trunk/cecil/gendarme/rules/Gendarme.Rules.Design/Test/TypesShouldBeInsideNamespacesTest.cs
===================================================================
--- 
trunk/cecil/gendarme/rules/Gendarme.Rules.Design/Test/TypesShouldBeInsideNamespacesTest.cs
  2008-01-28 01:24:21 UTC (rev 94101)
+++ 
trunk/cecil/gendarme/rules/Gendarme.Rules.Design/Test/TypesShouldBeInsideNamespacesTest.cs
  2008-01-28 01:27:14 UTC (rev 94102)
@@ -4,7 +4,7 @@
 // Authors:
 //     Sebastien Pouliot  <[EMAIL PROTECTED]>
 //
-// Copyright (C) 2007 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2007-2008 Novell, Inc (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining a copy
 // of this software and associated documentation files (the "Software"), to 
deal
@@ -114,10 +114,10 @@
                public void NestedOutsideNamespace ()
                {
                        TypeDefinition type = GetType 
("PublicTypeOutsideNamescape/NestedPublicTypeOutsideNamescape");
-                       Assert.IsNotNull (rule.CheckType (type, runner), 
"NestedPublicTypeInsideNamescape");
+                       Assert.IsNull (rule.CheckType (type, runner), 
"NestedPublicTypeOutsideNamescape");
 
                        type = GetType 
("PublicTypeOutsideNamescape/NestedProtectedTypeOutsideNamespace");
-                       Assert.IsNotNull (rule.CheckType (type, runner), 
"NestedProtectedTypeOutsideNamespace");
+                       Assert.IsNull (rule.CheckType (type, runner), 
"NestedProtectedTypeOutsideNamespace");
 
                        type = GetType 
("PublicTypeOutsideNamescape/NestedInternalTypeOutsideNamespace");
                        Assert.IsNull (rule.CheckType (type, runner), 
"NestedInternalTypeInsideNamespace");

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to