Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Annoying formatting issues
Annoying formatting issues [message #1787051] Thu, 17 May 2018 21:36
Violaine Batthish is currently offline Violaine BatthishFriend
Messages: 4
Registered: July 2009
Junior Member
There are a couple of formatting issues in the RCPTT testcase editor that are very annoying.
1. Strings with underscore as their first char get their quotes removed, causing syntax error:
Before:
concat "one string" "_underscore" "another string" | log

After:
concat "one string" _underscore "another string" | log


2. Really long lines can get split incorrectly, causing syntax errors:
Before:
concat $variable2 "another string" $variable2 "another string" $variable2 "another string" $variable2 "another string" $variable2 "another string" $variable2"another string" $variable2"another string" $variable2| log

After:
concat $variable2 "another string" $variable2 "another string" $variable2 "another string" $variable2 "another string"
	$variable2 "another string" $variable2 "another string" $variable2 "another string" $variable2 | log


3. This one is nit-picky, but nested commands and ifs get formatted in an ugly way
global [val rootUri // 
	[concat "workspace:/ProjectA/" // 
	[if [$useDefault | equals false] {
	emit "default"
} -else {
	concat [if [$is_version14] {
		emit "v14"
	} -else {
		emit "v9"
	}] "/"
}]]]



Previous Topic:restart-aut and wait-until-eclipse-is-ready stucks after a window is open
Next Topic:Test Runner: Target platform initialization failed
Goto Forum:
  


Current Time: Fri Apr 26 16:51:49 GMT 2024

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

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

Back to the top