Exemple #1
0
        public void LoadFileWithExcessiveHighFrequency_2()
        {
            // this seems to be a corrupt file caused by a buffer-overflow from analog channel names into the frequency data bytes
            var s = new ScmSerializer(RootPath + @"ThomasSaur_DH\channel_list_UE55H6470_1201.scm");

            s.Load();
        }
Exemple #2
0
        public void LoadJSeriesWithScm1201Format()
        {
            // J-series model with SCM format
            var s = new ScmSerializer(RootPath + @"__J\HenryLoenwind_SCM\channel_list_UE32J5170_1201_orig.scm");

            s.Load();
            Assert.AreEqual("E", s.Series);
        }
Exemple #3
0
        public void LoadRenamedFile_LT24B_1201()
        {
            // This file uses the 1201 format (E,F,H,J), but has a "B" in its model name
            var s = new ScmSerializer(RootPath + @"__B=F\DieterHerzberg_B\renamed.scm");

            s.Load();
            Assert.AreEqual("E", s.Series);
        }
Exemple #4
0
        public void LoadRenamedFile_HE40Cxxx_1201()
        {
            // This file uses the 1201 format (E,F,H,J), but has a "C" in its model name
            var s = new ScmSerializer(RootPath + @"__C=F\Kinig\Reier Monika.scm");

            s.Load();
            Assert.AreEqual("E", s.Series);
        }
        public void LoadFileWithExcessiveHighFrequency_2()
        {
            // this seems to be a corrupt file caused by a buffer-overflow from analog channel names into the frequency data bytes
            var tempFile = TestUtils.DeploymentItem("Test.Loader.Samsung\\TestFiles\\channel_list_UE55H6470_1201.scm");
            var s        = new ScmSerializer(tempFile);

            s.Load();
        }
        public void LoadRenamedFile_LT24B_1201()
        {
            // This file uses the 1201 format (E,F,H,J), but has a "B" in its model name
            var s = new ScmSerializer(RootPath + @"E_format_with_C_model_name.scm");

            s.Load();
            Assert.AreEqual("E", s.Series);
        }
        public void LoadJSeriesWithScm1201Format()
        {
            // J-series model with E-J series SCM format
            var tempFile = TestUtils.DeploymentItem("Test.Loader.Samsung\\TestFiles\\channel_list_UE32J5170_1201_orig.scm");
            var s        = new ScmSerializer(tempFile);

            s.Load();
            Assert.AreEqual("E", s.Series);
        }
        public void LoadRenamedFile_LT24B_1201()
        {
            // This file uses the 1201 format (E,F,H,J), but has a "B" in its model name
            var tempFile = TestUtils.DeploymentItem("Test.Loader.Samsung\\TestFiles\\E_format_with_B_model_name.scm");
            var s        = new ScmSerializer(tempFile);

            s.Load();
            Assert.AreEqual("E", s.Series);
        }