@@ -37,14 +37,12 @@ using namespace lt;
37
37
38
38
TORRENT_TEST (identify_client)
39
39
{
40
- #ifndef TORRENT_NO_DEPRECATE
41
- TEST_EQUAL (identify_client (peer_id (" -AZ123B-............" )), " Azureus 1.2.3.11" );
42
- TEST_EQUAL (identify_client (peer_id (" -AZ1230-............" )), " Azureus 1.2.3" );
43
- TEST_EQUAL (identify_client (peer_id (" S123--.............." )), " Shadow 1.2.3" );
44
- TEST_EQUAL (identify_client (peer_id (" S\x1\x2\x3 ....\0 ..........." )), " Shadow 1.2.3" );
45
- TEST_EQUAL (identify_client (peer_id (" M1-2-3--............" )), " Mainline 1.2.3" );
46
- TEST_EQUAL (identify_client (peer_id (" \0\0\0\0\0\0\0\0\0\0\0\0 ........" )), " Generic" );
47
- TEST_EQUAL (identify_client (peer_id (" -xx1230-............" )), " xx 1.2.3" );
48
- #endif
40
+ TEST_EQUAL (aux::identify_client_impl (peer_id (" -AZ123B-............" )), " Azureus 1.2.3.11" );
41
+ TEST_EQUAL (aux::identify_client_impl (peer_id (" -AZ1230-............" )), " Azureus 1.2.3" );
42
+ TEST_EQUAL (aux::identify_client_impl (peer_id (" S123--.............." )), " Shadow 1.2.3" );
43
+ TEST_EQUAL (aux::identify_client_impl (peer_id (" S\x1\x2\x3 ....\0 ..........." )), " Shadow 1.2.3" );
44
+ TEST_EQUAL (aux::identify_client_impl (peer_id (" M1-2-3--............" )), " Mainline 1.2.3" );
45
+ TEST_EQUAL (aux::identify_client_impl (peer_id (" \0\0\0\0\0\0\0\0\0\0\0\0 ........" )), " Generic" );
46
+ TEST_EQUAL (aux::identify_client_impl (peer_id (" -xx1230-............" )), " xx 1.2.3" );
49
47
}
50
48
0 commit comments