As discussed briefly with dcheng@ - we should support a .test-mojom file extension in mojom.gni, which works just like .mojom except it requires that the GN mojom rule set testonly = true. Then these files can be exempt from the PRESUBMIT rule which enforces SECURITY_OWNERS coverage.
Comment 1 by bugdroid1@chromium.org
, Dec 19