@@ -25,19 +25,25 @@ implementation
2525
2626procedure TTestNewTrackon.Test_DownloadAPI ;
2727begin
28- AssertTrue( ' Download the newtrackon API' , FNewTrackon.DownloadTrackers );
28+ Check(FNewTrackon.DownloadTrackers, ' Download the newtrackon API' );
2929
30- AssertTrue( ' TrackerList_All should never be empty ' ,
31- FNewTrackon. TrackerList_All.Count > 0 );
30+ Check(FNewTrackon. TrackerList_All.Count > 0 ,
31+ ' TrackerList_All should never be empty ' );
3232
33- AssertTrue( ' TrackerList_Live should never be empty ' ,
34- FNewTrackon. TrackerList_Live.Count > 0 );
33+ Check(FNewTrackon. TrackerList_Live.Count > 0 ,
34+ ' TrackerList_Live should never be empty ' );
3535
36- AssertTrue( ' TrackerList_Stable should never be empty ' ,
37- FNewTrackon. TrackerList_Stable.Count > 0 );
36+ Check(FNewTrackon. TrackerList_Stable.Count > 0 ,
37+ ' TrackerList_Stable should never be empty ' );
3838
39- AssertTrue(' TrackerList_Dead should never be empty' ,
40- FNewTrackon.TrackerList_Dead.Count > 0 );
39+ Check(FNewTrackon.TrackerList_Udp.Count > 0 ,
40+ ' TrackerList_Udp should never be empty' );
41+
42+ Check(FNewTrackon.TrackerList_Http.Count > 0 ,
43+ ' TrackerList_Http should never be empty' );
44+
45+ Check(FNewTrackon.TrackerList_Dead.Count > 0 ,
46+ ' TrackerList_Dead should never be empty' );
4147end ;
4248
4349procedure TTestNewTrackon.SetUp ;
0 commit comments