File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ language : csharp
2+ solution : BrowserStack/BrowserStack.sln
3+ before_install :
4+ - sudo apt-get install nunit-console
5+ after_script :
6+ - nunit-console BrowserStack/BrowserStack\ Unit\ Tests/bin/Release/BrowserStack\ Unit\ Tests.dll
Original file line number Diff line number Diff line change 11using System ;
2- using Microsoft . VisualStudio . TestTools . UnitTesting ;
2+ //using Microsoft.VisualStudio.TestTools.UnitTesting;
3+ using TestClass = NUnit . Framework . TestFixtureAttribute ;
4+ using TestMethod = NUnit . Framework . TestAttribute ;
5+ using TestCleanup = NUnit . Framework . TearDownAttribute ;
6+ using TestInitialize = NUnit . Framework . SetUpAttribute ;
7+ using ClassCleanup = NUnit . Framework . TestFixtureTearDownAttribute ;
8+ using ClassInitialize = NUnit . Framework . TestFixtureSetUpAttribute ;
39
410using NUnit . Framework ;
511using BrowserStack ;
Original file line number Diff line number Diff line change 11using System ;
2- using Microsoft . VisualStudio . TestTools . UnitTesting ;
2+ //using Microsoft.VisualStudio.TestTools.UnitTesting;
3+ using TestClass = NUnit . Framework . TestFixtureAttribute ;
4+ using TestMethod = NUnit . Framework . TestAttribute ;
5+ using TestCleanup = NUnit . Framework . TearDownAttribute ;
6+ using TestInitialize = NUnit . Framework . SetUpAttribute ;
7+ using ClassCleanup = NUnit . Framework . TestFixtureTearDownAttribute ;
8+ using ClassInitialize = NUnit . Framework . TestFixtureSetUpAttribute ;
39
410using NUnit . Framework ;
511using BrowserStack ;
Original file line number Diff line number Diff line change @@ -74,15 +74,15 @@ public virtual void fallbackPaths()
7474 }
7575 public void downloadBinary ( )
7676 {
77- string binaryDirectory = Path . Combine ( binaryAbsolute , ".." ) ;
78- string binaryAbsolute = Path . Combine ( binaryDirectory , binaryName ) ;
77+ string binaryDirectory = Path . Combine ( this . binaryAbsolute , ".." ) ;
78+ // string binaryAbsolute = Path.Combine(binaryDirectory, binaryName);
7979
8080 Directory . CreateDirectory ( binaryDirectory ) ;
8181
8282 using ( var client = new WebClient ( ) )
8383 {
8484 Local . logger . Info ( "Downloading BrowserStackLocal.." ) ;
85- client . DownloadFile ( downloadURL , binaryAbsolute ) ;
85+ client . DownloadFile ( downloadURL , this . binaryAbsolute ) ;
8686 Local . logger . Info ( "Binary Downloaded." ) ;
8787 }
8888
Original file line number Diff line number Diff line change 11# browserstack-local-csharp
22
3+ [ ![ Build Status] ( https://travis-ci.org/browserstack/browserstack-local-csharp.svg?branch=master )] ( https://travis-ci.org/browserstack/browserstack-local-csharp )
4+
35## Setup
46
57Open the solution file ` BrowserStack/BrowserStack.sln ` in ` Visual Studio ` . The projects are ` Visual Studio 2015 ` compatible.
You can’t perform that action at this time.
0 commit comments