17 references to TestChangeExtension
Microsoft.CodeAnalysis.UnitTests (17)
FileUtilitiesTests.cs (17)
249TestChangeExtension(path: "a.dll", extension: ".exe", expected: "a.exe");
250TestChangeExtension(path: "a.dll", extension: "exe", expected: "a.exe");
251TestChangeExtension(path: "a.dll", extension: "", expected: "a.");
252TestChangeExtension(path: "a.dll", extension: ".", expected: "a.");
253TestChangeExtension(path: "a.dll", extension: "..", expected: "a..");
254TestChangeExtension(path: "a.dll", extension: "...", expected: "a...");
255TestChangeExtension(path: "a.dll", extension: " ", expected: "a. ");
257TestChangeExtension(path: "a", extension: ".exe", expected: "a.exe");
258TestChangeExtension(path: "a.", extension: "exe", expected: "a.exe");
259TestChangeExtension(path: "a..", extension: "exe", expected: "a..exe");
260TestChangeExtension(path: "a.", extension: "e.x.e", expected: "a.e.x.e");
261TestChangeExtension(path: ".", extension: "", expected: ".");
262TestChangeExtension(path: "..", extension: ".", expected: "..");
263TestChangeExtension(path: "..", extension: "..", expected: "...");
265TestChangeExtension(path: "", extension: "", expected: "");
266TestChangeExtension(path: null, extension: "", expected: null);
267TestChangeExtension(path: null, extension: null, expected: null);