Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Testing the Syntax/Semantic highlights
Testing the Syntax/Semantic highlights [message #1696383] Tue, 26 May 2015 04:58 Go to next message
Eclipse UserFriend
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 06:28 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Testing the Syntax/Semantic highlights [message #1795327 is a reply to message #1696407] Thu, 20 September 2018 07:40 Go to previous message
Eclipse UserFriend
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 Jun 14 21:05:05 EDT 2025

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

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

Back to the top