Package org.xtext.builddsl.build

Examples of org.xtext.builddsl.build.BuildFile


  public void testSelfDependency() {
    try {
      StringConcatenation _builder = new StringConcatenation();
      _builder.append("task Foo depends Foo {}");
      _builder.newLine();
      BuildFile _parse = this._parseHelper.parse(_builder);
      this._validationTestHelper.assertError(_parse, BuildPackage.Literals.TASK, BuildDSLValidator.CYCLIC_DEPENDENCY);
    } catch (Throwable _e) {
      throw Exceptions.sneakyThrow(_e);
    }
  }
View Full Code Here


      _builder.newLine();
      _builder.append("task Bar depends Baz {}");
      _builder.newLine();
      _builder.append("task Baz depends Foo {}");
      _builder.newLine();
      BuildFile _parse = this._parseHelper.parse(_builder);
      this._validationTestHelper.assertError(_parse, BuildPackage.Literals.TASK, BuildDSLValidator.CYCLIC_DEPENDENCY);
    } catch (Throwable _e) {
      throw Exceptions.sneakyThrow(_e);
    }
  }
View Full Code Here

      _builder.newLine();
      _builder.append("task Bar depends Baz {}");
      _builder.newLine();
      _builder.append("task Baz {}");
      _builder.newLine();
      BuildFile _parse = this._parseHelper.parse(_builder);
      this._validationTestHelper.assertNoError(_parse, BuildDSLValidator.CYCLIC_DEPENDENCY);
    } catch (Throwable _e) {
      throw Exceptions.sneakyThrow(_e);
    }
  }
View Full Code Here

TOP

Related Classes of org.xtext.builddsl.build.BuildFile

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.