DescriptionWebUI test framework: fix Mock4JS verification, allow chrome.send passthrough.
1) Add test for Bug 99970 Comment 6 & fix
2) Allow chrome.send to be mocked outside of preLoad call.
3) add chrome.originalSend to allow mocked messages to pass through to C++.
Also to address need for .cc file to be correct for clang, and prevent ugliness in js with a lot of GEN lines, allow the header and .cc to not have a suffix, and the generated file to end in -gen.cc. While doing this, addressed crbug.com/102794 to put in <(INTERMEDIATE_DIR) preventing collisions across rules.
R=flackr@chromium.org,wyck@chromium.org
BUG=103740, 99970, 102794
TEST=browser_tests --gtest_filter=Mock4JS*.* AND ChromeSend*.*
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109678
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109711
Patch Set 1 #Patch Set 2 : Add missing files. #Patch Set 3 : Moved GEN to top and added comments. #Patch Set 4 : 102794 Use <(INTERMEDIATE_DIR) and change generated file to -gen.cc so cc file can not have suffix. #Patch Set 5 : Put method definitions in same order as declarations, include gmock since it's used. #
Total comments: 2
Patch Set 6 : Added #pragma once. #
Total comments: 2
Patch Set 7 : Rebase. #
Messages
Total messages: 10 (0 generated)
|