11using System . Collections . Generic ;
22using Microsoft . Extensions . DependencyInjection ;
33using Microsoft . VisualStudio . TestTools . UnitTesting ;
4- using MigrationTools . DataContracts ;
54using MigrationTools . Shadows ;
65using MigrationTools . Tools ;
76
@@ -86,7 +85,7 @@ public void StringManipulatorTool_LengthLongerThanMaxTest()
8685 Assert . AreEqual ( 10 , newValue . Length ) ;
8786 }
8887
89- [ DataTestMethod ( ) , TestCategory ( "L1" ) ]
88+ [ TestMethod ( ) , TestCategory ( "L1" ) ]
9089 [ DataRow ( null , null ) ]
9190 [ DataRow ( "" , "" ) ]
9291 [ DataRow ( "lorem" , "lorem" ) ]
@@ -111,7 +110,7 @@ public void StringManipulatorTool_Disabled(string? value, string? expected)
111110 Assert . AreEqual ( expected , newValue ) ;
112111 }
113112
114- [ DataTestMethod ( ) , TestCategory ( "L1" ) ]
113+ [ TestMethod ( ) , TestCategory ( "L1" ) ]
115114 [ DataRow ( null , null ) ]
116115 [ DataRow ( "" , " " ) ]
117116 [ DataRow ( "lorem" , "lorem lorem" ) ]
@@ -137,7 +136,7 @@ public void StringManipulatorTool_Process(string? value, string? expected)
137136 Assert . AreEqual ( expected , newValue ) ;
138137 }
139138
140- [ DataTestMethod ( ) , TestCategory ( "L1" ) ]
139+ [ TestMethod ( ) , TestCategory ( "L1" ) ]
141140 [ DataRow ( null , null ) ]
142141 [ DataRow ( "" , " 1 2" ) ]
143142 [ DataRow ( "lorem" , "lorem 1 2" ) ]
@@ -169,7 +168,7 @@ public void StringManipulatorTool_MultipleManipulators(string? value, string? ex
169168 Assert . AreEqual ( expected , newValue ) ;
170169 }
171170
172- [ DataTestMethod ( ) , TestCategory ( "L1" ) ]
171+ [ TestMethod ( ) , TestCategory ( "L1" ) ]
173172 [ DataRow ( "Hello" , "Hello" ) ]
174173 [ DataRow ( "Héllo" , "Héllo" ) ] // New behavior: accented chars preserved
175174 [ DataRow ( "Привет" , "Привет" ) ] // New behavior: Cyrillic chars preserved
@@ -190,7 +189,7 @@ public void StringManipulatorTool_DefaultManipulator_UnicodeSupport(string value
190189 Assert . AreEqual ( expected , newValue ) ;
191190 }
192191
193- [ DataTestMethod ( ) , TestCategory ( "L1" ) ]
192+ [ TestMethod ( ) , TestCategory ( "L1" ) ]
194193 [ DataRow ( "Hello" , "Hello" ) ]
195194 [ DataRow ( "Héllo" , "Héllo" ) ] // Expected behavior: accented chars preserved
196195 [ DataRow ( "Привет" , "Привет" ) ] // Expected behavior: Cyrillic chars preserved
@@ -221,10 +220,10 @@ public void StringManipulatorTool_DefaultManipulator_ExpectedBehavior(string val
221220 Assert . AreEqual ( expected , newValue ) ;
222221 }
223222
224- [ DataTestMethod ( ) , TestCategory ( "L1" ) ]
223+ [ TestMethod ( ) , TestCategory ( "L1" ) ]
225224 [ DataRow ( "Hello 😀 World" , "Hello World" ) ] // Basic emoticons should be stripped (surrogate pairs)
226225 [ DataRow ( "Test 🔥 Fire" , "Test Fire" ) ] // Fire emoji should be stripped (surrogate pairs)
227- [ DataRow ( "Code 💻 Work" , "Code Work" ) ] // Laptop emoji should be stripped (surrogate pairs)
226+ [ DataRow ( "Code 💻 Work" , "Code Work" ) ] // Laptop emoji should be stripped (surrogate pairs)
228227 [ DataRow ( "Heart ❤️ Love" , "Heart ❤ Love" ) ] // Variation selector stripped, heart symbol preserved
229228 [ DataRow ( "Flag 🇺🇸 Country" , "Flag Country" ) ] // Regional indicators stripped (surrogate pairs)
230229 [ DataRow ( "Math ∑ Symbol" , "Math ∑ Symbol" ) ] // Mathematical symbols preserved (not surrogate pairs)
0 commit comments