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: 3
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:Can't create Run Configuration for testing RAP application
Next Topic:Open an external Browser At the end of a test
Goto Forum:
  


Current Time: Tue Jun 19 22:23:51 GMT 2018

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

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

Back to the top