Lines Matching refs:factory
145 FakeSocketFactory<FakeSocketEcho> factory; in TEST_F() local
146 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
179 FakeSocketFactory<FakeSocketId> factory; in TEST_F() local
180 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
198 FakeSocketFactory<FakeSocketEcho> factory; in TEST_F() local
199 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
265 FakeSocketFactory<FakeSocketDelay> factory; in TEST_F() local
266 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
284 FakeSocketFactory<FakeSocketDelay> factory; in TEST_F() local
285 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
304 FakeSocketFactory<FakeSocketDelay> factory; in TEST_F() local
305 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
324 FakeSocketFactory<FakeSocketDelay> factory; in TEST_F() local
325 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
349 FakeSocketFactory<FakeSocketDelay> factory; in TEST_F() local
350 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
376 FakeSocketFactory<FakeSocketDelay> factory; in TEST_F() local
377 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
396 FakeSocketFactory<FakeSocketDelay> factory; in TEST_F() local
397 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
427 NullSocketFactory factory; in TEST_F() local
428 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
453 FakeSocketFactory<FakeSocketClose> factory; in TEST_F() local
454 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
538 FakeSocketFactory<FakeSocketLimited> factory; in TEST_F() local
539 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
562 FakeSocketFactory<FakeSocketLimited> factory; in TEST_F() local
563 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
589 FakeSocketFactory<FakeSocketLimited> factory; in TEST_F() local
590 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
643 FakeSocketFactory<FakeSocketGarbage> factory; in TEST_F() local
644 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
662 auto factory = std::make_unique<FakeSocketFactory<FakeSocketEcho>>(); in TEST_F() local
663 DnsTlsDispatcher dispatcher(std::move(factory)); in TEST_F()
685 auto factory = std::make_unique<FakeSocketFactory<FakeSocketEcho>>(); in TEST_F() local
686 DnsTlsDispatcher dispatcher(std::move(factory)); in TEST_F()
716 auto factory = std::make_unique<TrackingFakeSocketFactory<FakeSocketDelay>>(); in TEST_F() local
717 auto* weak_factory = factory.get(); // Valid as long as dispatcher is in scope. in TEST_F()
718 DnsTlsDispatcher dispatcher(std::move(factory)); in TEST_F()