import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Maps;
-import java.net.URI;
import java.util.Set;
import org.jaxen.Context;
import org.jaxen.Function;
import org.opendaylight.yangtools.yang.common.QName;
import org.opendaylight.yangtools.yang.common.QNameModule;
import org.opendaylight.yangtools.yang.common.Revision;
+import org.opendaylight.yangtools.yang.common.XMLNamespace;
import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier;
import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates;
public class BitIsSetXPathFunctionTest {
private static final JaxenSchemaContextFactory SCHEMA_CONTEXT_FACTORY = new JaxenSchemaContextFactory();
- private static final QNameModule FOO_MODULE = QNameModule.create(URI.create("foo-ns"), Revision.of("2017-04-03"));
+ private static final QNameModule FOO_MODULE =
+ QNameModule.create(XMLNamespace.of("foo-ns"), Revision.of("2017-04-03"));
private static final QName MY_CONTAINER = QName.create(FOO_MODULE, "my-container");
private static final QName MY_LIST = QName.create(FOO_MODULE, "my-list");
private static final QName FLAGS = QName.create(FOO_MODULE, "flags");