Fix issue with request flags leak between tests

Reset request flags of RTNLHandler on Stop().  Make Stop() private, but
call it in teardown of all unit tests that call Start().

BUG=chromium-os:18833
TEST=Rerun unit tests

Change-Id: I83d32abc561e80c9dc72239825907cb5d5155bca
Reviewed-on: http://gerrit.chromium.org/gerrit/5461
Reviewed-by: Darin Petkov <petkov@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
4 files changed
tree: 50d98d0cfb0ec42387fbdb2fc9f1e592b37013d4
  1. dbus_bindings/
  2. accessor_interface.h
  3. adaptor_interfaces.h
  4. byte_string.cc
  5. byte_string.h
  6. byte_string_unittest.cc
  7. cellular.cc
  8. cellular.h
  9. cellular_service.cc
  10. cellular_service.h
  11. cellular_unittest.cc
  12. control_interface.h
  13. crypto_des_cbc.cc
  14. crypto_des_cbc.h
  15. crypto_des_cbc_unittest.cc
  16. crypto_interface.h
  17. crypto_provider.cc
  18. crypto_provider.h
  19. crypto_provider_unittest.cc
  20. crypto_rot47.cc
  21. crypto_rot47.h
  22. crypto_rot47_unittest.cc
  23. dbus_adaptor.cc
  24. dbus_adaptor.h
  25. dbus_adaptor_unittest.cc
  26. dbus_control.cc
  27. dbus_control.h
  28. dbus_properties.cc
  29. dbus_properties.h
  30. dbus_properties_proxy.cc
  31. dbus_properties_proxy.h
  32. dbus_properties_proxy_interface.h
  33. dbus_properties_unittest.cc
  34. default_profile.cc
  35. default_profile.h
  36. default_profile_unittest.cc
  37. device.cc
  38. device.h
  39. device_dbus_adaptor.cc
  40. device_dbus_adaptor.h
  41. device_info.cc
  42. device_info.h
  43. device_info_unittest.cc
  44. device_stub.h
  45. device_unittest.cc
  46. dhcp_config.cc
  47. dhcp_config.h
  48. dhcp_config_unittest.cc
  49. dhcp_provider.cc
  50. dhcp_provider.h
  51. dhcp_provider_unittest.cc
  52. dhcp_proxy_interface.h
  53. dhcpcd_proxy.cc
  54. dhcpcd_proxy.h
  55. endpoint.cc
  56. endpoint.h
  57. ephemeral_profile.cc
  58. ephemeral_profile.h
  59. error.cc
  60. error.h
  61. ethernet.cc
  62. ethernet.h
  63. ethernet_service.cc
  64. ethernet_service.h
  65. glib.cc
  66. glib.h
  67. glib_io_handler.cc
  68. glib_io_handler.h
  69. HACKING
  70. io_handler.h
  71. ip_address.cc
  72. ip_address.h
  73. ip_address_unittest.cc
  74. ipconfig.cc
  75. ipconfig.h
  76. ipconfig_dbus_adaptor.cc
  77. ipconfig_dbus_adaptor.h
  78. ipconfig_unittest.cc
  79. key_file_store.cc
  80. key_file_store.h
  81. key_file_store_unittest.cc
  82. LICENSE
  83. Makefile
  84. manager.cc
  85. manager.h
  86. manager_dbus_adaptor.cc
  87. manager_dbus_adaptor.h
  88. manager_unittest.cc
  89. mock_adaptors.cc
  90. mock_adaptors.h
  91. mock_control.cc
  92. mock_control.h
  93. mock_dbus_properties_proxy.h
  94. mock_device.cc
  95. mock_device.h
  96. mock_dhcp_proxy.h
  97. mock_glib.h
  98. mock_modem_cdma_proxy.h
  99. mock_modem_manager_proxy.h
  100. mock_modem_proxy.h
  101. mock_modem_simple_proxy.h
  102. mock_profile.cc
  103. mock_profile.h
  104. mock_property_store.h
  105. mock_service.cc
  106. mock_service.h
  107. mock_sockets.h
  108. mock_store.h
  109. mock_supplicant_interface_proxy.h
  110. mock_supplicant_process_proxy.h
  111. modem.cc
  112. modem.h
  113. modem_cdma_proxy.cc
  114. modem_cdma_proxy.h
  115. modem_cdma_proxy_interface.h
  116. modem_info.cc
  117. modem_info.h
  118. modem_info_unittest.cc
  119. modem_manager.cc
  120. modem_manager.h
  121. modem_manager_proxy.cc
  122. modem_manager_proxy.h
  123. modem_manager_proxy_interface.h
  124. modem_manager_unittest.cc
  125. modem_proxy.cc
  126. modem_proxy.h
  127. modem_proxy_interface.h
  128. modem_simple_proxy.cc
  129. modem_simple_proxy.h
  130. modem_simple_proxy_interface.h
  131. modem_unittest.cc
  132. nice_mock_control.cc
  133. nice_mock_control.h
  134. profile.cc
  135. profile.h
  136. profile_dbus_adaptor.cc
  137. profile_dbus_adaptor.h
  138. profile_unittest.cc
  139. property_accessor.h
  140. property_accessor_unittest.cc
  141. property_iterator.h
  142. property_store.cc
  143. property_store.h
  144. property_store_unittest.cc
  145. property_store_unittest.h
  146. proxy_factory.cc
  147. proxy_factory.h
  148. refptr_types.h
  149. resolver.cc
  150. resolver.h
  151. resolver_unittest.cc
  152. routing_table.cc
  153. routing_table.h
  154. routing_table_entry.h
  155. routing_table_unittest.cc
  156. rtnl_handler.cc
  157. rtnl_handler.h
  158. rtnl_handler_unittest.cc
  159. rtnl_listener.cc
  160. rtnl_listener.h
  161. rtnl_listener_unittest.cc
  162. rtnl_message.cc
  163. rtnl_message.h
  164. rtnl_message_unittest.cc
  165. service.cc
  166. service.h
  167. service_dbus_adaptor.cc
  168. service_dbus_adaptor.h
  169. service_unittest.cc
  170. shill.conf
  171. shill_config.cc
  172. shill_config.h
  173. shill_daemon.cc
  174. shill_daemon.h
  175. shill_event.cc
  176. shill_event.h
  177. shill_main.cc
  178. shill_unittest.cc
  179. sockets.cc
  180. sockets.h
  181. store_interface.h
  182. supplicant_interface_proxy.cc
  183. supplicant_interface_proxy.h
  184. supplicant_interface_proxy_interface.h
  185. supplicant_process_proxy.cc
  186. supplicant_process_proxy.h
  187. supplicant_process_proxy_interface.h
  188. testrunner.cc
  189. wifi.cc
  190. wifi.h
  191. wifi_endpoint.cc
  192. wifi_endpoint.h
  193. wifi_service.cc
  194. wifi_service.h
  195. wifi_unittest.cc