Added RawVolume version of test as well.
This commit is contained in:
parent
887ecc1aaa
commit
8bd013f28e
@ -481,6 +481,16 @@ void TestVolume::testPagedVolumeSamplersWithExternalBackwards()
|
|||||||
/*
|
/*
|
||||||
* Random access tests
|
* Random access tests
|
||||||
*/
|
*/
|
||||||
|
void TestVolume::testRawVolumeDirectRandomAccess()
|
||||||
|
{
|
||||||
|
int32_t result = 0;
|
||||||
|
QBENCHMARK
|
||||||
|
{
|
||||||
|
result = testDirectRandomAccess(m_pRawVolume);
|
||||||
|
}
|
||||||
|
QCOMPARE(result, static_cast<int32_t>(805464457));
|
||||||
|
}
|
||||||
|
|
||||||
void TestVolume::testPagedVolumeDirectRandomAccess()
|
void TestVolume::testPagedVolumeDirectRandomAccess()
|
||||||
{
|
{
|
||||||
int32_t result = 0;
|
int32_t result = 0;
|
||||||
|
@ -57,6 +57,7 @@ private slots:
|
|||||||
void testPagedVolumeDirectAccessWithExternalBackwards();
|
void testPagedVolumeDirectAccessWithExternalBackwards();
|
||||||
void testPagedVolumeSamplersWithExternalBackwards();
|
void testPagedVolumeSamplersWithExternalBackwards();
|
||||||
|
|
||||||
|
void testRawVolumeDirectRandomAccess();
|
||||||
void testPagedVolumeDirectRandomAccess();
|
void testPagedVolumeDirectRandomAccess();
|
||||||
|
|
||||||
void testPagedVolumeChunkLocalAccess();
|
void testPagedVolumeChunkLocalAccess();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user