コード例 #1
0
        public void GetFileIsElligible_PathDoesNotMatch_False()
        {
            SessionComponentDefinition def = GetDefinitionForOriginalRecording();

            Assert.IsFalse(def.GetFileIsElligible("fub.xmp3"));
            Assert.IsFalse(def.GetFileIsElligible("fub.mp3x"));
        }
コード例 #2
0
        public void GetFileIsElligible_PathMatches_True()
        {
            SessionComponentDefinition def = GetDefinitionForOriginalRecording();

            Assert.IsTrue(def.GetFileIsElligible("fub.wav"));
            Assert.IsTrue(def.GetFileIsElligible("fub.mp3"));
            Assert.IsTrue(def.GetFileIsElligible("fub.ogg"));
            Assert.IsTrue(def.GetFileIsElligible("fub.avi"));
            Assert.IsTrue(def.GetFileIsElligible("fub.mov"));
        }