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 online Christian DietrichFriend
Messages: 14665
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

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: 157
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: Fri Apr 26 16:29:06 GMT 2024

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

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

Back to the top