コード例 #1
0
 public void SendFile()
 {
     _command = new Command(new SkypeReceiver(), CommandType.SendFile);
     _command.Type = CommandType.SendFile;
     _command.FilePath = _filePath;
     _command.Users = _oneUser;
     _command.Execute();
 }
コード例 #2
0
 public void PlaceCallWithOfflineUserTest()
 {
     try
     {
         _command = new Command(new SkypeReceiver(), CommandType.VoiceCall);
         _command.Users = new string[] { "Unknown" };
         _command.Execute();
     }
     catch (Exception exc)
     {
         Assert.AreEqual(exc.Message, "The user Unknown is offline.");
     }
 }
コード例 #3
0
ファイル: SEClient.cs プロジェクト: radtek/rrcomssys-team-5
 public SEClient(CommandType type)
 {
     _command = new Command(new SkypeReceiver(), type);
 }
コード例 #4
0
 public void StartChatTest()
 {
     _command = new Command(new SkypeReceiver(), CommandType.Chat);
     _command.Users = _oneUser;
     _command.Execute();
 }
コード例 #5
0
 public void MakeAVoiceCallTest()
 {
     _command = new Command(new SkypeReceiver(), CommandType.VoiceCall);
     _command.Users = _oneUser;
     _command.Execute();
 }