Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Ungureanu <marius.ungureanu@xamarin.com>2015-04-20 17:00:26 +0300
committerMarius Ungureanu <marius.ungureanu@xamarin.com>2015-04-20 23:52:35 +0300
commit300a9ddfcfa5a7e93ce9af74a4d4eb536da02d8d (patch)
tree7130e1e4ebf4a4b8958fb90eb16bed33d50bb1ee /main/tests/UnitTests/MonoDevelop.Core
parent0b21441afeee12b55abbc5e2e3df5b5596a66e26 (diff)
Audit all usages of Path.GetInvalid*Chars
Use the new refactored FilePath.* variant to ensure correctness.
Diffstat (limited to 'main/tests/UnitTests/MonoDevelop.Core')
-rw-r--r--main/tests/UnitTests/MonoDevelop.Core/FilePathTests.cs37
-rw-r--r--main/tests/UnitTests/MonoDevelop.Core/FileServiceTests.cs37
2 files changed, 74 insertions, 0 deletions
diff --git a/main/tests/UnitTests/MonoDevelop.Core/FilePathTests.cs b/main/tests/UnitTests/MonoDevelop.Core/FilePathTests.cs
new file mode 100644
index 0000000000..c23bb88508
--- /dev/null
+++ b/main/tests/UnitTests/MonoDevelop.Core/FilePathTests.cs
@@ -0,0 +1,37 @@
+//
+// FilePathTests.cs
+//
+// Author:
+// Marius Ungureanu <marius.ungureanu@xamarin.com>
+//
+// Copyright (c) 2015 Xamarin, Inc (http://www.xamarin.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+using System;
+
+namespace MonoDevelop.Core
+{
+ public class FilePathTests
+ {
+ public FilePathTests ()
+ {
+ }
+ }
+}
+
diff --git a/main/tests/UnitTests/MonoDevelop.Core/FileServiceTests.cs b/main/tests/UnitTests/MonoDevelop.Core/FileServiceTests.cs
new file mode 100644
index 0000000000..6530e17eee
--- /dev/null
+++ b/main/tests/UnitTests/MonoDevelop.Core/FileServiceTests.cs
@@ -0,0 +1,37 @@
+//
+// FileServiceTests.cs
+//
+// Author:
+// Marius Ungureanu <marius.ungureanu@xamarin.com>
+//
+// Copyright (c) 2015 Xamarin, Inc (http://www.xamarin.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+using System;
+
+namespace MonoDevelop.Core
+{
+ public class FileServiceTests
+ {
+ public FileServiceTests ()
+ {
+ }
+ }
+}
+