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 e16277e commit 33a6e72Copy full SHA for 33a6e72
swift/ql/test/library-tests/dataflow/flowsources/uikit.swift
@@ -19,12 +19,15 @@ class UITextField: UIControl {
19
set { }
20
}
21
22
+class UISearchTextField : UITextField {
23
+}
24
25
// --- tests ---
26
-func testUITextField(textField: UITextField) {
27
+func testUITextField(textField: UITextField, searchTextField: UISearchTextField) {
28
_ = textField.text // $ source=local
29
_ = textField.attributedText // $ source=local
30
_ = textField.placeholder // GOOD (not input)
31
_ = textField.text?.uppercased() // $ source=local
32
+ _ = searchTextField.text // $ source=local
33
0 commit comments