Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Eysholdt2011-08-04 21:30:58 +0000
committerEd Merks2011-08-04 21:31:27 +0000
commit7faa72f64152278725edc960ce3e69de7043a404 (patch)
treec60711517717bc18d4756034368abeafe322ced7 /org.eclipse.emf.ecore.xcore.tests/src/org/eclipse/emf/ecore/xcore/tests/validation/Linking.xcore
parent8e64a1838b39485e9e8c8c789a290ffe7d38e6c7 (diff)
downloadorg.eclipse.emf-7faa72f64152278725edc960ce3e69de7043a404.tar.gz
org.eclipse.emf-7faa72f64152278725edc960ce3e69de7043a404.tar.xz
org.eclipse.emf-7faa72f64152278725edc960ce3e69de7043a404.zip
added early genmodel and validation tests
Diffstat (limited to 'org.eclipse.emf.ecore.xcore.tests/src/org/eclipse/emf/ecore/xcore/tests/validation/Linking.xcore')
-rw-r--r--org.eclipse.emf.ecore.xcore.tests/src/org/eclipse/emf/ecore/xcore/tests/validation/Linking.xcore10
1 files changed, 10 insertions, 0 deletions
diff --git a/org.eclipse.emf.ecore.xcore.tests/src/org/eclipse/emf/ecore/xcore/tests/validation/Linking.xcore b/org.eclipse.emf.ecore.xcore.tests/src/org/eclipse/emf/ecore/xcore/tests/validation/Linking.xcore
new file mode 100644
index 000000000..2464d1cd8
--- /dev/null
+++ b/org.eclipse.emf.ecore.xcore.tests/src/org/eclipse/emf/ecore/xcore/tests/validation/Linking.xcore
@@ -0,0 +1,10 @@
+package foo
+
+/* XPECT issues ---
+error for 'baz' message 'Couldn't resolve reference to GenBase 'baz'.'
+error for 'baz' message 'The feature 'type' of 'org.eclipse.emf.ecore.xcore.impl.XGenericTypeImpl@???' contains an unresolved proxy '???''
+error ' message 'A generic super type must refer to a class'
+---
+*/
+
+class bar extends baz {} \ No newline at end of file

Back to the top