Home | History | Annotate | Download | only in cellular
      1 //
      2 // Copyright (C) 2012 The Android Open Source Project
      3 //
      4 // Licensed under the Apache License, Version 2.0 (the "License");
      5 // you may not use this file except in compliance with the License.
      6 // You may obtain a copy of the License at
      7 //
      8 //      http://www.apache.org/licenses/LICENSE-2.0
      9 //
     10 // Unless required by applicable law or agreed to in writing, software
     11 // distributed under the License is distributed on an "AS IS" BASIS,
     12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13 // See the License for the specific language governing permissions and
     14 // limitations under the License.
     15 //
     16 
     17 #include "shill/cellular/mock_cellular.h"
     18 
     19 #include <gmock/gmock.h>
     20 
     21 #include "shill/error.h"
     22 
     23 namespace shill {
     24 
     25 // TODO(rochberg): The cellular constructor does work.  Ought to fix
     26 // this so that we don't depend on passing real values in for Type.
     27 
     28 MockCellular::MockCellular(ModemInfo* modem_info,
     29                            const std::string& link_name,
     30                            const std::string& address,
     31                            int interface_index,
     32                            Type type,
     33                            const std::string& service,
     34                            const std::string& path)
     35     : Cellular(modem_info, link_name, address, interface_index, type,
     36                service, path) {}
     37 
     38 MockCellular::~MockCellular() {}
     39 
     40 }  // namespace shill
     41