7 writes to StronglyTypedFileName
Microsoft.Build.Tasks.UnitTests (7)
ResourceHandling\GenerateResource_Tests.cs (7)
1370t.StronglyTypedFileName = strFile; 1411t.StronglyTypedFileName = strFile; 2423t.StronglyTypedFileName = "somefile.cs"; 2840t.StronglyTypedFileName = NativeMethodsShared.IsWindows ? "||" : "\0"; 2952t.StronglyTypedFileName = "myfile"; 2996t.StronglyTypedFileName = dir; 3501t.StronglyTypedFileName = "boo";
29 references to StronglyTypedFileName
Microsoft.Build.Tasks.UnitTests (29)
ResourceHandling\GenerateResource_Tests.cs (29)
1201File.Delete(t.StronglyTypedFileName); 1279File.Delete(t.StronglyTypedFileName); 1424Assert.Equal(t.StronglyTypedFileName, strFile); 1508File.Delete(t.StronglyTypedFileName); 1544Assert.Equal(t.StronglyTypedFileName, STRfile); 1552Utilities.AssertLogContainsResource(t, "GenerateResource.CreatingSTR", t.StronglyTypedFileName); 1555Assert.DoesNotContain("namespace", File.ReadAllText(t.StronglyTypedFileName)); 1561File.Delete(t.StronglyTypedFileName); 1602Assert.Equal(t.StronglyTypedFileName, STRfile); 1610Utilities.AssertLogContainsResource(t, "GenerateResource.CreatingSTR", t.StronglyTypedFileName); 1612string generatedSource = File.ReadAllText(t.StronglyTypedFileName); 1627FileUtilities.DeleteNoThrow(t.StronglyTypedFileName); 2115Utilities.AssertLogContainsResource(t, "GenerateResource.CreatingSTR", t.StronglyTypedFileName); 2117Utilities.AssertLogContains(t, t.StronglyTypedFileName); 2121File.Delete(t.StronglyTypedFileName); 2431Utilities.AssertLogContainsResource(t, "GenerateResource.CreatingSTR", t.StronglyTypedFileName); 2432Assert.Equal(t.StronglyTypedClassName, Path.GetFileNameWithoutExtension(t.StronglyTypedFileName)); 2434Assert.Contains("public class " + t.StronglyTypedClassName, File.ReadAllText(t.StronglyTypedFileName)); 2442File.Delete(t.StronglyTypedFileName); 2473Utilities.AssertLogContainsResource(t, "GenerateResource.CreatingSTR", t.StronglyTypedFileName); 2475Assert.Equal(t.StronglyTypedFileName, Path.ChangeExtension(t.Sources[0].ItemSpec, ".cs")); 2476Assert.True(File.Exists(t.StronglyTypedFileName)); 2481Assert.Contains("internal class " + t.StronglyTypedClassName, File.ReadAllText(t.StronglyTypedFileName)); 2487File.Delete(t.StronglyTypedFileName); 4256Assert.Equal(Path.ChangeExtension(t.Sources[0].ItemSpec, codeFileExtension), t.StronglyTypedFileName); 4257Assert.Equal(t.FilesWritten[2].ItemSpec, t.StronglyTypedFileName); 4260Assert.True(File.Exists(t.StronglyTypedFileName)); 4292Utilities.AssertLogContainsResource(t, "GenerateResource.CreatingSTR", t.StronglyTypedFileName); 4298File.Delete(t.StronglyTypedFileName);