Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduction of variables in lcdsl #73

Open
EaseRider opened this issue Sep 9, 2022 · 0 comments
Open

Introduction of variables in lcdsl #73

EaseRider opened this issue Sep 9, 2022 · 0 comments

Comments

@EaseRider
Copy link

I have the following configuration:

abstract swtbot configuration Base-UI-Test {
	product MyProduct;
	content-provider "${workspace_loc:MyProduct}/target/classes/product.product";
}
swtbot configuration My-Plugin-UI-Test : Base-UI-Test {
	plugin MyPlugin;
	workspace "${workspace_loc:/MyPlugin}/target/swt-workspace";
	
	test {
		runner junit4;
		container '/MyPlugin';
	}
}

and with variables I would like to be able to do something like this:

abstract swtbot configuration Base-UI-Test {
	product MyProduct;
	content-provider "${workspace_loc:MyProduct}/target/classes/product.product";
	
	workspace "${workspace_loc:/$testPlugin}/target/swt-workspace";
	
	test {
		runner junit4;
		container '/$testPlugin';
	}
}
swtbot configuration My-Plugin-UI-Test : Base-UI-Test {
	plugin MyPlugin;
	var testPlugin="MyPlugin";
}

I'm not sure what all is possible within the editor for pre validating the code.

Maybe it would even be possible in Non-String arguments for:
plugin $testPlugin;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant