Test-based development for the C ++ XPCOM component?

I want to create a Firefox extension using the C ++ XPCOM component, which in turn uses the XPCOM javascript component. Is there any infrastructure that allows testing the development of the C ++ XPCOM component / Firefox extension?

+3
source share
2 answers

You can copy what Mozilla uses to test its own code . You just need to make sure that you are contacting libxul (which may require building Firefox).

An example file that uses TestHarness.h can be found here .

+3
source

sdwilsh , mozilla - xpcshell tests. , Firefox.

+2

Source: https://habr.com/ru/post/1720349/


All Articles