mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-11 05:03:34 +01:00
8d3f3e5d30
This test runs practracker with a set of 0 thresholds, to make sure that it enumerates all its values right. It tries running with an empty exceptions file, and with an exceptions file that covers _some_ of the data, and it makes sure that the outputs are as expected.
16 lines
123 B
C
16 lines
123 B
C
|
|
MOCK_IMPL(int,
|
|
foo,(void))
|
|
{
|
|
// blah1
|
|
return 0;
|
|
}
|
|
|
|
MOCK_IMPL(int,
|
|
bar,( long z))
|
|
{
|
|
// blah2
|
|
|
|
return (int)(z+2);
|
|
}
|