void () { // one group assertItems(""" ----group---- 1 exec1: dbg1 dbg1 dbg2 2 exec2: dbg1 dbg1 dbg2 """, new TestDebuggerProvider(new TestAttachGroup("group", 0), "dbg1", "dbg2")); // merging same group TestAttachGroup group = new TestAttachGroup("group", 0); assertItems(""" ----group---- 1 exec1: dbg1 dbg1 dbg2 2 exec2: dbg1 dbg1 dbg2 """, new TestDebuggerProvider(group, "dbg1"), new TestDebuggerProvider(group, "dbg2")); assertItems(""" -------- 1 exec1: dbg1 dbg1 dbg2 2 exec2: dbg1 dbg1 dbg2 -------- 1 exec1: dbg1 dbg1 dbg2 2 exec2: dbg1 dbg1 dbg2 """, new TestDebuggerProvider(TEST_GROUP, "dbg1", "dbg2"), new TestDebuggerProvider(new TestAttachGroup("", 1), "dbg1", "dbg2")); }