Example #1
0
 public ApiMethod(string iname, string name, bool needSession, string[] needPermissions, CallFormatter formatter, ApiParameter[] parameters)
 {
     this.iname = iname;
     this.name = name;
     this.needSession = needSession;
     this.needPermissions = needPermissions;
     this.formatter = formatter;
     this.parameters = parameters;
     call_counter = new Counter("api." + iname + "." + name + ".call", "number of calls to method (OK or not)");
     error_counter = new Counter("api." + iname + "." + name + ".error", "number of errors in calls to method");
 }
 public SequenceInOrderAssertion()
 {
     _callFormatter = new CallFormatter();
     _argumentFormatter = new ArgumentFormatter();
 }
Example #3
0
 public SequenceInOrderAssertion()
 {
     _callFormatter     = new CallFormatter();
     _argumentFormatter = new ArgumentFormatter();
 }