import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.fail;
-
import org.junit.Test;
import org.opendaylight.yangtools.yang.parser.spi.meta.ReactorException;
import org.opendaylight.yangtools.yang.parser.spi.source.SourceException;
public class KeyTest {
private static final YangStatementSourceImpl KEY_SIMPLE_AND_COMP = new YangStatementSourceImpl(
- "/semantic-statement-parser/key-arg-parsing/key-simple-and-comp.yang");
+ "/semantic-statement-parser/key-arg-parsing/key-simple-and-comp.yang", false);
private static final YangStatementSourceImpl KEY_COMP_DUPLICATE = new YangStatementSourceImpl(
- "/semantic-statement-parser/key-arg-parsing/key-comp-duplicate.yang");
+ "/semantic-statement-parser/key-arg-parsing/key-comp-duplicate.yang", false);
@Test
public void keySimpleTest() throws SourceException, ReactorException {
}
}
- private void addSources(BuildAction reactor, YangStatementSourceImpl... sources) {
+ private static void addSources(final BuildAction reactor, final YangStatementSourceImpl... sources) {
for (YangStatementSourceImpl source : sources) {
reactor.addSource(source);
}