예제 #1
0
        public void ResultNoMatchWrongFile()
        {
            SpecificResourceReferenceFinder finder = CreateFinder();

            Assert.IsFalse(finder.IsReferenceToResource(new ResourceResolveResult(null, null, null, new ResourceSetReference("SomeResources", "C:\\SomeResources.resx"), "TestKey")));
        }
예제 #2
0
        public void ResultMatch()
        {
            SpecificResourceReferenceFinder finder = CreateFinder();

            Assert.IsTrue(finder.IsReferenceToResource(new ResourceResolveResult(null, null, null, new ResourceSetReference("TestResources", "C:\\TestResources.resx"), "TestKey")));
        }