Beispiel #1
0
 public static void WaitToFinishJoiningChannels(this ChaskisProcess processRunner)
 {
     processRunner.WaitForStringFromChaskis(
         @"<chaskis_event source_type=""CORE""\s+source_plugin=""IRC""\s+dest_plugin=""""><args><event_id>FINISHED\s+JOINING\s+CHANNELS</event_id><server>(?<server>\S+)</server><nick>(?<nick>\S+)</nick></args><passthrough_args\s+/></chaskis_event>"
         ).FailIfFalse("Did not get joined channel event");
 }
Beispiel #2
0
 public static void WaitForClientToConnect(this ChaskisProcess processRunner)
 {
     processRunner.WaitForStringFromChaskis(
         @"<chaskis_connect_event><server>(?<server>\S+)</server><protocol>IRC</protocol></chaskis_connect_event>"
         ).FailIfFalse("Did not connected event");
 }