Package no.hal.jex.jextest.jexTest

Examples of no.hal.jex.jextest.jexTest.StateTestContext


          EList<JvmFormalParameter> _parameters = it.getParameters();
          String _string = XbaseScopeProvider.IT.toString();
          JvmFormalParameter _parameter = JexTestJvmModelInferrer.this._jvmTypesBuilder.toParameter(context, _string, instanceType);
          JexTestJvmModelInferrer.this._jvmTypesBuilder.<JvmFormalParameter>operator_add(_parameters, _parameter);
        }
        StateTestContext stateTestContext = innerStateTestContext;
        if ((stateTestContext instanceof StateFunction)) {
          EList<Parameter> _parameters_1 = ((StateFunction) stateTestContext).getParameters();
          JexTestJvmModelInferrer.this.initParameters(it, _parameters_1);
          StateTestContext _ancestor = JexTestJvmModelInferrer.this._util.<StateTestContext>ancestor(stateTestContext, StateTestContext.class);
          stateTestContext = _ancestor;
        }
        if ((stateTestContext instanceof JexTestSequence)) {
          EList<Instance> _instances = ((JexTestSequence) stateTestContext).getInstances();
          for (final Instance instance : _instances) {
View Full Code Here


      boolean _notEquals = (!Objects.equal(instanceName, null));
      if (_notEquals) {
        appendable.append(instanceName);
        separator = ", ";
      }
      StateTestContext stateTestContext = this._util.<StateTestContext>ancestor(eObject, StateTestContext.class);
      if ((stateTestContext instanceof StateFunction)) {
        EList<Parameter> _parameters = ((StateFunction) stateTestContext).getParameters();
        final Function1<Parameter,String> _function = new Function1<Parameter,String>() {
          public String apply(final Parameter it) {
            String _name = it.getName();
            return _name;
          }
        };
        String _join = IterableExtensions.<Parameter>join(_parameters, separator, ", ", "", _function);
        appendable.append(_join);
        StateTestContext _ancestor = this._util.<StateTestContext>ancestor(stateTestContext, StateTestContext.class);
        stateTestContext = _ancestor;
      }
      if ((stateTestContext instanceof JexTestSequence)) {
        EList<Instance> _instances = ((JexTestSequence) stateTestContext).getInstances();
        final Function1<Instance,String> _function_1 = new Function1<Instance,String>() {
View Full Code Here

    appendable.newLine();
  }
 
  public void inferPropertiesTestMethods(final PropertiesTest pt, final JvmGenericType jvmClass) {
    final JvmTypeReference returnType = this._jvmTypesBuilder.newTypeRef(pt, void.class);
    StateTestContext _ancestor = this._util.<StateTestContext>ancestor(pt, StateTestContext.class);
    String _relativeName = this._util.<StateTestContext>relativeName(pt, StateTestContext.class);
    String _plus = ("_test_" + _relativeName);
    final JvmOperation propertiesMethod = this.inferTestHelperMethod(_ancestor, _plus, returnType, ((EObject) pt));
    this._iJvmModelAssociator.associateLogicalContainer(pt, propertiesMethod);
    final Procedure1<ITreeAppendable> _function = new Procedure1<ITreeAppendable>() {
View Full Code Here

TOP

Related Classes of no.hal.jex.jextest.jexTest.StateTestContext

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.