Updated peerconnection_unittest slightly. Also added it to the build.

Review URL: http://webrtc-codereview.appspot.com/133003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@456 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
hellner@google.com 2011-08-25 23:01:40 +00:00
parent 23a8065e36
commit b55c988b22
2 changed files with 4 additions and 8 deletions

View File

@ -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.
}

View File

@ -21,6 +21,7 @@ talk.Unittest(
name = 'webrtc',
srcs = [
'webrtcsession_unittest.cc',
'peerconnection_unittest.cc',
],
libs = [
'srtp',