2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
////var aa = 1;
|
2014-10-23 02:34:00 +02:00
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
////function testFunction(/*parameterName1*/
|
2014-10-23 02:34:00 +02:00
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
////function testFunction(a/*parameterName2*/
|
2014-10-23 02:34:00 +02:00
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
////function testFunction(a, /*parameterName3*/
|
2014-10-23 02:34:00 +02:00
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
////function testFunction(a, b/*parameterName4*/
|
2014-10-23 02:34:00 +02:00
|
|
|
|
2015-01-21 00:26:14 +01:00
|
|
|
////class bar5{ constructor(public /*constructorParamter1*/
|
2014-10-23 02:34:00 +02:00
|
|
|
|
2015-01-21 00:26:14 +01:00
|
|
|
////class bar6{ constructor(public a/*constructorParamter2*/
|
2014-10-23 02:34:00 +02:00
|
|
|
|
2015-01-22 02:43:13 +01:00
|
|
|
////class bar7{ constructor(protected a/*constructorParamter3*/
|
2014-10-23 02:34:00 +02:00
|
|
|
|
2015-01-22 02:43:13 +01:00
|
|
|
////class bar8{ constructor(private a/*constructorParamter4*/
|
2014-10-23 02:34:00 +02:00
|
|
|
|
2015-01-22 02:43:13 +01:00
|
|
|
////class bar9{ constructor(.../*constructorParamter5*/
|
|
|
|
|
|
|
|
////class bar10{ constructor(...a/*constructorParamter6*/
|
2014-10-23 02:34:00 +02:00
|
|
|
|
2017-06-05 23:54:14 +02:00
|
|
|
for (let i = 1; i <= 4; i++) {
|
|
|
|
goTo.marker("parameterName" + i.toString());
|
|
|
|
verify.completionListIsEmpty();
|
|
|
|
}
|
|
|
|
|
|
|
|
for (let i = 1; i <= 4; i++) {
|
|
|
|
goTo.marker("constructorParamter" + i.toString());
|
|
|
|
verify.completionListContainsConstructorParameterKeywords();
|
|
|
|
verify.completionListCount(verify.allowedConstructorParameterKeywords.length);
|
|
|
|
}
|
|
|
|
|
|
|
|
for (let i = 5; i <= 6; i++) {
|
|
|
|
goTo.marker("constructorParamter" + i.toString());
|
|
|
|
verify.completionListIsEmpty();
|
|
|
|
}
|