Skip to content

Commit

Permalink
Merge pull request TestStack#156 from TestStack/samples
Browse files Browse the repository at this point in the history
Minor changes on Samples
  • Loading branch information
JakeGinnivan committed Sep 21, 2013
2 parents 3a7992e + 6093357 commit 4f9c23f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 8 additions & 5 deletions src/Sample App/Wpf/WpfTodo.UITests/TodoAppTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ public class TodoAppTests : UITestBase
[Fact]
public void Automate()
{
using (var workSession = new WorkSession(new WorkConfiguration
{
ArchiveLocation = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location),
Name = "WpfTodo"
}, new NullWorkEnvironment()))
var workConfiguration =
new WorkConfiguration
{
ArchiveLocation = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location),
Name = "WpfTodo"
};

using (var workSession = new WorkSession(workConfiguration, new NullWorkEnvironment()))
{
var screenRepository = workSession.Attach(Application);
var mainWindow = screenRepository.Get<TodoWindow>("Wpf Todo", InitializeOption.NoCache);
Expand Down
2 changes: 1 addition & 1 deletion src/TestStack.White.sln
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WpfTestApplication", "TestA
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestStack.White.UITests", "TestStack.White.UITests\TestStack.White.UITests.csproj", "{10A51741-09F8-47CA-AB94-965EE71342F7}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Sample App", "Sample App", "{37EE7583-778A-481E-ADD4-52A357BE95F0}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{37EE7583-778A-481E-ADD4-52A357BE95F0}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Winforms", "Winforms", "{DFCF10D7-82C1-4916-A829-B520E8C65321}"
EndProject
Expand Down

0 comments on commit 4f9c23f

Please sign in to comment.