Esempio n. 1
0
        private void When_LoadFile()
        {
            var file    = Encoding.ASCII.GetBytes(sw.ToString());
            var srecLdr = new SrecLoader(new ServiceContainer(), "test.srec", file);

            this.program = srecLdr.Load(null, arch, platform);
        }
Esempio n. 2
0
        private void When_LoadFile()
        {
            var file    = Encoding.ASCII.GetBytes(sw.ToString());
            var srecLdr = new SrecLoader(new ServiceContainer(), ImageLocation.FromUri("file:test.srec"), file);

            this.program = srecLdr.LoadProgram(null, arch, platform);
        }