59 references to NoHttps
Templates.Mvc.Tests (59)
BlazorTemplateTest.cs (1)
59
var expectedLaunchProfileNames = args.Contains(ArgConstants.
NoHttps
)
MvcTemplateTest.cs (14)
38
public async Task MvcTemplate_NoAuthNoHttpsFSharp() => await MvcTemplateCore(languageOverride: "F#", args: new[] { ArgConstants.
NoHttps
} );
46
public async Task MvcTemplate_NoAuthNoHttpsCSharp() => await MvcTemplateCore(languageOverride: null, new[] { ArgConstants.
NoHttps
});
54
public async Task MvcTemplate_ProgramMainNoAuthNoHttpsCSharp() => await MvcTemplateCore(languageOverride: null, new[] { ArgConstants.UseProgramMain, ArgConstants.
NoHttps
});
62
var noHttps = args?.Contains(ArgConstants.
NoHttps
) ?? false;
154
? new[] { ArgConstants.UseProgramMain, ArgConstants.
NoHttps
}
157
? new[] { ArgConstants.
NoHttps
}
328
[InlineData("IndividualB2C", new[] { ArgConstants.UseProgramMain, ArgConstants.
NoHttps
})]
329
[InlineData("IndividualB2C", new[] { ArgConstants.CalledApiUrlGraphMicrosoftCom, ArgConstants.CalledApiScopesUserReadWrite, ArgConstants.
NoHttps
})]
330
[InlineData("IndividualB2C", new[] { ArgConstants.UseProgramMain, ArgConstants.CalledApiUrlGraphMicrosoftCom, ArgConstants.CalledApiScopesUserReadWrite, ArgConstants.
NoHttps
})]
346
[InlineData("SingleOrg", new[] { ArgConstants.UseProgramMain, ArgConstants.
NoHttps
})]
347
[InlineData("SingleOrg", new[] { ArgConstants.CalledApiUrlGraphMicrosoftCom, ArgConstants.CalledApiScopesUserReadWrite, ArgConstants.
NoHttps
})]
348
[InlineData("SingleOrg", new[] { ArgConstants.UseProgramMain, ArgConstants.CalledApiUrlGraphMicrosoftCom, ArgConstants.CalledApiScopesUserReadWrite, ArgConstants.
NoHttps
})]
349
[InlineData("SingleOrg", new[] { ArgConstants.CallsGraph, ArgConstants.
NoHttps
})]
350
[InlineData("SingleOrg", new[] { ArgConstants.UseProgramMain, ArgConstants.CallsGraph, ArgConstants.
NoHttps
})]
RazorPagesTemplateTest.cs (12)
49
? new[] { ArgConstants.UseProgramMain, ArgConstants.
NoHttps
}
52
? new[] { ArgConstants.
NoHttps
}
142
? new[] { ArgConstants.UseProgramMain, ArgConstants.
NoHttps
}
145
? new[] { ArgConstants.
NoHttps
}
264
[InlineData("IndividualB2C", new[] { ArgConstants.UseProgramMain, ArgConstants.
NoHttps
})]
266
[InlineData("IndividualB2C", new[] { ArgConstants.CalledApiUrlGraphMicrosoftCom, ArgConstants.CalledApiScopesUserReadWrite, ArgConstants.
NoHttps
})]
268
[InlineData("IndividualB2C", new[] { ArgConstants.UseProgramMain, ArgConstants.CalledApiUrlGraphMicrosoftCom, ArgConstants.CalledApiScopesUserReadWrite, ArgConstants.
NoHttps
})]
275
[InlineData("SingleOrg", new[] { ArgConstants.UseProgramMain, ArgConstants.
NoHttps
})]
277
[InlineData("SingleOrg", new[] { ArgConstants.CalledApiUrlGraphMicrosoftCom, ArgConstants.CalledApiScopesUserReadWrite, ArgConstants.
NoHttps
})]
279
[InlineData("SingleOrg", new[] { ArgConstants.UseProgramMain, ArgConstants.CalledApiUrlGraphMicrosoftCom, ArgConstants.CalledApiScopesUserReadWrite, ArgConstants.
NoHttps
})]
285
[InlineData("SingleOrg", new[] { ArgConstants.CallsGraph, ArgConstants.
NoHttps
})]
286
[InlineData("SingleOrg", new[] { ArgConstants.UseProgramMain, ArgConstants.CallsGraph, ArgConstants.
NoHttps
})]
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (1)
63
var noHttps = args?.Contains(ArgConstants.
NoHttps
) ?? false;
WebApiTemplateTest.cs (31)
49
[InlineData("IndividualB2C", new[] { ArgConstants.
NoHttps
})]
50
[InlineData("IndividualB2C", new [] { ArgConstants.UseControllers, ArgConstants.
NoHttps
})]
51
[InlineData("IndividualB2C", new [] { ArgConstants.CalledApiUrlGraphMicrosoftCom, ArgConstants.CalledApiScopesUserReadWrite, ArgConstants.
NoHttps
})]
52
[InlineData("IndividualB2C", new [] { ArgConstants.UseControllers, ArgConstants.CalledApiUrlGraphMicrosoftCom, ArgConstants.CalledApiScopesUserReadWrite, ArgConstants.
NoHttps
})]
65
[InlineData("IndividualB2C", new [] { ArgConstants.UseProgramMain, ArgConstants.
NoHttps
})]
66
[InlineData("IndividualB2C", new [] { ArgConstants.UseProgramMain, ArgConstants.UseControllers, ArgConstants.
NoHttps
})]
67
[InlineData("IndividualB2C", new [] { ArgConstants.UseProgramMain, ArgConstants.CalledApiUrlGraphMicrosoftCom, ArgConstants.CalledApiScopesUserReadWrite, ArgConstants.
NoHttps
})]
68
[InlineData("IndividualB2C", new [] { ArgConstants.UseProgramMain, ArgConstants.UseControllers, ArgConstants.CalledApiUrlGraphMicrosoftCom, ArgConstants.CalledApiScopesUserReadWrite, ArgConstants.
NoHttps
})]
83
[InlineData("SingleOrg", new [] { ArgConstants.
NoHttps
})]
84
[InlineData("SingleOrg", new [] { ArgConstants.UseControllers, ArgConstants.
NoHttps
})]
85
[InlineData("SingleOrg", new [] { ArgConstants.CalledApiUrlGraphMicrosoftCom, ArgConstants.CalledApiScopesUserReadWrite, ArgConstants.
NoHttps
})]
86
[InlineData("SingleOrg", new [] { ArgConstants.UseControllers, ArgConstants.CalledApiUrlGraphMicrosoftCom, ArgConstants.CalledApiScopesUserReadWrite, ArgConstants.
NoHttps
})]
87
[InlineData("SingleOrg", new [] { ArgConstants.CallsGraph, ArgConstants.
NoHttps
})]
88
[InlineData("SingleOrg", new [] { ArgConstants.UseControllers, ArgConstants.CallsGraph, ArgConstants.
NoHttps
})]
104
[InlineData("SingleOrg", new [] { ArgConstants.UseProgramMain, ArgConstants.
NoHttps
})]
105
[InlineData("SingleOrg", new [] { ArgConstants.UseProgramMain, ArgConstants.UseControllers, ArgConstants.
NoHttps
})]
106
[InlineData("SingleOrg", new [] { ArgConstants.UseProgramMain, ArgConstants.CalledApiUrlGraphMicrosoftCom, ArgConstants.CalledApiScopesUserReadWrite, ArgConstants.
NoHttps
})]
107
[InlineData("SingleOrg", new [] { ArgConstants.UseProgramMain, ArgConstants.UseControllers, ArgConstants.CalledApiUrlGraphMicrosoftCom, ArgConstants.CalledApiScopesUserReadWrite, ArgConstants.
NoHttps
})]
108
[InlineData("SingleOrg", new [] { ArgConstants.UseProgramMain, ArgConstants.CallsGraph, ArgConstants.
NoHttps
})]
109
[InlineData("SingleOrg", new [] { ArgConstants.UseProgramMain, ArgConstants.UseControllers, ArgConstants.CallsGraph, ArgConstants.
NoHttps
})]
116
public Task WebApiTemplateNoHttpsFSharp() => WebApiTemplateCore(languageOverride: "F#", args: new[] { ArgConstants.
NoHttps
});
124
public Task WebApiTemplateNoHttpsCSharp() => WebApiTemplateCore(languageOverride: null, new[] { ArgConstants.
NoHttps
});
132
public Task WebApiTemplateProgramMainNoHttpsCSharp() => WebApiTemplateCore(languageOverride: null, args: new[] { ArgConstants.UseProgramMain, ArgConstants.
NoHttps
});
140
public Task WebApiTemplateControllersNoHttpsCSharp() => WebApiTemplateCore(languageOverride: null, args: new[] { ArgConstants.UseControllers, ArgConstants.
NoHttps
});
148
public Task WebApiTemplateProgramMainControllersNoHttpsCSharp() => WebApiTemplateCore(languageOverride: null, args: new[] { ArgConstants.UseProgramMain, ArgConstants.UseControllers, ArgConstants.
NoHttps
});
191
? new[] { ArgConstants.UseProgramMain, ArgConstants.UseControllers, ArgConstants.NoOpenApi, ArgConstants.
NoHttps
}
192
: new[] { ArgConstants.UseProgramMain, ArgConstants.NoOpenApi, ArgConstants.
NoHttps
}
194
? new[] { ArgConstants.UseControllers, ArgConstants.NoOpenApi, ArgConstants.
NoHttps
}
195
: new[] { ArgConstants.NoOpenApi, ArgConstants.
NoHttps
};
198
var noHttps = args.Contains(ArgConstants.
NoHttps
);
223
var noHttps = args?.Contains(ArgConstants.
NoHttps
) ?? false;