This commit is contained in:
hossam-nasr 2023-11-13 21:38:07 -08:00
Родитель 1418032857
Коммит d4330a34a1
3 изменённых файлов: 11 добавлений и 3 удалений

Просмотреть файл

@ -16,7 +16,8 @@ export function getDotnetVerifiedTemplateIds(version: string): RegExp[] {
'ServiceBusTopicTrigger',
'ServiceBusQueueTrigger',
'CosmosDBTrigger',
'EventGridTrigger'
'EventGridTrigger',
'EventGridCloudEventTrigger',
];
if (version === FuncVersion.v1) {

Просмотреть файл

@ -81,6 +81,13 @@ function addSuite(version: FuncVersion, targetFramework: string, source: Templat
'TestCompany.TestFunction'
]
},
{
functionName: 'Event Grid Cloud Event trigger',
inputs: [
'TestCompany.TestFunction'
],
skip: isIsolated
},
{
functionName: 'Azure Event Hub trigger',
inputs: [

Просмотреть файл

@ -30,8 +30,8 @@ function addSuite(source: TemplateSource | undefined): void {
{ language: ProjectLanguage.JavaScript, version: FuncVersion.v4, expectedCount: 16 },
{ language: ProjectLanguage.CSharp, version: FuncVersion.v1, expectedCount: 12 },
{ language: ProjectLanguage.CSharp, version: FuncVersion.v2, expectedCount: 11 },
{ language: ProjectLanguage.CSharp, version: FuncVersion.v3, expectedCount: 12, projectTemplateKey: 'netcoreapp3.1' },
{ language: ProjectLanguage.CSharp, version: FuncVersion.v4, expectedCount: 12, projectTemplateKey: 'net6.0' },
{ language: ProjectLanguage.CSharp, version: FuncVersion.v3, expectedCount: 13, projectTemplateKey: 'netcoreapp3.1' },
{ language: ProjectLanguage.CSharp, version: FuncVersion.v4, expectedCount: 15, projectTemplateKey: 'net6.0' },
{ language: ProjectLanguage.CSharp, version: FuncVersion.v4, expectedCount: 10, projectTemplateKey: 'net6.0-isolated' },
{ language: ProjectLanguage.CSharp, version: FuncVersion.v4, expectedCount: 10, projectTemplateKey: 'net7.0-isolated' },
{ language: ProjectLanguage.Python, version: FuncVersion.v2, expectedCount: 12 },