aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.UnitTesting/RemoteRunner_TST.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-06-04 19:46:22 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-06-04 19:46:22 +0300
commit77b37339decd9c023d4ced37e677797f5b72c3ae (patch)
tree8a536eda6721abfb310b07cd4b645d1273ef5160 /Software/Visual_Studio/Tango.UnitTesting/RemoteRunner_TST.cs
parent24e5224eb41da3a736c46235567c8ba5484414e3 (diff)
downloadTango-77b37339decd9c023d4ced37e677797f5b72c3ae.tar.gz
Tango-77b37339decd9c023d4ced37e677797f5b72c3ae.zip
Implemented VSIX remote debugger!!!!
Diffstat (limited to 'Software/Visual_Studio/Tango.UnitTesting/RemoteRunner_TST.cs')
-rw-r--r--Software/Visual_Studio/Tango.UnitTesting/RemoteRunner_TST.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Tango.UnitTesting/RemoteRunner_TST.cs b/Software/Visual_Studio/Tango.UnitTesting/RemoteRunner_TST.cs
index 21bdf3295..35248c862 100644
--- a/Software/Visual_Studio/Tango.UnitTesting/RemoteRunner_TST.cs
+++ b/Software/Visual_Studio/Tango.UnitTesting/RemoteRunner_TST.cs
@@ -20,7 +20,7 @@ namespace Tango.UnitTesting
{
[TestClass]
[TestCategory("Remote Runner")]
- public class RemoteRunner_TST
+ public class RemoteRunner_TST
{
[TestMethod]
public void Run_Remote_Runner_Connect_Upload_And_Execute_Process()
@@ -63,7 +63,7 @@ namespace Tango.UnitTesting
long remaining = exeFile.Length - currentFilePosition;
- byte[] buffer = new byte[uploadResponse.MaxChunkLength > remaining ? uploadResponse.MaxChunkLength : remaining];
+ byte[] buffer = new byte[uploadResponse.MaxChunkLength < remaining ? uploadResponse.MaxChunkLength : remaining];
fs.Read(buffer, 0, buffer.Length);
chunkRequest.Buffer = ByteString.CopyFrom(buffer);