Lines Matching refs:factory
151 FakeSocketFactory<FakeSocketEcho> factory; in TEST_F() local
152 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
186 FakeSocketFactory<FakeSocketId> factory; in TEST_F() local
187 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
205 FakeSocketFactory<FakeSocketEcho> factory; in TEST_F() local
206 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
276 FakeSocketFactory<FakeSocketDelay> factory; in TEST_F() local
277 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
295 FakeSocketFactory<FakeSocketDelay> factory; in TEST_F() local
296 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
315 FakeSocketFactory<FakeSocketDelay> factory; in TEST_F() local
316 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
335 FakeSocketFactory<FakeSocketDelay> factory; in TEST_F() local
336 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
360 FakeSocketFactory<FakeSocketDelay> factory; in TEST_F() local
361 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
387 FakeSocketFactory<FakeSocketDelay> factory; in TEST_F() local
388 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
407 FakeSocketFactory<FakeSocketDelay> factory; in TEST_F() local
408 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
476 FakeSocketFactory<FakeSocketClose> factory; in TEST_F() local
477 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
563 FakeSocketFactory<FakeSocketLimited> factory; in TEST_F() local
564 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
588 FakeSocketFactory<FakeSocketLimited> factory; in TEST_F() local
589 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
615 FakeSocketFactory<FakeSocketLimited> factory; in TEST_F() local
616 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
670 FakeSocketFactory<FakeSocketGarbage> factory; in TEST_F() local
671 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
689 auto factory = std::make_unique<FakeSocketFactory<FakeSocketEcho>>(); in TEST_F() local
690 DnsTlsDispatcher dispatcher(std::move(factory)); in TEST_F()
712 auto factory = std::make_unique<FakeSocketFactory<FakeSocketEcho>>(); in TEST_F() local
713 DnsTlsDispatcher dispatcher(std::move(factory)); in TEST_F()
743 auto factory = std::make_unique<TrackingFakeSocketFactory<FakeSocketDelay>>(); in TEST_F() local
744 auto* weak_factory = factory.get(); // Valid as long as dispatcher is in scope. in TEST_F()
745 DnsTlsDispatcher dispatcher(std::move(factory)); in TEST_F()