File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ namespace OpenQA.Selenium.Edge
7
7
// Outside a namespace to affect the entire assembly
8
8
public class MySetUpClass
9
9
{
10
- [ SetUp ]
10
+ [ OneTimeSetUp ]
11
11
public void RunBeforeAnyTest ( )
12
12
{
13
13
EnvironmentManager . Instance . WebServer . Start ( ) ;
14
14
}
15
15
16
- [ TearDown ]
16
+ [ OneTimeTearDown ]
17
17
public void RunAfterAnyTests ( )
18
18
{
19
19
EnvironmentManager . Instance . CloseCurrentDriver ( ) ;
Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ namespace OpenQA.Selenium.IE
7
7
// Outside a namespace to affect the entire assembly
8
8
public class MySetUpClass
9
9
{
10
- [ SetUp ]
10
+ [ OneTimeSetUp ]
11
11
public void RunBeforeAnyTest ( )
12
12
{
13
13
EnvironmentManager . Instance . WebServer . Start ( ) ;
14
14
}
15
15
16
- [ TearDown ]
16
+ [ OneTimeTearDown ]
17
17
public void RunAfterAnyTests ( )
18
18
{
19
19
EnvironmentManager . Instance . CloseCurrentDriver ( ) ;
Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ namespace OpenQA.Selenium.PhantomJS
7
7
// Outside a namespace to affect the entire assembly
8
8
public class MySetUpClass
9
9
{
10
- [ SetUp ]
10
+ [ OneTimeSetUp ]
11
11
public void RunBeforeAnyTest ( )
12
12
{
13
13
EnvironmentManager . Instance . WebServer . Start ( ) ;
14
14
}
15
15
16
- [ TearDown ]
16
+ [ OneTimeTearDown ]
17
17
public void RunAfterAnyTests ( )
18
18
{
19
19
EnvironmentManager . Instance . CloseCurrentDriver ( ) ;
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ namespace OpenQA.Selenium.Remote
7
7
// Outside a namespace to affect the entire assembly
8
8
public class MySetUpClass
9
9
{
10
- [ SetUp ]
10
+ [ OneTimeSetUp ]
11
11
public void RunBeforeAnyTest ( )
12
12
{
13
13
EnvironmentManager . Instance . WebServer . Start ( ) ;
@@ -17,7 +17,7 @@ public void RunBeforeAnyTest()
17
17
}
18
18
}
19
19
20
- [ TearDown ]
20
+ [ OneTimeTearDown ]
21
21
public void RunAfterAnyTests ( )
22
22
{
23
23
EnvironmentManager . Instance . CloseCurrentDriver ( ) ;
You can’t perform that action at this time.
0 commit comments