File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed
TestStack.White.UITests/InputDevices
TestStack.White/Configuration Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 1- using System . Collections . Generic ;
1+ using System . Collections . Generic ;
22using System . Text ;
33using TestStack . White . InputDevices ;
44using TestStack . White . UIItems ;
@@ -12,6 +12,7 @@ public class KeyboardTest : WhiteTestBase
1212 protected override void ExecuteTestRun ( WindowsFramework framework )
1313 {
1414 RunTest ( EnterAccentedChars ) ;
15+ RunTest ( EnterUnicodeCharacters ) ;
1516 RunTest ( MultilineTextBox ) ;
1617 RunTest ( ShouldSetTheValueOfATextBox ) ;
1718 RunTest ( ShouldBeAbleToPressLeftAndRightCursorKeys ) ;
@@ -25,7 +26,18 @@ void EnterAccentedChars()
2526 {
2627 SelectInputControls ( ) ;
2728 var textBox = MainWindow . Get < TextBox > ( "TextBox" ) ;
28- const string text = "ãàâäáãàâäáãàâäáãàâäáãàâäáãàâäáãàâäáãàâäá" ;
29+ const string text = "ãàâäáãàâäáãàâäáãàâäáãàâäáãàâäáãàâäáãàâäá" ;
30+
31+ textBox . BulkText = text ;
32+
33+ Assert . Equal ( text , textBox . Text ) ;
34+ }
35+
36+ void EnterUnicodeCharacters ( )
37+ {
38+ SelectInputControls ( ) ;
39+ var textBox = MainWindow . Get < TextBox > ( "TextBox" ) ;
40+ const string text = "ŕáâăäĺćçčéęëěíîď" ;
2941
3042 textBox . BulkText = text ;
3143
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public interface ICoreConfiguration
2424 int TooltipWaitTime { get ; set ; }
2525 int SuggestionListTimeout { get ; set ; }
2626 DateFormat DefaultDateFormat { get ; set ; }
27- int DragStepCount { get ; }
27+ int DragStepCount { get ; set ; }
2828 bool InProc { get ; set ; }
2929 bool ComboBoxItemsPopulatedWithoutDropDownOpen { get ; set ; }
3030 IWaitHook AdditionalWaitHook { get ; set ; }
You can’t perform that action at this time.
0 commit comments