Package org.eclipse.emf.ecore

Examples of org.eclipse.emf.ecore.EStructuralFeature


      int _size = diagnostics.size();
      Assert.assertEquals(_join, 2, _size);
      FeatureBasedDiagnostic _get = diagnostics.get(0);
      EObject _sourceEObject = _get.getSourceEObject();
      FeatureBasedDiagnostic _get_1 = diagnostics.get(0);
      EStructuralFeature _feature = _get_1.getFeature();
      Object _eGet = _sourceEObject.eGet(_feature);
      FeatureBasedDiagnostic _get_2 = diagnostics.get(0);
      int _index = _get_2.getIndex();
      Object _get_3 = ((List<?>) _eGet).get(_index);
      Assert.assertEquals(Option.INCLUDE_SOURCE, _get_3);
      FeatureBasedDiagnostic _get_4 = diagnostics.get(1);
      EObject _sourceEObject_1 = _get_4.getSourceEObject();
      FeatureBasedDiagnostic _get_5 = diagnostics.get(1);
      EStructuralFeature _feature_1 = _get_5.getFeature();
      Object _eGet_1 = _sourceEObject_1.eGet(_feature_1);
      FeatureBasedDiagnostic _get_6 = diagnostics.get(1);
      int _index_1 = _get_6.getIndex();
      Object _get_7 = ((List<?>) _eGet_1).get(_index_1);
      Assert.assertEquals(Option.INCLUDE_SOURCE, _get_7);
View Full Code Here


      EObject _sourceEObject = _get_1.getSourceEObject();
      Assert.assertEquals(_get, _sourceEObject);
      FeatureBasedDiagnostic _get_2 = diagnostics.get(0);
      EObject _sourceEObject_1 = _get_2.getSourceEObject();
      FeatureBasedDiagnostic _get_3 = diagnostics.get(0);
      EStructuralFeature _feature = _get_3.getFeature();
      Object _eGet = _sourceEObject_1.eGet(_feature);
      FeatureBasedDiagnostic _get_4 = diagnostics.get(0);
      int _index = _get_4.getIndex();
      Object _get_5 = ((List<?>) _eGet).get(_index);
      Assert.assertEquals(Option.INCLUDE_CONFIGURE_PHASE, _get_5);
      EList<TargetContent> _contents_1 = targetPlatform.getContents();
      TargetContent _get_6 = _contents_1.get(1);
      FeatureBasedDiagnostic _get_7 = diagnostics.get(1);
      EObject _sourceEObject_2 = _get_7.getSourceEObject();
      Assert.assertEquals(_get_6, _sourceEObject_2);
      FeatureBasedDiagnostic _get_8 = diagnostics.get(1);
      EObject _sourceEObject_3 = _get_8.getSourceEObject();
      FeatureBasedDiagnostic _get_9 = diagnostics.get(1);
      EStructuralFeature _feature_1 = _get_9.getFeature();
      Object _eGet_1 = _sourceEObject_3.eGet(_feature_1);
      FeatureBasedDiagnostic _get_10 = diagnostics.get(1);
      int _index_1 = _get_10.getIndex();
      Object _get_11 = ((List<?>) _eGet_1).get(_index_1);
      Assert.assertEquals(Option.INCLUDE_CONFIGURE_PHASE, _get_11);
View Full Code Here

          int _severity = it.getSeverity();
          Assert.assertEquals(Diagnostic.WARNING, _severity);
          EList<TargetContent> _contents = targetPlatform.getContents();
          TargetContent _get = _contents.get(1);
          EObject _sourceEObject = it.getSourceEObject();
          EStructuralFeature _feature = it.getFeature();
          Object _eGet = _sourceEObject.eGet(_feature);
          int _index = it.getIndex();
          Object _get_1 = ((List<?>) _eGet).get(_index);
          Assert.assertEquals(_get, _get_1);
        }
View Full Code Here

      int _severity = it.getSeverity();
      Assert.assertEquals(Diagnostic.WARNING, _severity);
      EList<TargetContent> _contents = targetPlatform.getContents();
      TargetContent _get = _contents.get(1);
      EObject _sourceEObject = it.getSourceEObject();
      EStructuralFeature _feature = it.getFeature();
      Object _eGet = _sourceEObject.eGet(_feature);
      int _index = it.getIndex();
      Object _get_1 = ((List<?>) _eGet).get(_index);
      Assert.assertEquals(_get, _get_1);
      FeatureBasedDiagnostic _get_2 = diagnostics.get(1);
      it = _get_2;
      String _issueCode_1 = it.getIssueCode();
      Assert.assertEquals(TargetPlatformValidator.CHECK__ENVIRONMENT_UNICITY, _issueCode_1);
      int _severity_1 = it.getSeverity();
      Assert.assertEquals(Diagnostic.WARNING, _severity_1);
      EList<TargetContent> _contents_1 = targetPlatform.getContents();
      TargetContent _get_3 = _contents_1.get(3);
      EObject _sourceEObject_1 = it.getSourceEObject();
      EStructuralFeature _feature_1 = it.getFeature();
      Object _eGet_1 = _sourceEObject_1.eGet(_feature_1);
      int _index_1 = it.getIndex();
      Object _get_4 = ((List<?>) _eGet_1).get(_index_1);
      Assert.assertEquals(_get_3, _get_4);
    } catch (Throwable _e) {
View Full Code Here

          int _severity = it.getSeverity();
          Assert.assertEquals(Diagnostic.WARNING, _severity);
          EList<TargetContent> _contents = targetPlatform.getContents();
          TargetContent _get = _contents.get(1);
          EObject _sourceEObject = it.getSourceEObject();
          EStructuralFeature _feature = it.getFeature();
          Object _eGet = _sourceEObject.eGet(_feature);
          int _index = it.getIndex();
          Object _get_1 = ((List<?>) _eGet).get(_index);
          Assert.assertEquals(_get, _get_1);
        }
View Full Code Here

      int _severity = it.getSeverity();
      Assert.assertEquals(Diagnostic.WARNING, _severity);
      EList<TargetContent> _contents = targetPlatform.getContents();
      TargetContent _get = _contents.get(1);
      EObject _sourceEObject = it.getSourceEObject();
      EStructuralFeature _feature = it.getFeature();
      Object _eGet = _sourceEObject.eGet(_feature);
      int _index = it.getIndex();
      Object _get_1 = ((List<?>) _eGet).get(_index);
      Assert.assertEquals(_get, _get_1);
      FeatureBasedDiagnostic _get_2 = diagnostics.get(1);
      it = _get_2;
      String _issueCode_1 = it.getIssueCode();
      Assert.assertEquals(TargetPlatformValidator.CHECK__OPTIONS_UNICITY, _issueCode_1);
      int _severity_1 = it.getSeverity();
      Assert.assertEquals(Diagnostic.WARNING, _severity_1);
      EList<TargetContent> _contents_1 = targetPlatform.getContents();
      TargetContent _get_3 = _contents_1.get(3);
      EObject _sourceEObject_1 = it.getSourceEObject();
      EStructuralFeature _feature_1 = it.getFeature();
      Object _eGet_1 = _sourceEObject_1.eGet(_feature_1);
      int _index_1 = it.getIndex();
      Object _get_4 = ((List<?>) _eGet_1).get(_index_1);
      Assert.assertEquals(_get_3, _get_4);
    } catch (Throwable _e) {
View Full Code Here

      Assert.assertEquals(Diagnostic.ERROR, _severity);
      Environment _environment = targetPlatform.getEnvironment();
      EList<String> _env = _environment.getEnv();
      String _get = _env.get(1);
      EObject _sourceEObject = it.getSourceEObject();
      EStructuralFeature _feature = it.getFeature();
      Object _eGet = _sourceEObject.eGet(_feature);
      int _index = it.getIndex();
      Object _get_1 = ((List<?>) _eGet).get(_index);
      Assert.assertEquals(_get, _get_1);
      FeatureBasedDiagnostic it_1 = diagnostics.get(1);
      String _issueCode_1 = it_1.getIssueCode();
      Assert.assertEquals(TargetPlatformValidator.CHECK__NO_DUPLICATE_ENVIRONMENT_OPTIONS, _issueCode_1);
      int _severity_1 = it_1.getSeverity();
      Assert.assertEquals(Diagnostic.ERROR, _severity_1);
      Environment _environment_1 = targetPlatform.getEnvironment();
      EList<String> _env_1 = _environment_1.getEnv();
      String _get_2 = _env_1.get(2);
      EObject _sourceEObject_1 = it_1.getSourceEObject();
      EStructuralFeature _feature_1 = it_1.getFeature();
      Object _eGet_1 = _sourceEObject_1.eGet(_feature_1);
      int _index_1 = it_1.getIndex();
      Object _get_3 = ((List<?>) _eGet_1).get(_index_1);
      Assert.assertEquals(_get_2, _get_3);
    } catch (Throwable _e) {
View Full Code Here

      EList<TargetContent> _contents = targetPlatform.getContents();
      TargetContent _get = _contents.get(0);
      EList<String> _env = ((Environment) _get).getEnv();
      String _get_1 = _env.get(1);
      EObject _sourceEObject = it.getSourceEObject();
      EStructuralFeature _feature = it.getFeature();
      Object _eGet = _sourceEObject.eGet(_feature);
      int _index = it.getIndex();
      Object _get_2 = ((List<?>) _eGet).get(_index);
      Assert.assertEquals(_get_1, _get_2);
      FeatureBasedDiagnostic it_1 = diagnostics.get(1);
      String _issueCode_1 = it_1.getIssueCode();
      Assert.assertEquals(TargetPlatformValidator.CHECK__NO_DUPLICATE_ENVIRONMENT_OPTIONS, _issueCode_1);
      int _severity_1 = it_1.getSeverity();
      Assert.assertEquals(Diagnostic.ERROR, _severity_1);
      EList<TargetContent> _contents_1 = targetPlatform.getContents();
      TargetContent _get_3 = _contents_1.get(1);
      EList<String> _env_1 = ((Environment) _get_3).getEnv();
      String _head = IterableExtensions.<String>head(_env_1);
      EObject _sourceEObject_1 = it_1.getSourceEObject();
      EStructuralFeature _feature_1 = it_1.getFeature();
      Object _eGet_1 = _sourceEObject_1.eGet(_feature_1);
      int _index_1 = it_1.getIndex();
      Object _get_4 = ((List<?>) _eGet_1).get(_index_1);
      Assert.assertEquals(_head, _get_4);
    } catch (Throwable _e) {
View Full Code Here

      int _size = diagnostics.size();
      Assert.assertEquals(_join, 2, _size);
      FeatureBasedDiagnostic _get = diagnostics.get(0);
      EObject _sourceEObject = _get.getSourceEObject();
      FeatureBasedDiagnostic _get_1 = diagnostics.get(0);
      EStructuralFeature _feature = _get_1.getFeature();
      Object _eGet = _sourceEObject.eGet(_feature);
      FeatureBasedDiagnostic _get_2 = diagnostics.get(0);
      int _index = _get_2.getIndex();
      Object _get_3 = ((List<?>) _eGet).get(_index);
      Assert.assertEquals("cocoa", _get_3);
      FeatureBasedDiagnostic _get_4 = diagnostics.get(1);
      EObject _sourceEObject_1 = _get_4.getSourceEObject();
      FeatureBasedDiagnostic _get_5 = diagnostics.get(1);
      EStructuralFeature _feature_1 = _get_5.getFeature();
      Object _eGet_1 = _sourceEObject_1.eGet(_feature_1);
      FeatureBasedDiagnostic _get_6 = diagnostics.get(1);
      int _index_1 = _get_6.getIndex();
      Object _get_7 = ((List<?>) _eGet_1).get(_index_1);
      Assert.assertEquals("cocoa", _get_7);
View Full Code Here

      EList<IU> _ius = _head_1.getIus();
      IU _head_2 = IterableExtensions.<IU>head(_ius);
      FeatureBasedDiagnostic _get = diagnostics.get(0);
      EObject _sourceEObject = _get.getSourceEObject();
      FeatureBasedDiagnostic _get_1 = diagnostics.get(0);
      EStructuralFeature _feature = _get_1.getFeature();
      Object _eGet = _sourceEObject.eGet(_feature);
      Object _get_2 = ((List<?>) _eGet).get(0);
      Assert.assertEquals(_head_2, _get_2);
      FeatureBasedDiagnostic _get_3 = diagnostics.get(0);
      int _severity = _get_3.getSeverity();
      Assert.assertEquals(Diagnostic.WARNING, _severity);
      EList<Location> _locations_1 = targetPlatform.getLocations();
      Location _get_4 = _locations_1.get(1);
      EList<IU> _ius_1 = _get_4.getIus();
      IU _head_3 = IterableExtensions.<IU>head(_ius_1);
      FeatureBasedDiagnostic _get_5 = diagnostics.get(1);
      EObject _sourceEObject_1 = _get_5.getSourceEObject();
      FeatureBasedDiagnostic _get_6 = diagnostics.get(1);
      EStructuralFeature _feature_1 = _get_6.getFeature();
      Object _eGet_1 = _sourceEObject_1.eGet(_feature_1);
      Object _get_7 = ((List<?>) _eGet_1).get(0);
      Assert.assertEquals(_head_3, _get_7);
      FeatureBasedDiagnostic _get_8 = diagnostics.get(1);
      int _severity_1 = _get_8.getSeverity();
View Full Code Here

TOP

Related Classes of org.eclipse.emf.ecore.EStructuralFeature

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.