Name Description Size
agent
allowedFile.txt 8
blockedFile.txt 8
moz.build 875
TestContentAnalysis.cpp 18903
TestContentAnalysisAgent.cpp 4167
TestContentAnalysisMisbehaving.cpp TEST(ContentAnalysisMisbehaving, LargeResponse) { auto MozAgentInfo = LaunchAgentMisbehaving(L"largeResponse"); // Exit the test early if the process failed to launch ASSERT_NE(MozAgentInfo.processInfo.dwProcessId, 0UL); ASSERT_NE(nullptr, MozAgentInfo.client.get()); ContentAnalysisRequest request; request.set_request_token("request token"); request.set_text_content("unused"); ContentAnalysisResponse response; ASSERT_EQ(0, MozAgentInfo.client->Send(request, &response)); ASSERT_STREQ("request token", response.request_token().c_str()); ASSERT_EQ(1001, response.results().size()); BOOL terminateResult = ::TerminateProcess(MozAgentInfo.processInfo.hProcess, 0); ASSERT_NE(FALSE, terminateResult) << "Failed to terminate content_analysis_sdk_agent process"; } 13881
TestContentAnalysisUtils.cpp 3805
TestContentAnalysisUtils.h 1315