diff --git a/third_party_mods/libjingle/source/talk/app/webrtc/peerconnection_unittests.cc b/third_party_mods/libjingle/source/talk/app/webrtc/peerconnection_unittest.cc similarity index 80% rename from third_party_mods/libjingle/source/talk/app/webrtc/peerconnection_unittests.cc rename to third_party_mods/libjingle/source/talk/app/webrtc/peerconnection_unittest.cc index ed0355a96..6bb08313c 100644 --- a/third_party_mods/libjingle/source/talk/app/webrtc/peerconnection_unittests.cc +++ b/third_party_mods/libjingle/source/talk/app/webrtc/peerconnection_unittest.cc @@ -24,13 +24,8 @@ * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "gtest/gtest.h" +#include "base/gunit.h" -int main(int argc, char **argv) { - ::testing::InitGoogleTest(&argc, argv); - // Added return_value so that it's convenient to put a breakpoint before - // exiting please note that the return value from RUN_ALL_TESTS() must - // be returned by the main function. - const int return_value = RUN_ALL_TESTS(); - return return_value; +TEST(PeerConnectionTest, InitializationReceiveSanity) { + // TODO(henrike): implement. } diff --git a/third_party_mods/libjingle/source/talk/app/webrtc/webrtc.scons b/third_party_mods/libjingle/source/talk/app/webrtc/webrtc.scons index a81298b45..ba1585bb9 100644 --- a/third_party_mods/libjingle/source/talk/app/webrtc/webrtc.scons +++ b/third_party_mods/libjingle/source/talk/app/webrtc/webrtc.scons @@ -21,6 +21,7 @@ talk.Unittest( name = 'webrtc', srcs = [ 'webrtcsession_unittest.cc', + 'peerconnection_unittest.cc', ], libs = [ 'srtp',