You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by fm...@apache.org on 2011/05/20 17:39:48 UTC

svn commit: r1125435 - in /chemistry/dotcmis/trunk: DotCMIS/client/client-objectfactory.cs DotCMIS/client/client-objects.cs DotCMIS/data/data-impl.cs DotCMIS/data/data-intf.cs DotCMISUnitTest/SmokeTest.cs DotCMISUnitTest/TestFramework.cs

Author: fmui
Date: Fri May 20 15:39:47 2011
New Revision: 1125435

URL: http://svn.apache.org/viewvc?rev=1125435&view=rev
Log:
fixed typo

Modified:
    chemistry/dotcmis/trunk/DotCMIS/client/client-objectfactory.cs
    chemistry/dotcmis/trunk/DotCMIS/client/client-objects.cs
    chemistry/dotcmis/trunk/DotCMIS/data/data-impl.cs
    chemistry/dotcmis/trunk/DotCMIS/data/data-intf.cs
    chemistry/dotcmis/trunk/DotCMISUnitTest/SmokeTest.cs
    chemistry/dotcmis/trunk/DotCMISUnitTest/TestFramework.cs

Modified: chemistry/dotcmis/trunk/DotCMIS/client/client-objectfactory.cs
URL: http://svn.apache.org/viewvc/chemistry/dotcmis/trunk/DotCMIS/client/client-objectfactory.cs?rev=1125435&r1=1125434&r2=1125435&view=diff
==============================================================================
--- chemistry/dotcmis/trunk/DotCMIS/client/client-objectfactory.cs (original)
+++ chemistry/dotcmis/trunk/DotCMIS/client/client-objectfactory.cs Fri May 20 15:39:47 2011
@@ -177,7 +177,7 @@ namespace DotCMIS.Client.Impl
                 throw new ArgumentNullException("objectType");
             }
 
-            if (objectType.PropertyDefintions == null)
+            if (objectType.PropertyDefinitions == null)
             {
                 throw new ArgumentException("Object type has no property defintions!");
             }

Modified: chemistry/dotcmis/trunk/DotCMIS/client/client-objects.cs
URL: http://svn.apache.org/viewvc/chemistry/dotcmis/trunk/DotCMIS/client/client-objects.cs?rev=1125435&r1=1125434&r2=1125435&view=diff
==============================================================================
--- chemistry/dotcmis/trunk/DotCMIS/client/client-objects.cs (original)
+++ chemistry/dotcmis/trunk/DotCMIS/client/client-objects.cs Fri May 20 15:39:47 2011
@@ -94,7 +94,7 @@ namespace DotCMIS.Client.Impl
                 throw new ArgumentNullException("objectType");
             }
 
-            if (objectType.PropertyDefintions == null || objectType.PropertyDefintions.Count < 9)
+            if (objectType.PropertyDefinitions == null || objectType.PropertyDefinitions.Count < 9)
             {
                 // there must be at least the 9 standard properties that all objects have
                 throw new ArgumentException("Object type must have property defintions!");

Modified: chemistry/dotcmis/trunk/DotCMIS/data/data-impl.cs
URL: http://svn.apache.org/viewvc/chemistry/dotcmis/trunk/DotCMIS/data/data-impl.cs?rev=1125435&r1=1125434&r2=1125435&view=diff
==============================================================================
--- chemistry/dotcmis/trunk/DotCMIS/data/data-impl.cs (original)
+++ chemistry/dotcmis/trunk/DotCMIS/data/data-impl.cs Fri May 20 15:39:47 2011
@@ -136,7 +136,7 @@ namespace DotCMIS.Data.Impl
                 return propertyDefinition;
             }
         }
-        public IList<IPropertyDefinition> PropertyDefintions
+        public IList<IPropertyDefinition> PropertyDefinitions
         {
             get
             {
@@ -163,9 +163,9 @@ namespace DotCMIS.Data.Impl
             IsControllableAcl = typeDefinition.IsControllableAcl;
 
 
-            if (typeDefinition.PropertyDefintions != null)
+            if (typeDefinition.PropertyDefinitions != null)
             {
-                foreach (IPropertyDefinition propDef in typeDefinition.PropertyDefintions)
+                foreach (IPropertyDefinition propDef in typeDefinition.PropertyDefinitions)
                 {
                     AddPropertyDefinition(propDef);
                 }

Modified: chemistry/dotcmis/trunk/DotCMIS/data/data-intf.cs
URL: http://svn.apache.org/viewvc/chemistry/dotcmis/trunk/DotCMIS/data/data-intf.cs?rev=1125435&r1=1125434&r2=1125435&view=diff
==============================================================================
--- chemistry/dotcmis/trunk/DotCMIS/data/data-intf.cs (original)
+++ chemistry/dotcmis/trunk/DotCMIS/data/data-intf.cs Fri May 20 15:39:47 2011
@@ -100,7 +100,7 @@ namespace DotCMIS.Data
         bool? IsControllablePolicy { get; }
         bool? IsControllableAcl { get; }
         IPropertyDefinition this[string propertyId] { get; }
-        IList<IPropertyDefinition> PropertyDefintions { get; }
+        IList<IPropertyDefinition> PropertyDefinitions { get; }
     }
 
     public interface IDocumentTypeDefinition : ITypeDefinition

Modified: chemistry/dotcmis/trunk/DotCMISUnitTest/SmokeTest.cs
URL: http://svn.apache.org/viewvc/chemistry/dotcmis/trunk/DotCMISUnitTest/SmokeTest.cs?rev=1125435&r1=1125434&r2=1125435&view=diff
==============================================================================
--- chemistry/dotcmis/trunk/DotCMISUnitTest/SmokeTest.cs (original)
+++ chemistry/dotcmis/trunk/DotCMISUnitTest/SmokeTest.cs Fri May 20 15:39:47 2011
@@ -59,8 +59,8 @@ namespace DotCMISUnitTest
             Assert.AreEqual(BaseTypeId.CmisDocument, documentType.BaseTypeId);
             Assert.True(documentType.IsBaseType);
             Assert.IsNullOrEmpty(documentType.ParentTypeId);
-            Assert.NotNull(documentType.PropertyDefintions);
-            Assert.True(documentType.PropertyDefintions.Count >= 9);
+            Assert.NotNull(documentType.PropertyDefinitions);
+            Assert.True(documentType.PropertyDefinitions.Count >= 9);
 
             IObjectType folderType = Session.GetTypeDefinition("cmis:folder");
             Assert.NotNull(folderType);
@@ -69,8 +69,8 @@ namespace DotCMISUnitTest
             Assert.AreEqual(BaseTypeId.CmisFolder, folderType.BaseTypeId);
             Assert.True(folderType.IsBaseType);
             Assert.IsNullOrEmpty(folderType.ParentTypeId);
-            Assert.NotNull(folderType.PropertyDefintions);
-            Assert.True(folderType.PropertyDefintions.Count >= 9);
+            Assert.NotNull(folderType.PropertyDefinitions);
+            Assert.True(folderType.PropertyDefinitions.Count >= 9);
 
             // getTypeChildren
             Session.Clear();
@@ -86,7 +86,7 @@ namespace DotCMISUnitTest
                 Assert.NotNull(type.Id);
                 Assert.True(type.IsBaseType);
                 Assert.IsNullOrEmpty(type.ParentTypeId);
-                Assert.NotNull(type.PropertyDefintions);
+                Assert.NotNull(type.PropertyDefinitions);
 
                 Session.Clear();
                 IObjectType type2 = Session.GetTypeDefinition(type.Id);
@@ -116,7 +116,7 @@ namespace DotCMISUnitTest
                 Assert.NotNull(type.Id);
                 Assert.True(type.IsBaseType);
                 Assert.IsNullOrEmpty(type.ParentTypeId);
-                Assert.NotNull(type.PropertyDefintions);
+                Assert.NotNull(type.PropertyDefinitions);
 
                 Session.Clear();
                 IObjectType type2 = Session.GetTypeDefinition(type.Id);

Modified: chemistry/dotcmis/trunk/DotCMISUnitTest/TestFramework.cs
URL: http://svn.apache.org/viewvc/chemistry/dotcmis/trunk/DotCMISUnitTest/TestFramework.cs?rev=1125435&r1=1125434&r2=1125435&view=diff
==============================================================================
--- chemistry/dotcmis/trunk/DotCMISUnitTest/TestFramework.cs (original)
+++ chemistry/dotcmis/trunk/DotCMISUnitTest/TestFramework.cs Fri May 20 15:39:47 2011
@@ -425,9 +425,9 @@ namespace DotCMISUnitTest
             Assert.AreEqual(expected.LocalName, actual.LocalName);
             Assert.AreEqual(expected.LocalNamespace, actual.LocalNamespace);
             Assert.AreEqual(expected.QueryName, actual.QueryName);
-            Assert.AreEqual(expected.PropertyDefintions.Count, actual.PropertyDefintions.Count);
+            Assert.AreEqual(expected.PropertyDefinitions.Count, actual.PropertyDefinitions.Count);
 
-            foreach (IPropertyDefinition propDef in expected.PropertyDefintions)
+            foreach (IPropertyDefinition propDef in expected.PropertyDefinitions)
             {
                 Assert.NotNull(propDef);
                 Assert.NotNull(propDef.Id);