Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Testing the Syntax/Semantic highlights
Testing the Syntax/Semantic highlights [message #1696383] Tue, 26 May 2015 08:58 Go to next message
Eleanor Richie is currently offline Eleanor RichieFriend
Messages: 125
Registered: August 2014
Senior Member
I have created a lot of customizations in the syntax and semantic highlights.
I want to add some Junit tests to test the highlights. Can anyone help me start making tests that test the highlighting colors? I checked Xtext book but couldn't find it.
Re: Testing the Syntax/Semantic highlights [message #1696407 is a reply to message #1696383] Tue, 26 May 2015 10:28 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14062
Registered: July 2009
Senior Member
i dont know anything that can be used out of the box. you may dig into https://github.com/eclipse/xtext/blob/master/tests/org.eclipse.xtend.ide.tests/src/org/eclipse/xtend/ide/tests/highlighting/XtendHighlightingCalculatorTest.java

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Testing the Syntax/Semantic highlights [message #1795327 is a reply to message #1696407] Thu, 20 September 2018 11:40 Go to previous message
Tamas Miklossy is currently offline Tamas MiklossyFriend
Messages: 134
Registered: February 2016
Senior Member
The Xtext UI Test Infrastucture has been extended to enable the comfortable testing of the syntactical/semantical highlighting behaviour. See Xtext 2.15 Release Notes
Previous Topic:Operator == with null operand
Next Topic:String rule to support double quotes inside String
Goto Forum:
  


Current Time: Sat Sep 18 05:52:53 GMT 2021

Powered by FUDForum. Page generated in 0.01606 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top