blob: 528a3754e91bae7e32284b2a8907d1b4432bb056 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<test:TestSuite xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:fcore="http://www.eclipse.org/egf/1.0.0/fcore" xmlns:test="http://www.eclipse.org/egf/1.0.0/test" name="Pattern Test Suite">
<tests xsi:type="test:TestSuite" name="Inheritance">
<tests xsi:type="test:EGFTestCase" name="inheritance_1">
<result xsi:type="test:ConsoleOutputTestResult" text="loop finished:&#xA;fromChild : GenModel&#xA;loop finished:&#xA;fromChild : GenPackage&#xA;loop finished:&#xA;fromChild : GenClass&#xA;loop finished:&#xA;fromChild : GenFeature&#xA;loop finished:&#xA;fromChild : GenBase&#xA;loop finished:&#xA;fromChild : GenEnum&#xA;loop finished:&#xA;fromChild : GenEnumLiteral&#xA;loop finished:&#xA;fromChild : GenClassifier&#xA;loop finished:&#xA;fromChild : GenDataType&#xA;loop finished:&#xA;fromChild : GenOperation&#xA;loop finished:&#xA;fromChild : GenParameter&#xA;loop finished:&#xA;fromChild : GenTypedElement&#xA;loop finished:&#xA;fromChild : GenAnnotation&#xA;loop finished:&#xA;fromChild : GenTypeParameter&#xA;exec finished:&#xA;fromChild : GenModelfromChild : GenPackagefromChild : GenClassfromChild : GenFeaturefromChild : GenBasefromChild : GenEnumfromChild : GenEnumLiteralfromChild : GenClassifierfromChild : GenDataTypefromChild : GenOperationfromChild : GenParameterfromChild : GenTypedElementfromChild : GenAnnotationfromChild : GenTypeParameter&#xA;"/>
<activity xsi:type="fcore:FactoryComponent" href="../fc/inheritance_1.fcore#_XB1QoBshEd-L7sk1dmRWLg"/>
</tests>
<tests xsi:type="test:EGFTestCase" name="inheritance_2">
<result xsi:type="test:ConsoleOutputTestResult" text="loop finished:&#xA;fromChild : GenModel fromInjected : copyrightText fromInjected : modelDirectory fromInjected : creationCommands fromInjected : creationIcons fromInjected : creationSubmenus fromInjected : editDirectory fromInjected : editorDirectory fromInjected : modelPluginID fromInjected : templateDirectory fromInjected : runtimeJar fromInjected : foreignModel fromInjected : dynamicTemplates fromInjected : redirection fromInjected : forceOverwrite fromInjected : nonExternalizedStringTag fromInjected : modelName fromInjected : modelPluginClass fromInjected : editPluginClass fromInjected : editorPluginClass fromInjected : updateClasspath fromInjected : generateSchema fromInjected : nonNLSMarkers fromInjected : staticPackages fromInjected : modelPluginVariables fromInjected : rootExtendsInterface fromInjected : rootExtendsClass fromInjected : rootImplementsInterface fromInjected : suppressEMFTypes fromInjected : suppressEMFMetaData fromInjected : suppressEMFModelTags fromInjected : suppressInterfaces fromInjected : featureMapWrapperInterface fromInjected : featureMapWrapperInternalInterface fromInjected : featureMapWrapperClass fromInjected : runtimeCompatibility fromInjected : richClientPlatform fromInjected : reflectiveDelegation fromInjected : codeFormatting fromInjected : testsDirectory fromInjected : testSuiteClass fromInjected : booleanFlagsField fromInjected : booleanFlagsReservedBits fromInjected : importerID fromInjected : bundleManifest fromInjected : featureDelegation fromInjected : containmentProxies fromInjected : minimalReflectiveMethods fromInjected : suppressContainment fromInjected : suppressNotification fromInjected : arrayAccessors fromInjected : suppressUnsettable fromInjected : facadeHelperClass fromInjected : complianceLevel fromInjected : suppressGenModelAnnotations fromInjected : copyrightFields fromInjected : binaryCompatibleReflectiveMethods fromInjected : publicConstructors fromInjected : templatePluginVariables fromInjected : providerRootExtendsClass fromInjected : editPluginID fromInjected : editPluginVariables fromInjected : editorPluginID fromInjected : editorPluginVariables fromInjected : testsPluginID fromInjected : testsPluginVariables fromInjected : optimizedHasChildren fromInjected : tableProviders fromInjected : colorProviders fromInjected : fontProviders fromInjected : runtimeVersion fromInjected : language fromInjected : packedEnums fromInjected : interfaceNamePattern fromInjected : classNamePattern&#xA;loop finished:&#xA;fromChild : GenPackage fromInjected : prefix fromInjected : basePackage fromInjected : resource fromInjected : disposableProviderFactory fromInjected : adapterFactory fromInjected : loadInitialization fromInjected : interfacePackageSuffix fromInjected : metaDataPackageSuffix fromInjected : classPackageSuffix fromInjected : utilityPackageSuffix fromInjected : providerPackageSuffix fromInjected : presentationPackageSuffix fromInjected : testsPackageSuffix fromInjected : generateExampleClass fromInjected : literalsInterface fromInjected : dataTypeConverters fromInjected : multipleEditorPages fromInjected : generateModelWizard fromInjected : extensibleProviderFactory fromInjected : childCreationExtenders fromInjected : contentTypeIdentifier fromInjected : fileExtensions&#xA;loop finished:&#xA;fromChild : GenClass fromInjected : provider fromInjected : image fromInjected : dynamic&#xA;loop finished:&#xA;fromChild : GenFeature fromInjected : property fromInjected : notify fromInjected : children fromInjected : createChild fromInjected : propertyCategory fromInjected : propertyFilterFlags fromInjected : propertyDescription fromInjected : propertyMultiLine fromInjected : propertySortChoices&#xA;loop finished:&#xA;fromChild : GenBase&#xA;loop finished:&#xA;fromChild : GenEnum fromInjected : typeSafeEnumCompatible&#xA;loop finished:&#xA;fromChild : GenEnumLiteral&#xA;loop finished:&#xA;fromChild : GenClassifier&#xA;loop finished:&#xA;fromChild : GenDataType&#xA;loop finished:&#xA;fromChild : GenOperation&#xA;loop finished:&#xA;fromChild : GenParameter&#xA;loop finished:&#xA;fromChild : GenTypedElement&#xA;loop finished:&#xA;fromChild : GenAnnotation fromInjected : source&#xA;loop finished:&#xA;fromChild : GenTypeParameter&#xA;exec finished:&#xA;fromChild : GenModel fromInjected : copyrightText fromInjected : modelDirectory fromInjected : creationCommands fromInjected : creationIcons fromInjected : creationSubmenus fromInjected : editDirectory fromInjected : editorDirectory fromInjected : modelPluginID fromInjected : templateDirectory fromInjected : runtimeJar fromInjected : foreignModel fromInjected : dynamicTemplates fromInjected : redirection fromInjected : forceOverwrite fromInjected : nonExternalizedStringTag fromInjected : modelName fromInjected : modelPluginClass fromInjected : editPluginClass fromInjected : editorPluginClass fromInjected : updateClasspath fromInjected : generateSchema fromInjected : nonNLSMarkers fromInjected : staticPackages fromInjected : modelPluginVariables fromInjected : rootExtendsInterface fromInjected : rootExtendsClass fromInjected : rootImplementsInterface fromInjected : suppressEMFTypes fromInjected : suppressEMFMetaData fromInjected : suppressEMFModelTags fromInjected : suppressInterfaces fromInjected : featureMapWrapperInterface fromInjected : featureMapWrapperInternalInterface fromInjected : featureMapWrapperClass fromInjected : runtimeCompatibility fromInjected : richClientPlatform fromInjected : reflectiveDelegation fromInjected : codeFormatting fromInjected : testsDirectory fromInjected : testSuiteClass fromInjected : booleanFlagsField fromInjected : booleanFlagsReservedBits fromInjected : importerID fromInjected : bundleManifest fromInjected : featureDelegation fromInjected : containmentProxies fromInjected : minimalReflectiveMethods fromInjected : suppressContainment fromInjected : suppressNotification fromInjected : arrayAccessors fromInjected : suppressUnsettable fromInjected : facadeHelperClass fromInjected : complianceLevel fromInjected : suppressGenModelAnnotations fromInjected : copyrightFields fromInjected : binaryCompatibleReflectiveMethods fromInjected : publicConstructors fromInjected : templatePluginVariables fromInjected : providerRootExtendsClass fromInjected : editPluginID fromInjected : editPluginVariables fromInjected : editorPluginID fromInjected : editorPluginVariables fromInjected : testsPluginID fromInjected : testsPluginVariables fromInjected : optimizedHasChildren fromInjected : tableProviders fromInjected : colorProviders fromInjected : fontProviders fromInjected : runtimeVersion fromInjected : language fromInjected : packedEnums fromInjected : interfaceNamePattern fromInjected : classNamePatternfromChild : GenPackage fromInjected : prefix fromInjected : basePackage fromInjected : resource fromInjected : disposableProviderFactory fromInjected : adapterFactory fromInjected : loadInitialization fromInjected : interfacePackageSuffix fromInjected : metaDataPackageSuffix fromInjected : classPackageSuffix fromInjected : utilityPackageSuffix fromInjected : providerPackageSuffix fromInjected : presentationPackageSuffix fromInjected : testsPackageSuffix fromInjected : generateExampleClass fromInjected : literalsInterface fromInjected : dataTypeConverters fromInjected : multipleEditorPages fromInjected : generateModelWizard fromInjected : extensibleProviderFactory fromInjected : childCreationExtenders fromInjected : contentTypeIdentifier fromInjected : fileExtensionsfromChild : GenClass fromInjected : provider fromInjected : image fromInjected : dynamicfromChild : GenFeature fromInjected : property fromInjected : notify fromInjected : children fromInjected : createChild fromInjected : propertyCategory fromInjected : propertyFilterFlags fromInjected : propertyDescription fromInjected : propertyMultiLine fromInjected : propertySortChoicesfromChild : GenBasefromChild : GenEnum fromInjected : typeSafeEnumCompatiblefromChild : GenEnumLiteralfromChild : GenClassifierfromChild : GenDataTypefromChild : GenOperationfromChild : GenParameterfromChild : GenTypedElementfromChild : GenAnnotation fromInjected : sourcefromChild : GenTypeParameter&#xA;"/>
<activity xsi:type="fcore:FactoryComponent" href="../fc/inheritance_2.fcore#_mTlnECH-Ed-CStHKuCL0dg"/>
</tests>
<tests xsi:type="test:EGFTestCase" name="inheritance_3">
<result xsi:type="test:ConsoleOutputTestResult" text="loop finished:&#xA;//mywork on Employee&#xA;// child on Employee&#xA;//called on Employee&#xA;&#xA;loop finished:&#xA;//mywork on Company&#xA;// child on Company&#xA;//called on Company&#xA;&#xA;loop finished:&#xA;//mywork on Test&#xA;// child on Test&#xA;//called on Test&#xA;&#xA;exec finished:&#xA;//mywork on Employee&#xA;// child on Employee&#xA;//called on Employee&#xA;//mywork on Company&#xA;// child on Company&#xA;//called on Company&#xA;//mywork on Test&#xA;// child on Test&#xA;//called on Test&#xA;&#xA;"/>
<activity xsi:type="fcore:FactoryComponent" href="../fc/inheritance_3.fcore#_mQLQQCIKEd-l6L0LIketyw"/>
</tests>
<tests xsi:type="test:EGFTestCase" name="inheritance_4">
<result xsi:type="test:ConsoleOutputTestResult" text="loop finished:&#xA;// Pipo from parent//additional work on Employee&#xA;&#xA;loop finished:&#xA;// Pipo from parent//additional work on Company&#xA;&#xA;loop finished:&#xA;// Pipo from parent//additional work on Test&#xA;&#xA;exec finished:&#xA;// Pipo from parent//additional work on Employee&#xA;// Pipo from parent//additional work on Company&#xA;// Pipo from parent//additional work on Test&#xA;&#xA;"/>
<activity xsi:type="fcore:FactoryComponent" href="../fc/inheritance_4.fcore#_8e1X4CIXEd-XdOucj2euiQ"/>
</tests>
</tests>
<tests xsi:type="test:TestSuite" name="model driven strategy &amp; Callback">
<tests xsi:type="test:EGFTestCase" name="callback 1">
<result xsi:type="test:ConsoleOutputTestResult" text="loop finished:&#xA; Attribute name&#xA;&#xA;loop finished:&#xA; [class Employee]&#xA; [end class]&#xA;&#xA;loop finished:&#xA; Attribute name&#xA;&#xA;loop finished:&#xA; [class Company]&#xA; [end class]&#xA;&#xA;loop finished:&#xA; [class Test]&#xA; [end class]&#xA;&#xA;loop finished:&#xA;[Package mypackage]&#xA;[End Package]&#xA;&#xA;&#xA;&#xA;exec finished:&#xA;[Package mypackage]&#xA; [class Employee]&#xA; Attribute name&#xA; [end class]&#xA; [class Company]&#xA; Attribute name&#xA; [end class]&#xA; [class Test]&#xA; [end class]&#xA;[End Package]&#xA;&#xA;&#xA;&#xA;"/>
<activity xsi:type="fcore:FactoryComponent" href="../fc/callback_1.fcore#_KylW0SLHEd-n0OdkUfG5hQ"/>
</tests>
<tests xsi:type="test:EGFTestCase" name="callback 2">
<result xsi:type="test:ConsoleOutputTestResult" text="loop finished:&#xA;Package mypackage&#xA;&#xA;loop finished:&#xA;Class Employee&#xA;&#xA;loop finished:&#xA;Attribute name&#xA;&#xA;loop finished:&#xA;Class Company&#xA;&#xA;loop finished:&#xA;Attribute name&#xA;&#xA;loop finished:&#xA;Class Test&#xA;&#xA;exec finished:&#xA;Package mypackage&#xA;Class Employee&#xA;Attribute name&#xA;Class Company&#xA;Attribute name&#xA;Class Test&#xA;&#xA;"/>
<activity xsi:type="fcore:FactoryComponent" href="../fc/no_callback_1.fcore#_gUlg4CLhEd-F8rS2HRRtPA"/>
</tests>
</tests>
</test:TestSuite>