Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: test/flimflam.py

Issue 6659006: flimflam: add support for multiple profiles (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/flimflam.git@master
Patch Set: more ers comments Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/create-profile ('k') | test/pop-profile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/flimflam.py
diff --git a/test/flimflam.py b/test/flimflam.py
index fd27318627b8c57331b6a88360a43c877a168210..f71a28c1798084d703e28dc30a509e901830bc7c 100644
--- a/test/flimflam.py
+++ b/test/flimflam.py
@@ -244,6 +244,23 @@ class FlimFlam(object):
properties = self.manager.GetProperties()
return self.GetObjectInterface("Profile", properties["ActiveProfile"])
+ def CreateProfile(self, ident):
+ path = self.manager.CreateProfile(ident)
+ return self.GetObjectInterface("Profile", path)
+
+ def RemoveProfile(self, ident):
+ self.manager.RemoveProfile(ident)
+
+ def PushProfile(self, ident):
+ path = self.manager.PushProfile(ident)
+ return self.GetObjectInterface("Profile", path)
+
+ def PopProfile(self, ident):
+ self.manager.PopProfile(ident)
+
+ def PopAnyProfile(self):
+ self.manager.PopAnyProfile()
+
def GetSystemState(self):
properties = self.manager.GetProperties()
return properties["State"]
« no previous file with comments | « test/create-profile ('k') | test/pop-profile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698