Bug 534312 - Fix test for DistributedProperty

 - correct the test

Change-Id: If8a1676bb9c886c0ec4eda15b813bf15a063ae72
Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/DistributedPropertyTypedByModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/DistributedPropertyTypedByModelConstraintTest.java
index c26f9dd..e241e40 100644
--- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/DistributedPropertyTypedByModelConstraintTest.java
+++ b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/DistributedPropertyTypedByModelConstraintTest.java
@@ -63,10 +63,10 @@
 		Class block = model.createOwnedClass("Block", false);
 		StereotypeApplicationHelper.getInstance(null).applyStereotype(block, BlocksPackage.eINSTANCE.getBlock());
 		
-		Property validDistributedProperty = clazz.createOwnedAttribute("validDistributedProperty", block);
+		Property validDistributedProperty = block.createOwnedAttribute("validDistributedProperty", null);
 		StereotypeApplicationHelper.getInstance(null).applyStereotype(validDistributedProperty, BlocksPackage.eINSTANCE.getDistributedProperty());
 
-		Property invalidDistributedProperty = clazz.createOwnedAttribute("invalidDistributedProperty", clazz);
+		Property invalidDistributedProperty = clazz.createOwnedAttribute("invalidDistributedProperty", null);
 		StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidDistributedProperty, BlocksPackage.eINSTANCE.getDistributedProperty());	
 		
 		TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet);
diff --git a/core/pom.xml b/core/pom.xml
index 6acd8d0..fc781fa 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -10,7 +10,7 @@
 	<artifactId>org.eclipse.papyrus.sysml14.core</artifactId>
 	<packaging>pom</packaging>
 	<name>SysML Core</name>
-	<description>SysML Core contains all semantic information for SysML 1.4 profile. These modules should'nt contain any gui elements.</description>
+	<description>SysML Core contains all semantic information for SysML 1.4 profile. These modules shouldn't contain any gui elements.</description>
 	<modules>
 		<module>org.eclipse.papyrus.sysml14</module>
 		<module>org.eclipse.papyrus.sysml14.tests</module>