Package at.bestsolution.efxclipse.tooling.rrobot.model.bundle

Examples of at.bestsolution.efxclipse.tooling.rrobot.model.bundle.FeatureProject


        public Boolean apply(final Project e) {
          return Boolean.valueOf((e instanceof FeatureProject));
        }
      };
    Project _findFirst = IterableExtensions.<Project>findFirst(_projects, _function);
    final FeatureProject plugin = ((FeatureProject) _findFirst);
    EList<Project> _projects_1 = robotTask.getProjects();
    final Function1<Project,Boolean> _function_1 = new Function1<Project,Boolean>() {
        public Boolean apply(final Project e) {
          return Boolean.valueOf((e instanceof BundleProject));
        }
      };
    Project _findFirst_1 = IterableExtensions.<Project>findFirst(_projects_1, _function_1);
    final BundleProject bundleProject = ((BundleProject) _findFirst_1);
    ManifestFile _manifest = bundleProject.getManifest();
    final String symbolicName = _manifest.getSymbolicname();
    JemmyLaunchDef _jemmyLaunchDef = new JemmyLaunchDef();
    final JemmyLaunchDef launchDef = _jemmyLaunchDef;
    String _plus = (symbolicName + ".jemmy.TestSuite");
    launchDef.setJunitClassName(_plus);
    String _name = bundleProject.getName();
    String _plus_1 = (_name + ".jemmy");
    launchDef.setProjectName(_plus_1);
    String _plus_2 = (symbolicName + ".product");
    launchDef.setTestProductId(_plus_2);
    FeatureFile _feature = plugin.getFeature();
    EList<FeaturePlugin> _plugins = _feature.getPlugins();
    for (final FeaturePlugin fp : _plugins) {
      String _id = fp.getId();
      boolean _equals = symbolicName.equals(_id);
      if (_equals) {
View Full Code Here


        public Boolean apply(final Project e) {
          return Boolean.valueOf((e instanceof FeatureProject));
        }
      };
    Project _findFirst = IterableExtensions.<Project>findFirst(_projects, _function);
    final FeatureProject plugin = ((FeatureProject) _findFirst);
    EList<Project> _projects_1 = robotTask.getProjects();
    final Function1<Project,Boolean> _function_1 = new Function1<Project,Boolean>() {
        public Boolean apply(final Project e) {
          return Boolean.valueOf((e instanceof BundleProject));
        }
      };
    Project _findFirst_1 = IterableExtensions.<Project>findFirst(_projects_1, _function_1);
    final BundleProject bundleProject = ((BundleProject) _findFirst_1);
    ManifestFile _manifest = bundleProject.getManifest();
    final String symbolicName = _manifest.getSymbolicname();
    String _name = bundleProject.getName();
    launchDef.setProjectName(_name);
    boolean _notEquals = (!Objects.equal(plugin, null));
    if (_notEquals) {
      FeatureFile _feature = plugin.getFeature();
      EList<FeaturePlugin> _plugins = _feature.getPlugins();
      for (final FeaturePlugin fp : _plugins) {
        String _id = fp.getId();
        boolean _equals = symbolicName.equals(_id);
        if (_equals) {
View Full Code Here

TOP

Related Classes of at.bestsolution.efxclipse.tooling.rrobot.model.bundle.FeatureProject

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.