webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Namespaces | Functions
basicportallocator_unittest.cc File Reference
#include <algorithm>
#include <memory>
#include "webrtc/p2p/base/basicpacketsocketfactory.h"
#include "webrtc/p2p/base/p2pconstants.h"
#include "webrtc/p2p/base/p2ptransportchannel.h"
#include "webrtc/p2p/base/testrelayserver.h"
#include "webrtc/p2p/base/teststunserver.h"
#include "webrtc/p2p/base/testturnserver.h"
#include "webrtc/p2p/client/basicportallocator.h"
#include "webrtc/base/fakeclock.h"
#include "webrtc/base/fakenetwork.h"
#include "webrtc/base/firewallsocketserver.h"
#include "webrtc/base/gunit.h"
#include "webrtc/base/helpers.h"
#include "webrtc/base/ipaddress.h"
#include "webrtc/base/logging.h"
#include "webrtc/base/natserver.h"
#include "webrtc/base/natsocketfactory.h"
#include "webrtc/base/network.h"
#include "webrtc/base/physicalsocketserver.h"
#include "webrtc/base/socketaddress.h"
#include "webrtc/base/ssladapter.h"
#include "webrtc/base/thread.h"
#include "webrtc/base/virtualsocketserver.h"

Classes

class  cricket::BasicPortAllocatorTestBase
 
class  cricket::BasicPortAllocatorTestWithRealClock
 
class  cricket::FakeClockBase
 
class  cricket::BasicPortAllocatorTest
 

Namespaces

 cricket
 

Functions

std::ostream & cricket::operator<< (std::ostream &os, const std::vector< Candidate > &candidates)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestBasic)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestIgnoreOnlyLoopbackNetworkByDefault)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestIgnoreNetworksAccordingToIgnoreMask)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestGatherLowCostNetworkOnly)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestLoopbackNetworkInterface)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestGetAllPortsWithMinimumStepDelay)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestSameNetworkDownAndUpWhenSessionNotStopped)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestSameNetworkDownAndUpWhenSessionStopped)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestGetAllPortsWithOneSecondStepDelay)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestSetupVideoRtpPortsWithNormalSendBuffers)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestStopGetAllPorts)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestGetAllPortsPortRange)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestGetAllPortsNoAdapters)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestDisableAdapterEnumerationWithoutNatRelayTransportOnly)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestDisableAdapterEnumerationBehindNatMultipleInterfaces)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestDisableAdapterEnumerationBehindNatWithTcp)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestDisableAdapterEnumerationWithoutNatOrServers)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestDisableAdapterEnumerationWithoutNatLocalhostCandidateDisabled)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestDisableAdapterEnumerationWithoutNatLocalhostCandidateDisabledWithDifferentDefaultRoute)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestDisableAdapterEnumerationWithNatLocalhostCandidateDisabled)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestDisableUdpTurn)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestDisableAllPorts)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestGetAllPortsNoUdpSockets)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestGetAllPortsNoUdpSocketsNoTcpListen)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestGetAllPortsNoSockets)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestGetAllPortsNoUdpAllowed)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestCandidatePriorityOfMultipleInterfaces)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestGetAllPortsRestarts)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestSessionUsesOwnCandidateFilter)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestCandidateFilterWithRelayOnly)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestCandidateFilterWithHostOnly)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestCandidateFilterWithReflexiveOnly)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestCandidateFilterWithReflexiveOnlyAndNoNAT)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestEnableSharedUfrag)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestSharedSocketWithoutNat)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestSharedSocketWithNat)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestSharedSocketWithoutNatUsingTurn)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestUdpTurnPortPrunesTcpTurnPortWithTcpPortReadyFirst)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestUdpTurnPortPrunesTcpTurnPortsWithUdpPortReadyFirst)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestIPv6TurnPortPrunesIPv4TurnPortWithIPv4PortReadyFirst)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestIPv6TurnPortPrunesIPv4TurnPortWithIPv6PortReadyFirst)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestEachInterfaceHasItsOwnTurnPortsNoDelay)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestEachInterfaceHasItsOwnTurnPortsWithTcpIPv4ReadyFirst)
 
 cricket::TEST_F (BasicPortAllocatorTestWithRealClock, TestSharedSocketWithServerAddressResolve)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestSharedSocketWithNatUsingTurn)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestSharedSocketWithNatUsingTurnAsStun)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestSharedSocketWithNatUsingTurnTcpOnly)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestNonSharedSocketWithNatUsingTurnAsStun)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestSharedSocketWithNatUsingTurnAndStun)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestSharedSocketNoUdpAllowed)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestNetworkPermissionBlocked)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestEnableIPv6Addresses)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestStopGettingPorts)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestClearGettingPorts)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestTransportInformationUpdated)
 
 cricket::TEST_F (BasicPortAllocatorTest, TestSetCandidateFilterAfterCandidatesGathered)