Skip to content
Snippets Groups Projects
Commit 404a5e6e authored by Andreia Gaita's avatar Andreia Gaita
Browse files

Some minor test tweaks

parent 15ea411e
No related branches found
No related tags found
No related merge requests found
......@@ -9,8 +9,6 @@ namespace GitHub.Unity.Tests
[Test]
public async void SimpleLogin()
{
var success = false;
var program = new Program();
var credentialManager = new WindowsCredentialManager();
var api = new SimpleApiClientFactory(program, credentialManager);
......
......@@ -8,6 +8,18 @@ namespace GitHub.Unity.Tests
[TestFixture]
public class StatusOutputProcessorTests : BaseOutputProcessorTests
{
//[Test]
public void IntegrationTest()
{
var fs = new FileSystem();
var env = new DefaultEnvironment();
env.UnityProjectPath = @"D:\code\github\UnityInternal\src\UnityExtension";
var genv = new WindowsGitEnvironment(fs, env);
var fact = new GitStatusEntryFactory(env, fs, genv);
var pm = new ProcessManager(env, genv, fs);
var results = pm.GetGitStatus(@"D:\code\github\UnityInternal", env, fs, genv);
}
[Test]
public void ShouldParseDirtyWorkingTreeUntracked()
{
......
......@@ -54,6 +54,7 @@ namespace GitHub.Unity
//master...origin/master [ahead 1, behind 1]
branchesString = proc.ReadUntilWhitespace();
proc.MoveToAfter('[');
var deltaString = proc.ReadUntil(']');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment