Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1505)

Unified Diff: remoting/ios/bridge/host_proxy_unittest.mm

Issue 475333004: Remove old Chromoting iOS client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/ios/bridge/host_proxy.mm ('k') | remoting/ios/data_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/ios/bridge/host_proxy_unittest.mm
diff --git a/remoting/ios/bridge/host_proxy_unittest.mm b/remoting/ios/bridge/host_proxy_unittest.mm
deleted file mode 100644
index 9641e63d71656ec76a5852e97dc3b23a92859e69..0000000000000000000000000000000000000000
--- a/remoting/ios/bridge/host_proxy_unittest.mm
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#if !defined(__has_feature) || !__has_feature(objc_arc)
-#error "This file requires ARC support."
-#endif
-
-#import "remoting/ios/bridge/host_proxy.h"
-
-#import "base/compiler_specific.h"
-#import "testing/gtest_mac.h"
-
-namespace remoting {
-
-class HostProxyTest : public ::testing::Test {
- protected:
- virtual void SetUp() OVERRIDE { hostProxy_ = [[HostProxy alloc] init]; }
-
- void CallPassThroughFunctions() {
- [hostProxy_ mouseAction:webrtc::DesktopVector(0, 0)
- wheelDelta:webrtc::DesktopVector(0, 0)
- whichButton:0
- buttonDown:NO];
- [hostProxy_ keyboardAction:0 keyDown:NO];
- }
-
- HostProxy* hostProxy_;
-};
-
-TEST_F(HostProxyTest, ConnectDisconnect) {
- CallPassThroughFunctions();
-
- ASSERT_FALSE([hostProxy_ isConnected]);
- [hostProxy_ connectToHost:@""
- authToken:@""
- jabberId:@""
- hostId:@""
- publicKey:@""
- delegate:nil];
- ASSERT_TRUE([hostProxy_ isConnected]);
-
- CallPassThroughFunctions();
-
- [hostProxy_ disconnectFromHost];
- ASSERT_FALSE([hostProxy_ isConnected]);
-
- CallPassThroughFunctions();
-}
-
-} // namespace remoting
« no previous file with comments | « remoting/ios/bridge/host_proxy.mm ('k') | remoting/ios/data_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698