OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "ios/chrome/browser/web/mailto_handler.h" |
| 6 |
| 7 #include "testing/gtest/include/gtest/gtest.h" |
| 8 #include "testing/gtest_mac.h" |
| 9 |
| 10 TEST(MailtoHandlerTest, TestConstructor) { |
| 11 MailtoHandler* handler = |
| 12 [[MailtoHandler alloc] initWithName:@"Some App" appStoreID:@"12345"]; |
| 13 EXPECT_NSEQ(@"Some App", [handler appName]); |
| 14 EXPECT_NSEQ(@"12345", [handler appStoreID]); |
| 15 } |
OLD | NEW |