63 references to ResourceFile
Microsoft.AspNetCore.Mvc.FunctionalTests (63)
BasicTests.cs (10)
48await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile, sourceFile: false); 58ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent); 68await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile, sourceFile: false); 78ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent); 91await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile, sourceFile: false); 102ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent); 112await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile, sourceFile: false); 122ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent); 131await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile, sourceFile: false); 140ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent);
HtmlGenerationTest.cs (21)
105await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile, sourceFile: false); 119ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent); 124ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent, forgeryToken); 222await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile, sourceFile: false); 235ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent); 262await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile, sourceFile: false); 276ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent); 280ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent, token: AntiforgeryTestHelper.RetrieveAntiforgeryToken(responseContent, antiforgeryPath)); 302await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile, sourceFile: false); 313ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent); 322await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile, sourceFile: false); 343ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent, token: AntiforgeryTestHelper.RetrieveAntiforgeryToken(responseContent, "Customer/HtmlGeneration_Customer")); 419await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile1, sourceFile: false); 422await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile2, sourceFile: false); 425await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile3, sourceFile: false); 436ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile1, expected1, response1.Trim()); 438if (!ResourceFile.GenerateBaselines) 452ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile2, expected2, response3.Trim()); 453if (!ResourceFile.GenerateBaselines) 467ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile3, expected3, response5.Trim()); 468if (!ResourceFile.GenerateBaselines)
LinkGenerationTests.cs (2)
79await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile, sourceFile: false); 90ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent);
RazorPagesTest.cs (2)
48var expectedContent = await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile, sourceFile: false); 59ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent, forgeryToken);
RemoteAttributeValidationTest.cs (2)
41await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile, sourceFile: false); 53ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent);
TagHelperComponentTagHelperTest.cs (6)
40await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile, sourceFile: false); 49ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent); 60await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile, sourceFile: false); 69ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent); 80await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile, sourceFile: false); 89ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent);
TagHelpersTest.cs (14)
54await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile, sourceFile: false); 65ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent); 91await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile, sourceFile: false); 102ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent); 112await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile, sourceFile: false); 126ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent, forgeryToken); 210await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile, sourceFile: false); 219ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent); 228await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile, sourceFile: false); 247ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent); 256await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile, sourceFile: false); 275ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent); 289await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile, sourceFile: false); 297ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent);
UrlResolutionTest.cs (4)
44await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile, sourceFile: false); 52ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent); 61await ResourceFile.ReadResourceAsync(_resourcesAssembly, outputFile, sourceFile: false); 69ResourceFile.UpdateOrVerify(_resourcesAssembly, outputFile, expectedContent, responseContent);
ViewEngineTests.cs (2)
442var expectedContent = await ResourceFile.ReadResourceAsync(_assembly, outputFile, sourceFile: false); 449ResourceFile.UpdateOrVerify(_assembly, outputFile, expectedContent, responseContent);