Refactoring MediaCodec decoder

This commit is contained in:
2025-09-30 19:54:29 +09:00
parent 25bbd6901e
commit f507b31b7f
65 changed files with 7822 additions and 2222 deletions

View File

@@ -0,0 +1,25 @@
#include <gtest/gtest.h>
#include <android/log.h>
#define LOG_TAG "VavCoreUnitTests"
#define LOGI(...) __android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__)
#define LOGE(...) __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__)
int main(int argc, char** argv) {
LOGI("=== VavCore Android Unit Tests ===");
LOGI("Starting Google Test framework...");
// Initialize Google Test
::testing::InitGoogleTest(&argc, argv);
// Run all tests
int result = RUN_ALL_TESTS();
if (result == 0) {
LOGI("=== All tests passed! ===");
} else {
LOGE("=== Some tests failed! ===");
}
return result;
}