Fix ReactorStmtCtx.calculateParentRefcount()
[yangtools.git] / parser / yang-parser-rfc7950 / src / test / java / org / opendaylight / yangtools / yang / stmt / YT1474Test.java
1 /*
2  * Copyright (c) 2023 Verizon and others. All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.yangtools.yang.stmt;
9
10 import java.util.List;
11 import java.util.Set;
12 import org.junit.jupiter.api.RepeatedTest;
13
14 class YT1474Test extends AbstractYangTest {
15     // FIXME: YANGTOOLS-1475: do not repeat the test once we have a way to force predictable execution order
16     @RepeatedTest(4)
17     void testEmptyGrouping() {
18         assertEffectiveModel(List.of("/bugs/YT1474/foo.yang", "/bugs/YT1474/bar.yang"), Set.of());
19     }
20 }