overte-thingvellir/tests/shared/src/SerializerTests.h
Dale Glass 42d6128d9e Fix KTX issues with the serializer.
* Stop trying to be compatible with the old format, and just bump the version number.
* Add uint64_t support to serializer
* A bit improved debug output from serializer
* Add lastAdvance() function to ask the serializer how much data was added/read in the last operation.
2025-01-11 18:41:51 -08:00

33 lines
752 B
C++

//
// ResourceTests.h
//
// Copyright 2015 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#ifndef overte_SerializerTests_h
#define overte_SerializerTests_h
#include <QtTest/QtTest>
#include <QtCore/QTemporaryDir>
class SerializerTests : public QObject {
Q_OBJECT
private slots:
void initTestCase();
void testCreate();
void testAdd();
void testAddAndRead();
void testReadPastEnd();
void testWritePastEnd();
void benchmarkEncodingDynamicAlloc();
void benchmarkEncodingStaticAlloc();
void benchmarkDecoding();
void cleanupTestCase();
private:
};
#endif // overte_SerializerTests_h