@@ -67,7 +67,7 @@ public void shouldQuoteStringsWhenSettingStringProperties() throws Exception {
67
67
}
68
68
69
69
@ Test
70
- public void getStringPreferenceShouldReturnUserSuppliedValueWhenSet () throws Exception {
70
+ public void getStringPreferenceShouldReturnUserSuppliedValueWhenSet () {
71
71
String key = "cheese" ;
72
72
String value = "brie" ;
73
73
profile .setPreference (key , value );
@@ -77,7 +77,7 @@ public void getStringPreferenceShouldReturnUserSuppliedValueWhenSet() throws Exc
77
77
}
78
78
79
79
@ Test
80
- public void getStringPreferenceShouldReturnDefaultValueWhenSet () throws Exception {
80
+ public void getStringPreferenceShouldReturnDefaultValueWhenSet () {
81
81
String key = "cheese" ;
82
82
83
83
String defaultValue = "brie" ;
@@ -92,7 +92,7 @@ public void shouldSetIntegerPreferences() throws Exception {
92
92
}
93
93
94
94
@ Test
95
- public void getIntegerPreferenceShouldReturnUserSuppliedValueWhenSet () throws Exception {
95
+ public void getIntegerPreferenceShouldReturnUserSuppliedValueWhenSet () {
96
96
String key = "cheese" ;
97
97
int value = 1234 ;
98
98
profile .setPreference (key , value );
@@ -102,7 +102,7 @@ public void getIntegerPreferenceShouldReturnUserSuppliedValueWhenSet() throws Ex
102
102
}
103
103
104
104
@ Test
105
- public void getIntegerPreferenceShouldReturnDefaultValueWhenSet () throws Exception {
105
+ public void getIntegerPreferenceShouldReturnDefaultValueWhenSet () {
106
106
String key = "cheese" ;
107
107
108
108
int defaultValue = 42 ;
@@ -117,7 +117,7 @@ public void shouldSetBooleanPreferences() throws Exception {
117
117
}
118
118
119
119
@ Test
120
- public void getBooleanPreferenceShouldReturnUserSuppliedValueWhenSet () throws Exception {
120
+ public void getBooleanPreferenceShouldReturnUserSuppliedValueWhenSet () {
121
121
String key = "cheese" ;
122
122
boolean value = true ;
123
123
profile .setPreference (key , value );
@@ -127,7 +127,7 @@ public void getBooleanPreferenceShouldReturnUserSuppliedValueWhenSet() throws Ex
127
127
}
128
128
129
129
@ Test
130
- public void getBooleanPreferenceShouldReturnDefaultValueWhenSet () throws Exception {
130
+ public void getBooleanPreferenceShouldReturnDefaultValueWhenSet () {
131
131
String key = "cheese" ;
132
132
133
133
boolean defaultValue = true ;
@@ -153,15 +153,15 @@ public void shouldNotResetFrozenPreferences() throws Exception {
153
153
}
154
154
155
155
@ Test
156
- public void shouldInstallExtensionFromZip () throws IOException {
156
+ public void shouldInstallExtensionFromZip () {
157
157
profile .addExtension (InProject .locate (FIREBUG_PATH ).toFile ());
158
158
File profileDir = profile .layoutOnDisk ();
159
159
File extensionDir =
new File (
profileDir ,
"extensions/[email protected] " );
160
160
assertTrue (extensionDir .exists ());
161
161
}
162
162
163
163
@ Test
164
- public void shouldInstallWebExtensionFromZip () throws IOException {
164
+ public void shouldInstallWebExtensionFromZip () {
165
165
profile .addExtension (InProject .locate (MOOLTIPASS_PATH ).toFile ());
166
166
File profileDir = profile .layoutOnDisk ();
167
167
File extensionDir =
new File (
profileDir ,
"extensions/[email protected] " );
@@ -189,7 +189,7 @@ public void shouldInstallWebExtensionFromDirectory() throws IOException {
189
189
}
190
190
191
191
@ Test
192
- public void shouldInstallExtensionUsingClasspath () throws IOException {
192
+ public void shouldInstallExtensionUsingClasspath () {
193
193
profile .addExtension (SynthesizedFirefoxDriver .class , FIREBUG_RESOURCE_PATH );
194
194
File profileDir = profile .layoutOnDisk ();
195
195
File extensionDir =
new File (
profileDir ,
"extensions/[email protected] " );
0 commit comments