示例#1
0
        public virtual void testGetUlinked()
        {
            UnLinkFinder uf = new UnLinkFinder();
            VElement     v  = uf.getUnlinkedResources(n);

            Assert.AreEqual(1, v.Count);
            Assert.IsTrue(v.Contains(rl));
        }
示例#2
0
        public virtual void testEraseUlinked()
        {
            UnLinkFinder uf = new UnLinkFinder();

            uf.eraseUnlinkedResources(n);
            VElement v = uf.getUnlinkedResources(n);

            Assert.IsNull(v);
        }
示例#3
0
 ///
 ///		 <summary> * fills this into the factory </summary>
 ///
 public WalkRef(UnLinkFinder enclosingInstance)
     : base(enclosingInstance.getFactory())
 {
     EnclosingInstance = enclosingInstance;
 }