DYNAMIC RESULT SETS n 返回结果集个数
For each virtual method, count how many arguments it has, name the result n, and define it using MOCK_METHODn, whose arguments are the name and type of the method.
对于每个虚方法,计算它的参数个数、名字和结果n,然后使用MOCK_METHODn进行定义,其参数就是方法的名字和类型。
In Figure 3, our third example is where the query result is limited to top-N elements.
在图3中是我们的第三个例子,其中,查询结果被限制在头n个元素。
应用推荐