Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Green2013-12-05 17:45:43 +0000
committerDavid Green2013-12-05 17:46:13 +0000
commit31124d522308ed538b9ec79ea7cfdad5f8c83699 (patch)
tree7ab06d93144225906bcee4ac3c50e439b364a62a /org.eclipse.mylyn.tasks.tests
parent5cdfcd364c152ce5f8fc823bf70be96a51586002 (diff)
downloadorg.eclipse.mylyn.tasks-31124d522308ed538b9ec79ea7cfdad5f8c83699.tar.gz
org.eclipse.mylyn.tasks-31124d522308ed538b9ec79ea7cfdad5f8c83699.tar.xz
org.eclipse.mylyn.tasks-31124d522308ed538b9ec79ea7cfdad5f8c83699.zip
423351: DefaultTaskSchema should provide a kind for DESCRIPTION
Change-Id: Iff79470691caaec50e56f29f10e4d954115b9516 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=423351
Diffstat (limited to 'org.eclipse.mylyn.tasks.tests')
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/core/DefaultTaskSchemaTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/core/DefaultTaskSchemaTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/core/DefaultTaskSchemaTest.java
index f4215afb0..791095220 100644
--- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/core/DefaultTaskSchemaTest.java
+++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/core/DefaultTaskSchemaTest.java
@@ -93,4 +93,8 @@ public class DefaultTaskSchemaTest extends TestCase {
assertNotNull(testData.getRoot().getAttribute(TaskAttribute.ATTACHMENT_ID));
assertNotNull(testData.getRoot().getAttribute(TaskAttribute.SUMMARY));
}
+
+ public void testDescriptionHasKind() {
+ assertEquals(TaskAttribute.KIND_DESCRIPTION, DefaultTaskSchema.getInstance().DESCRIPTION.getKind());
+ }
}

Back to the top