mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-13 21:42:32 +00:00
More experiments with NSProxy
This commit is contained in:
@@ -41,8 +41,8 @@
|
||||
NSString *newPassword = @"new password";
|
||||
NSString *newKeystrokes = @"{ENTER 3}";
|
||||
[((id)self.proxy) setPassword:newPassword];
|
||||
XCTAssertEqualObjects(self.entry.password, newPassword, @"Proxy sets password on entry!");
|
||||
|
||||
XCTAssertNotEqualObjects(self.entry.password, newPassword, @"Proxy does not set password on entry!");
|
||||
|
||||
[((id)self.proxy) autotype].defaultKeystrokeSequence= newKeystrokes;
|
||||
XCTAssertEqualObjects(self.entry.autotype.defaultKeystrokeSequence, newKeystrokes, @"Proxy sets default keystroke sequence on entry autotype!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user