10 references to ReadFileContent
Microsoft.Build.Tasks.UnitTests (10)
ResourceHandling\GenerateResource_Tests.cs (10)
267Assert.Equal(Utilities.ReadFileContent(t.OutputResources[0].ItemSpec), 268Utilities.ReadFileContent(t2b.OutputResources[0].ItemSpec)); 304Assert.Equal(Utilities.GetTestTextContent(null, null, true /*cleaned up */), Utilities.ReadFileContent(resourcesFile)); 1089Assert.Equal(Utilities.ReadFileContent(t.OutputResources[0].ItemSpec), 1090Utilities.ReadFileContent(t2b.OutputResources[0].ItemSpec)); 1135Assert.Equal(Utilities.GetTestTextContent(null, null, true /*cleaned up */), Utilities.ReadFileContent(resourcesFile)); 4265Assert.Contains("ResourceManager(\"" + resourcesNamespace + "." + t.StronglyTypedClassName, Utilities.ReadFileContent(STRFile)); 4267Assert.Contains("class " + Path.GetFileNameWithoutExtension(textFile).ToLower(), Utilities.ReadFileContent(STRFile).ToLower()); 4270Assert.DoesNotContain("namespace " + resourcesNamespace.ToLower(), Utilities.ReadFileContent(STRFile).ToLower()); 4273Assert.Contains("namespace " + classNamespace.ToLower(), Utilities.ReadFileContent(STRFile).ToLower());