void () { notifyStdoutLineAvailable("##teamcity[enteredTheMatrix]"); notifyStdoutLineAvailable("##teamcity[testingStarted]"); int topLevelChildrenCount = 0; int ignoredTests = 0; { // empty suite1 with ignored state notifyStdoutLineAvailable("##teamcity[testSuiteStarted nodeId='1' parentNodeId='0' name='suite1']"); ++topLevelChildrenCount; assertState(0, 0, ignoredTests, topLevelChildrenCount, ColorProgressBar.GREEN); notifyStdoutLineAvailable("##teamcity[testIgnored nodeId='1' name='suite1']"); assertState(0, 0, ignoredTests, topLevelChildrenCount, ColorProgressBar.GREEN); } { // non-empty suite2 with ignored test21 notifyStdoutLineAvailable("##teamcity[testSuiteStarted nodeId='2' parentNodeId='0' name='suite2']"); ++topLevelChildrenCount; assertState(0, 0, ignoredTests, topLevelChildrenCount, ColorProgressBar.GREEN); { notifyStdoutLineAvailable("##teamcity[testStarted nodeId='21' parentNodeId='2' name='test21']"); assertState(0, 0, ignoredTests, topLevelChildrenCount, ColorProgressBar.GREEN); notifyStdoutLineAvailable("##teamcity[testIgnored nodeId='21' name='test21']"); ++ignoredTests; assertState(ignoredTests, 0, ignoredTests, topLevelChildrenCount, ColorProgressBar.GREEN); } notifyStdoutLineAvailable("##teamcity[testSuiteFinished nodeId='2']"); assertState(ignoredTests, 0, ignoredTests, topLevelChildrenCount, ColorProgressBar.GREEN); } notifyStdoutLineAvailable("##teamcity[testingFinished]"); }