blob: 350d9a311256ea498cb528cbb4e380f010a5c2ef [file] [log] [blame]
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
#include <fstream>
#include <iostream>
#include <vector>
#include "benchmark.h"
#include "dual_decoder_test.h"
#include "normal_async_test.h"
#include "packet_loss_test.h"
#include "unit_test.h"
#include "rps_test.h"
#include "testsupport/fileutils.h"
#include "vp8.h"
using namespace webrtc;
void PopulateTests(std::vector<Test*>* tests)
// tests->push_back(new VP8RpsTest());
// tests->push_back(new VP8UnitTest());
// tests->push_back(new VP8DualDecoderTest());
// tests->push_back(new VP8Benchmark());
// tests->push_back(new VP8PacketLossTest(0.05, false, 5));
tests->push_back(new VP8NormalAsyncTest());
int main()
VP8Encoder* enc;
VP8Decoder* dec;
std::vector<Test*> tests;
std::fstream log;
std::string log_file = webrtc::test::OutputPath() + "VP8_test_log.txt";, std::fstream::out | std::fstream::app);
std::vector<Test*>::iterator it;
for (it = tests.begin() ; it < tests.end(); it++)
enc = VP8Encoder::Create();
dec = VP8Decoder::Create();
delete enc;
delete dec;
delete *it;
return 0;