Groups
Groups
Sign in
Groups
Groups
service-worker-discuss
Conversations
About
Send feedback
Help
unittest framework for service worker
21 views
Skip to first unread message
Jack Hsieh
unread,
Apr 28, 2022, 9:38:56 PM
4/28/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to service-worker-discuss
I am trying to add a new service into service worker and I want to know if
content/browser/service_worker
provides any framework to start a service worker in unit test and have it all the way down to
content::RenderProcessHostImpl
.
Currently I found an example in :
TEST_F(EmbeddedWorkerInstanceTest, StartAndStop)
That can exercise the path of "
EmbeddedWorkerInstance->MockRenderProcessHost
". But I just wonder if there is any framework for unit tests to do "
EmbeddedWorkerInstance->RenderProcessHostImpl
"?
Reply all
Reply to author
Forward
0 new messages