Пример #1
0
 public void VerifyEvent(ClientEventId id, EventLevel level, EventKeywords keywords, EventOpcode opcode, params object[] payloadItems)
 {
     Assert.Equal(1, this.Events.Count);
     Assert.Equal((int)id, this.Events[0].EventId);
     Assert.Equal(level, this.Events[0].Level);
     Assert.Equal(opcode, this.Events[0].Opcode);
     Assert.True(this.Events[0].Keywords.HasFlag(keywords));
     Assert.Equal(payloadItems, this.Events[0].Payload.ToArray());
 }
Пример #2
0
 public void VerifyEvent(ClientEventId id, EventLevel level, EventKeywords keywords, EventOpcode opcode, params object[] payloadItems)
 {
     Assert.Equal(1, this.Events.Count);
     Assert.Equal((int)id, this.Events[0].EventId);
     Assert.Equal(level, this.Events[0].Level);
     Assert.Equal(opcode, this.Events[0].Opcode);
     Assert.True(this.Events[0].Keywords.HasFlag(keywords));
     Assert.Equal(payloadItems, this.Events[0].Payload.ToArray());
 }
Пример #3
0
 public void VerifyEvent(ClientEventId id, EventLevel level, EventKeywords keywords, params object[] payloadItems)
 {
     this.VerifyEvent(id, level, keywords, EventOpcode.Info, payloadItems);
 }
Пример #4
0
 public void VerifyEvent(ClientEventId id, EventLevel level, EventKeywords keywords, params object[] payloadItems)
 {
     this.VerifyEvent(id, level, keywords, EventOpcode.Info, payloadItems);
 }