We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e51a29b commit e3e1230Copy full SHA for e3e1230
test/+wt/+test/FileSelector.m
@@ -166,6 +166,24 @@ function testRootDirectoryAndHistory(testCase)
166
167
end %function
168
169
+ function testButtonLabel(testCase)
170
+
171
+ % Get the edit field
172
+ buttonControl = testCase.Widget.ButtonControl;
173
174
+ % Set the value
175
+ newValue = "Select File";
176
+ testCase.verifySetProperty("ButtonLabel", newValue);
177
+ drawnow
178
+ testCase.verifyEqual(string(buttonControl.Text), newValue);
179
180
181
+ newValue = "Browse";
182
183
184
185
186
+ end %function
187
188
% function testButton(testCase)
189
%
0 commit comments