Exemplo n.º 1
0
        public void TEST_GENERATE_STRING_CORRECTLY_BUILDS_TITLE_AND_CHAPTER_SELECTION_STRING()
        {
            string originalPath = "..\\..\\..\\Sample Files\\TestFolder\\TestFolder1";

            Assert.AreEqual("DVD://../../../Sample Files/TestFolder/TestFolder1/VIDEO_TS?2/5",
                            DVDPlayer.GeneratePlayString(originalPath, 2, 5));
        }
Exemplo n.º 2
0
        public void TEST_GENERATE_STRING_CORRECTLY_BUILDS_START_TIME()
        {
            string originalPath = "..\\..\\..\\Sample Files\\TestFolder\\TestFolder1";

            Assert.AreEqual("DVD://../../../Sample Files/TestFolder/TestFolder1/VIDEO_TS?1/0:18:32",
                            DVDPlayer.GeneratePlayString(originalPath, 1, new DateTime(2008, 01, 01, 0, 18, 32)));
        }
Exemplo n.º 3
0
        public void TEST_GENERATE_STRING_FOR_A_STANDARD_DVD()
        {
            string originalPath = "..\\..\\..\\Sample Files\\TestFolder\\TestFolder1";

            Assert.AreEqual("DVD://../../../Sample Files/TestFolder/TestFolder1/VIDEO_TS",
                            DVDPlayer.GeneratePlayString(originalPath, 0, 0));
        }