Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (C) 2013 Google Inc. | |
| 2 // | |
| 3 // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 4 // you may not use this file except in compliance with the License. | |
| 5 // You may obtain a copy of the License at | |
| 6 // | |
| 7 // http://www.apache.org/licenses/LICENSE-2.0 | |
| 8 // | |
| 9 // Unless required by applicable law or agreed to in writing, software | |
| 10 // distributed under the License is distributed on an "AS IS" BASIS, | |
| 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 12 // See the License for the specific language governing permissions and | |
| 13 // limitations under the License. | |
| 14 | |
| 15 #include <libaddressinput/address_validator.h> | |
| 16 | |
| 17 #include <gtest/gtest.h> | |
| 18 | |
| 19 #include "fake_downloader.h" | |
| 20 #include "fake_storage.h" | |
| 21 | |
| 22 namespace { | |
| 23 | |
| 24 using i18n::addressinput::AddressValidator; | |
| 25 using i18n::addressinput::FakeDownloader; | |
| 26 using i18n::addressinput::FakeStorage; | |
| 27 using i18n::addressinput::scoped_ptr; | |
| 28 | |
| 29 // Tests for AddressValidator object. | |
| 30 class AddressValidatorTest : public testing::Test { | |
| 31 protected: | |
| 32 AddressValidatorTest() | |
| 33 : validator_(new FakeDownloader, new FakeStorage) {} | |
| 34 | |
| 35 virtual ~AddressValidatorTest() {} | |
| 36 | |
| 37 AddressValidator validator_; | |
| 38 }; | |
| 39 | |
| 40 TEST_F(AddressValidatorTest, Stubtest) { | |
| 41 // TODO(rouslan): Add tests when the API is implemented. | |
|
Evan Stade
2013/12/10 23:59:43
IMO don't add this file till it does something use
please use gerrit instead
2013/12/11 00:56:45
Removed for now.
| |
| 42 EXPECT_TRUE(true); | |
| 43 } | |
| 44 | |
| 45 } // namespace | |
| OLD | NEW |