Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / device / bluetooth / test / mock_bluetooth_adapter.h
index 32f40d1..ee03353 100644 (file)
@@ -31,6 +31,8 @@ class MockBluetoothAdapter : public BluetoothAdapter {
 
   MockBluetoothAdapter();
 
+  virtual bool IsInitialized() const { return true; }
+
   MOCK_METHOD1(AddObserver, void(BluetoothAdapter::Observer*));
   MOCK_METHOD1(RemoveObserver, void(BluetoothAdapter::Observer*));
   MOCK_CONST_METHOD0(GetAddress, std::string());
@@ -39,7 +41,6 @@ class MockBluetoothAdapter : public BluetoothAdapter {
                void(const std::string& name,
                     const base::Closure& callback,
                     const ErrorCallback& error_callback));
-  MOCK_CONST_METHOD0(IsInitialized, bool());
   MOCK_CONST_METHOD0(IsPresent, bool());
   MOCK_CONST_METHOD0(IsPowered, bool());
   MOCK_METHOD3(SetPowered,