aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.emf.ecore.xcore.tests/src/org/eclipse/emf/ecore/xcore/tests/genmodel/GenPackage1.xcore')
-rw-r--r--org.eclipse.emf.ecore.xcore.tests/src/org/eclipse/emf/ecore/xcore/tests/genmodel/GenPackage1.xcore22
1 files changed, 22 insertions, 0 deletions
diff --git a/org.eclipse.emf.ecore.xcore.tests/src/org/eclipse/emf/ecore/xcore/tests/genmodel/GenPackage1.xcore b/org.eclipse.emf.ecore.xcore.tests/src/org/eclipse/emf/ecore/xcore/tests/genmodel/GenPackage1.xcore
new file mode 100644
index 000000000..37c287d58
--- /dev/null
+++ b/org.eclipse.emf.ecore.xcore.tests/src/org/eclipse/emf/ecore/xcore/tests/genmodel/GenPackage1.xcore
@@ -0,0 +1,22 @@
+/* XPECT gen ---
+ GenPackage {
+ attr EString prefix 'Foo'
+ attr EBoolean disposableProviderFactory 'true'
+ ref EPackage ecorePackage 'foo' ref: EPackage@/1
+ ref GenModel genModel ref: GenModel@/2
+ cref GenClass genClasses [
+ 0: GenClass {
+ ref GenPackage genPackage ref: GenPackage@/2/foo
+ ref EClass ecoreClass 'Bar' ref: EClass@/1/Bar
+ }
+ ]
+ ref GenClassifier genClassifiers [
+ 0: GenClass@/2/foo/Bar
+ ]
+ }
+---
+*/
+
+package foo
+
+class Bar {} \ No newline at end of file