Skip to content

Commit

Permalink
Dump Xtext-Version
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Eysholdt <[email protected]>
  • Loading branch information
meysholdt committed Jun 30, 2017
1 parent 9d85301 commit d7286d2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions org.xpect.tests/src/org/xpect/tests/runner/RunnerTest.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.xpect.tests.runner;

import org.eclipse.xtext.util.XtextVersion;
import org.junit.runner.RunWith;
import org.xpect.expectation.IStringExpectation;
import org.xpect.expectation.StringExpectation;
Expand All @@ -11,6 +12,11 @@
@RunWith(XpectRunner.class)
@XpectSuiteClasses(XpectTestResultTest.class)
public class RunnerTest {

static {
System.out.println("Xtext-Version in Target Platform: " + XtextVersion.getCurrent().getVersion());
}

@Xpect
public void expectedExpectation(@StringExpectation IStringExpectation expectation) {
expectation.assertEquals("expectedExpectation");
Expand Down

0 comments on commit d7286d2

Please sign in to comment.