Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto E. Escobar2014-10-02 22:35:49 +0000
committerRoberto E. Escobar2014-10-02 22:40:08 +0000
commit7e8ac5831af71812810a06ac4e743a504dfff492 (patch)
treeb462deb19fcebdbbb64b6313c92edbfa67852236
parent5b18f22867b981c75ae1010433d7941e98a8ad2e (diff)
downloadorg.eclipse.osee-7e8ac5831af71812810a06ac4e743a504dfff492.tar.gz
org.eclipse.osee-7e8ac5831af71812810a06ac4e743a504dfff492.tar.xz
org.eclipse.osee-7e8ac5831af71812810a06ac4e743a504dfff492.zip
refinement: Clean-up xtext warning
-rw-r--r--plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/internal/types/OrcsTypesTest.java2
-rw-r--r--plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/internal/types/testTypeModel.osee1
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/internal/types/OrcsTypesTest.java b/plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/internal/types/OrcsTypesTest.java
index a263c076549..8cc74422b45 100644
--- a/plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/internal/types/OrcsTypesTest.java
+++ b/plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/internal/types/OrcsTypesTest.java
@@ -515,7 +515,7 @@ public class OrcsTypesTest {
assertEquals(null, attrTypes.getDefaultValue(ANNOTATION));
assertEquals("<w:p xmlns:w=\"http://schemas.microsoft.com/office/word/2003/wordml\"><w:r><w:t></w:t></w:r></w:p>", attrTypes.getDefaultValue(WORDML));
assertEquals("this is a field", attrTypes.getDefaultValue(FIELD_1));
- assertEquals(null, attrTypes.getDefaultValue(FIELD_2));
+ assertEquals("field2", attrTypes.getDefaultValue(FIELD_2));
//@formatter:on
}
diff --git a/plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/internal/types/testTypeModel.osee b/plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/internal/types/testTypeModel.osee
index 18165813da5..3aa6fc02893 100644
--- a/plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/internal/types/testTypeModel.osee
+++ b/plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/internal/types/testTypeModel.osee
@@ -74,6 +74,7 @@ attributeType "Field 2" extends DateAttribute {
description "field 2 description"
fileExtension "hello"
mediaType "**"
+ defaultValue "field2"
}
relationType "Requirement Relation" {

Back to the top