Package fr.obeo.releng.targetplatform

Examples of fr.obeo.releng.targetplatform.TargetContent


      Assert.assertEquals("win32", _operatingSystem);
      Environment _environment_1 = targetPlatform.getEnvironment();
      String _windowingSystem = _environment_1.getWindowingSystem();
      Assert.assertEquals("win32", _windowingSystem);
      EList<TargetContent> _contents = targetPlatform.getContents();
      TargetContent _get = _contents.get(0);
      String _operatingSystem_1 = ((Environment) _get).getOperatingSystem();
      Assert.assertEquals("win32", _operatingSystem_1);
      EList<TargetContent> _contents_1 = targetPlatform.getContents();
      TargetContent _get_1 = _contents_1.get(0);
      String _windowingSystem_1 = ((Environment) _get_1).getWindowingSystem();
      Assert.assertEquals("win32", _windowingSystem_1);
      EList<TargetContent> _contents_2 = targetPlatform.getContents();
      TargetContent _get_2 = _contents_2.get(1);
      String _windowingSystem_2 = ((Environment) _get_2).getWindowingSystem();
      Assert.assertEquals("win32", _windowingSystem_2);
      EList<TargetContent> _contents_3 = targetPlatform.getContents();
      TargetContent _get_3 = _contents_3.get(1);
      String _operatingSystem_2 = ((Environment) _get_3).getOperatingSystem();
      Assert.assertEquals("win32", _operatingSystem_2);
    } catch (Throwable _e) {
      throw Exceptions.sneakyThrow(_e);
    }
View Full Code Here


      final List<FeatureBasedDiagnostic> diagnostics = IterableExtensions.<FeatureBasedDiagnostic>toList(_filter);
      String _join = IterableExtensions.join(diagnostics, ", ");
      int _size = diagnostics.size();
      Assert.assertEquals(_join, 2, _size);
      EList<TargetContent> _contents = targetPlatform.getContents();
      TargetContent _get = _contents.get(0);
      FeatureBasedDiagnostic _get_1 = diagnostics.get(0);
      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();
View Full Code Here

          String _issueCode = it.getIssueCode();
          Assert.assertEquals(TargetPlatformValidator.CHECK__ENVIRONMENT_UNICITY, _issueCode);
          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);
View Full Code Here

      String _issueCode = it.getIssueCode();
      Assert.assertEquals(TargetPlatformValidator.CHECK__ENVIRONMENT_UNICITY, _issueCode);
      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);
View Full Code Here

          String _issueCode = it.getIssueCode();
          Assert.assertEquals(TargetPlatformValidator.CHECK__OPTIONS_UNICITY, _issueCode);
          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);
View Full Code Here

      String _issueCode = it.getIssueCode();
      Assert.assertEquals(TargetPlatformValidator.CHECK__OPTIONS_UNICITY, _issueCode);
      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);
View Full Code Here

      String _issueCode = it.getIssueCode();
      Assert.assertEquals(TargetPlatformValidator.CHECK__NO_DUPLICATE_ENVIRONMENT_OPTIONS, _issueCode);
      int _severity = it.getSeverity();
      Assert.assertEquals(Diagnostic.ERROR, _severity);
      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);
View Full Code Here

TOP

Related Classes of fr.obeo.releng.targetplatform.TargetContent

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.