Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Change HasEmailRule instances to static final
Browse files Browse the repository at this point in the history
  • Loading branch information
seanf committed Jan 18, 2016
1 parent 9896cef commit 8282968
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
public class RegisterTest extends ZanataTestCase {

@ClassRule
public static HasEmailRule emailRule = new HasEmailRule();
public static final HasEmailRule emailRule = new HasEmailRule();

Map<String, String> fields;
private HomePage homePage;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
public class ManageUsersTest extends ZanataTestCase {

@ClassRule
public static HasEmailRule emailRule = new HasEmailRule();
public static final HasEmailRule emailRule = new HasEmailRule();

private DashboardBasePage dashboardPage;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
public class ServerSettingsTest extends ZanataTestCase {

@ClassRule
public static HasEmailRule hasEmailRule = new HasEmailRule();
public static final HasEmailRule hasEmailRule = new HasEmailRule();

@Test
public void setServerURLTest() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
public class DashboardTest extends ZanataTestCase {

@ClassRule
public static HasEmailRule emailRule = new HasEmailRule();
public static final HasEmailRule emailRule = new HasEmailRule();

private DashboardBasePage dashboard;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
public class ContactLanguageTeamTest extends ZanataTestCase {

@ClassRule
public static HasEmailRule emailRule = new HasEmailRule();
public static final HasEmailRule emailRule = new HasEmailRule();

@Feature(summary = "The user can contact a language team coordinator",
tcmsTestPlanIds = 5316, tcmsTestCaseIds = 0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
public class JoinLanguageTeamTest extends ZanataTestCase {

@ClassRule
public static HasEmailRule hasEmailRule = new HasEmailRule();
public static final HasEmailRule hasEmailRule = new HasEmailRule();

@Feature(summary = "The administrator can add a member to a language team",
tcmsTestPlanIds = 5316, tcmsTestCaseIds = 181703)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
public class ContactAdminTest extends ZanataTestCase {

@ClassRule
public static HasEmailRule emailRule = new HasEmailRule();
public static final HasEmailRule emailRule = new HasEmailRule();

@Feature(summary = "The user can contact the site administrator",
tcmsTestPlanIds = 5316, tcmsTestCaseIds = 181717)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
public class SecurityTest extends ZanataTestCase {

@ClassRule
public static HasEmailRule hasEmailRule = new HasEmailRule();
public static final HasEmailRule hasEmailRule = new HasEmailRule();

@Feature(summary = "The user can log in",
tcmsTestPlanIds = 5316, tcmsTestCaseIds = 86815)
Expand Down

0 comments on commit 8282968

Please sign in to comment.