void ( @NotNull String testId, @Nullable String parentTestId, @NotNull String suiteName, @NotNull String fqClassName, @Nullable String methodName, @NotNull String displayName ) { var testProxy = createTestProxy(parentTestId, suiteName, fqClassName, methodName, displayName); registerTestProxy(testId, testProxy); // BeforeTestSuiteProcessor doesn't initialize suites (start and register in tree), // because Gradle generates empty events for suites with filtered tests. // But we can identify it only when we won't get any test events. // So we register and start test suites in tree only here. traverseTestNodesFromChildToParent(testProxy, node -> { setParentIfNeeded(node); setStartedIfNeeded(node); }); }