Q7

Nebula-grid assertions are broken: unsupported command is recorded.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3.6
  • Fix Version/s: 1.3.6
  • Component/s: Recording
  • Labels:
    None
  • Test Mode:
    Manual

Description

Select nebula grid (whole nebula grid) and try to assert any property (e.g. getColumns.number).
The following code is generated:

unsupported "Assert -id {0} -element NebulaGrid1 -attribute {columns[0].caption} -value {Name} -kind {equals} -valueType { eAnnotations={[org.eclipse.emf.ecore.impl.EAnnotationImpl@15506b (source: http:///org/eclipse/emf/ecore/util/ExtendedMetaData)]} name={EString} instanceClassName={java.lang.String} instanceClass={class java.lang.String} instanceTypeName={java.lang.String} ePackage={ name={ecore} nsURI={http://www.eclipse.org/emf/2002/Ecore} nsPrefix={ecore} eClassifiers={[org.eclipse.emf.ecore.impl.EClassImpl@183eae7 (name: EAttribute) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@1509f8b (name: EAnnotation) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@1a7a05 (name: EClass) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@40ff24 (name: EClassifier) (instanceClassName: null) (abstract: true, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@12e99be (name: EDataType) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@6fa22b (name: EEnum) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@ffeba4 (name: EEnumLiteral) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@1c78066 (name: EFactory) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@1ae3b4d (name: EModelElement) (instanceClassName: null) (abstract: true, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@10ddf0a (name: ENamedElement) (instanceClassName: null) (abstract: true, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@becf68 (name: EObject) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@122c082 (name: EOperation) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@8cbc51 (name: EPackage) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@19f6e39 (name: EParameter) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@1fd8905 (name: EReference) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@1b2f0c7 (name: EStructuralFeature) (instanceClassName: null) (abstract: true, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@ddab20 (name: ETypedElement) (instanceClassName: null) (abstract: true, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@2edea6 (name: EStringToStringMapEntry) (instanceClassName: java.util.Map$Entry) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@11b8e71 (name: EGenericType) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@249e4f (name: ETypeParameter) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EDataTypeImpl@1f6f58 (name: EBigDecimal) (instanceClassName: java.math.BigDecimal) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@12631a8 (name: EBigInteger) (instanceClassName: java.math.BigInteger) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@601ac7 (name: EBoolean) (instanceClassName: boolean) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@9d72bc (name: EBooleanObject) (instanceClassName: java.lang.Boolean) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@196236f (name: EByte) (instanceClassName: byte) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@1215d28 (name: EByteArray) (instanceClassName: byte[]) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@db3da3 (name: EByteObject) (instanceClassName: java.lang.Byte) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@2c91d0 (name: EChar) (instanceClassName: char) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@190d8d (name: ECharacterObject) (instanceClassName: java.lang.Character) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@1bcc86b (name: EDate) (instanceClassName: java.util.Date) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@10a0356 (name: EDiagnosticChain) (instanceClassName: org.eclipse.emf.common.util.DiagnosticChain) (serializable: false), org.eclipse.emf.ecore.impl.EDataTypeImpl@611b3a (name: EDouble) (instanceClassName: double) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@12da640 (name: EDoubleObject) (instanceClassName: java.lang.Double) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@21e40e (name: EEList) (instanceClassName: org.eclipse.emf.common.util.EList) (serializable: false), org.eclipse.emf.ecore.impl.EDataTypeImpl@17abb69 (name: EEnumerator) (instanceClassName: org.eclipse.emf.common.util.Enumerator) (serializable: false), org.eclipse.emf.ecore.impl.EDataTypeImpl@1ea3b28 (name: EFeatureMap) (instanceClassName: org.eclipse.emf.ecore.util.FeatureMap) (serializable: false), org.eclipse.emf.ecore.impl.EDataTypeImpl@d1c220 (name: EFeatureMapEntry) (instanceClassName: org.eclipse.emf.ecore.util.FeatureMap$Entry) (serializable: false), org.eclipse.emf.ecore.impl.EDataTypeImpl@11fee61 (name: EFloat) (instanceClassName: float) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@10a5de2 (name: EFloatObject) (instanceClassName: java.lang.Float) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@97a1fb (name: EInt) (instanceClassName: int) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@267012 (name: EIntegerObject) (instanceClassName: java.lang.Integer) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@b9ca64 (name: EJavaClass) (instanceClassName: java.lang.Class) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@474338 (name: EJavaObject) (instanceClassName: java.lang.Object) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@c44470 (name: ELong) (instanceClassName: long) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@ad7101 (name: ELongObject) (instanceClassName: java.lang.Long) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@5f2c33 (name: EMap) (instanceClassName: java.util.Map) (serializable: false), org.eclipse.emf.ecore.impl.EDataTypeImpl@3bf8c0 (name: EResource) (instanceClassName: org.eclipse.emf.ecore.resource.Resource) (serializable: false), org.eclipse.emf.ecore.impl.EDataTypeImpl@cd9465 (name: EResourceSet) (instanceClassName: org.eclipse.emf.ecore.resource.ResourceSet) (serializable: false), org.eclipse.emf.ecore.impl.EDataTypeImpl@c9aecb (name: EShort) (instanceClassName: short) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@1aa719d (name: EShortObject) (instanceClassName: java.lang.Short) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@10ba083 (name: EString) (instanceClassName: java.lang.String) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@1d19fb6 (name: ETreeIterator) (instanceClassName: org.eclipse.emf.common.util.TreeIterator) (serializable: false), org.eclipse.emf.ecore.impl.EDataTypeImpl@31d2e (name: EInvocationTargetException) (instanceClassName: java.lang.reflect.InvocationTargetException) (serializable: false)]}}} -showIndex {false}"
unsupported "Assert -id {0} -element NebulaGrid1 -attribute {columns[1].caption} -value {End} -kind {equals} -valueType { eAnnotations={[org.eclipse.emf.ecore.impl.EAnnotationImpl@15506b (source: http:///org/eclipse/emf/ecore/util/ExtendedMetaData)]} name={EString} instanceClassName={java.lang.String} instanceClass={class java.lang.String} instanceTypeName={java.lang.String} ePackage={ name={ecore} nsURI={http://www.eclipse.org/emf/2002/Ecore} nsPrefix={ecore} eClassifiers={[org.eclipse.emf.ecore.impl.EClassImpl@183eae7 (name: EAttribute) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@1509f8b (name: EAnnotation) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@1a7a05 (name: EClass) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@40ff24 (name: EClassifier) (instanceClassName: null) (abstract: true, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@12e99be (name: EDataType) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@6fa22b (name: EEnum) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@ffeba4 (name: EEnumLiteral) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@1c78066 (name: EFactory) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@1ae3b4d (name: EModelElement) (instanceClassName: null) (abstract: true, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@10ddf0a (name: ENamedElement) (instanceClassName: null) (abstract: true, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@becf68 (name: EObject) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@122c082 (name: EOperation) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@8cbc51 (name: EPackage) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@19f6e39 (name: EParameter) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@1fd8905 (name: EReference) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@1b2f0c7 (name: EStructuralFeature) (instanceClassName: null) (abstract: true, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@ddab20 (name: ETypedElement) (instanceClassName: null) (abstract: true, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@2edea6 (name: EStringToStringMapEntry) (instanceClassName: java.util.Map$Entry) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@11b8e71 (name: EGenericType) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EClassImpl@249e4f (name: ETypeParameter) (instanceClassName: null) (abstract: false, interface: false), org.eclipse.emf.ecore.impl.EDataTypeImpl@1f6f58 (name: EBigDecimal) (instanceClassName: java.math.BigDecimal) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@12631a8 (name: EBigInteger) (instanceClassName: java.math.BigInteger) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@601ac7 (name: EBoolean) (instanceClassName: boolean) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@9d72bc (name: EBooleanObject) (instanceClassName: java.lang.Boolean) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@196236f (name: EByte) (instanceClassName: byte) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@1215d28 (name: EByteArray) (instanceClassName: byte[]) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@db3da3 (name: EByteObject) (instanceClassName: java.lang.Byte) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@2c91d0 (name: EChar) (instanceClassName: char) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@190d8d (name: ECharacterObject) (instanceClassName: java.lang.Character) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@1bcc86b (name: EDate) (instanceClassName: java.util.Date) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@10a0356 (name: EDiagnosticChain) (instanceClassName: org.eclipse.emf.common.util.DiagnosticChain) (serializable: false), org.eclipse.emf.ecore.impl.EDataTypeImpl@611b3a (name: EDouble) (instanceClassName: double) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@12da640 (name: EDoubleObject) (instanceClassName: java.lang.Double) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@21e40e (name: EEList) (instanceClassName: org.eclipse.emf.common.util.EList) (serializable: false), org.eclipse.emf.ecore.impl.EDataTypeImpl@17abb69 (name: EEnumerator) (instanceClassName: org.eclipse.emf.common.util.Enumerator) (serializable: false), org.eclipse.emf.ecore.impl.EDataTypeImpl@1ea3b28 (name: EFeatureMap) (instanceClassName: org.eclipse.emf.ecore.util.FeatureMap) (serializable: false), org.eclipse.emf.ecore.impl.EDataTypeImpl@d1c220 (name: EFeatureMapEntry) (instanceClassName: org.eclipse.emf.ecore.util.FeatureMap$Entry) (serializable: false), org.eclipse.emf.ecore.impl.EDataTypeImpl@11fee61 (name: EFloat) (instanceClassName: float) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@10a5de2 (name: EFloatObject) (instanceClassName: java.lang.Float) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@97a1fb (name: EInt) (instanceClassName: int) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@267012 (name: EIntegerObject) (instanceClassName: java.lang.Integer) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@b9ca64 (name: EJavaClass) (instanceClassName: java.lang.Class) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@474338 (name: EJavaObject) (instanceClassName: java.lang.Object) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@c44470 (name: ELong) (instanceClassName: long) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@ad7101 (name: ELongObject) (instanceClassName: java.lang.Long) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@5f2c33 (name: EMap) (instanceClassName: java.util.Map) (serializable: false), org.eclipse.emf.ecore.impl.EDataTypeImpl@3bf8c0 (name: EResource) (instanceClassName: org.eclipse.emf.ecore.resource.Resource) (serializable: false), org.eclipse.emf.ecore.impl.EDataTypeImpl@cd9465 (name: EResourceSet) (instanceClassName: org.eclipse.emf.ecore.resource.ResourceSet) (serializable: false), org.eclipse.emf.ecore.impl.EDataTypeImpl@c9aecb (name: EShort) (instanceClassName: short) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@1aa719d (name: EShortObject) (instanceClassName: java.lang.Short) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@10ba083 (name: EString) (instanceClassName: java.lang.String) (serializable: true), org.eclipse.emf.ecore.impl.EDataTypeImpl@1d19fb6 (name: ETreeIterator) (instanceClassName: org.eclipse.emf.common.util.TreeIterator) (serializable: false), org.eclipse.emf.ecore.impl.EDataTypeImpl@31d2e (name: EInvocationTargetException) (instanceClassName: java.lang.reflect.InvocationTargetException) (serializable: false)]}}} -showIndex {false}"
unsupported "Assert -id {0} -element NebulaGrid1 -attribute {getColumns().length} -value {2} -kind {equals} -category {advanced} -showIndex {false}"
get-editor "04_Development Process (by Process Steps)" | get-nebula-grid | get-item "Requirements Management" 
    | get-property caption | equals "Requirements Management" | verify-true

Activity

Hide
Ulyana Skorokhodova added a comment - 29/Aug/13 12:57 PM

verified, thanks!

Show
Ulyana Skorokhodova added a comment - 29/Aug/13 12:57 PM verified, thanks!

People

Vote (0)
Watch (1)

Dates

  • Created:
    29/Aug/13 9:57 AM
    Updated:
    29/Aug/13 12:57 PM
    Resolved:
    29/Aug/13 10:49 AM