You can mock the HostResolver to make it fail to resolve anything (possibly except localhost). For examples, see HostResolver's unit tests and possibly other places where it is used. You can also make it fail to resolve specific hosts, which should also be handy.
On Tue, Sep 15, 2009 at 13:54, TJ Shah <tejass...@chromium.org> wrote: > > Hi, > > I am trying to automate few test cases that requires me to simulate > certain scenarios like 'Network is down' or 'Sync server not > reachable' etc.. I am not sure about the Chrome Library that I can use > to play with Windows Network Settings. I am using InProcBrowser Test. > > Pointers to library or examples will be helpful... > > -- > Thanks, > > Tejas > > > > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---