@@ -28,7 +28,7 @@ public override void TestFixtureSetUp()
28
28
base . TestFixtureSetUp ( ) ;
29
29
server = new TestWebServer . HttpServer ( SolutionDirectory . Combine ( "files" ) ) ;
30
30
Task . Factory . StartNew ( server . Start ) ;
31
- ApplicationConfiguration . WebTimeout = 20000 ;
31
+ ApplicationConfiguration . WebTimeout = 5000 ;
32
32
}
33
33
34
34
public override void TestFixtureTearDown ( )
@@ -60,7 +60,7 @@ private void StopTrackTimeAndLog(Stopwatch watch, ILogging logger)
60
60
}
61
61
62
62
[ Test ]
63
- public void TestDownloadTask ( )
63
+ public void ResumingDownloadsWorks ( )
64
64
{
65
65
Stopwatch watch ;
66
66
ILogging logger ;
@@ -136,7 +136,7 @@ public void TestDownloadTask()
136
136
}
137
137
138
138
[ Test ]
139
- public void TestDownloadFailure ( )
139
+ public void DownloadingNonExistingFileThrows ( )
140
140
{
141
141
Stopwatch watch ;
142
142
ILogging logger ;
@@ -170,7 +170,7 @@ public void TestDownloadFailure()
170
170
}
171
171
172
172
[ Test ]
173
- public void TestDownloadTextTask ( )
173
+ public void DownloadingATextFileWorks ( )
174
174
{
175
175
Stopwatch watch ;
176
176
ILogging logger ;
@@ -200,15 +200,15 @@ public void TestDownloadTextTask()
200
200
}
201
201
202
202
[ Test ]
203
- public void TestDownloadTextFailure ( )
203
+ public void DownloadingFromNonExistingDomainThrows ( )
204
204
{
205
205
Stopwatch watch ;
206
206
ILogging logger ;
207
207
StartTest ( out watch , out logger ) ;
208
208
209
209
var fileSystem = Environment . FileSystem ;
210
210
211
- var downloadTask = new DownloadTextTask ( TaskManager . Token , fileSystem , "https ://ggggithub.com/robots.txt" ) ;
211
+ var downloadTask = new DownloadTextTask ( TaskManager . Token , fileSystem , "http ://ggggithub.com/robots.txt" ) ;
212
212
var exceptionThrown = false ;
213
213
214
214
var autoResetEvent = new AutoResetEvent ( false ) ;
@@ -228,7 +228,7 @@ public void TestDownloadTextFailure()
228
228
}
229
229
230
230
[ Test ]
231
- public void TestDownloadFileAndHash ( )
231
+ public void DownloadingAFileWithHashValidationWorks ( )
232
232
{
233
233
Stopwatch watch ;
234
234
ILogging logger ;
@@ -269,7 +269,7 @@ public void TestDownloadFileAndHash()
269
269
}
270
270
271
271
[ Test ]
272
- public void TestDownloadShutdownTimeWhenInterrupted ( )
272
+ public void ShutdownTimeWhenTaskManagerDisposed ( )
273
273
{
274
274
Stopwatch watch ;
275
275
ILogging logger ;
0 commit comments