예제 #1
0
        public void TexturePackerJsonImporter_Processor_Test()
        {
            var filePath  = PathExtensions.GetApplicationFullPath(@"TestData\test-tileset.json");
            var importer  = new TexturePackerJsonImporter();
            var input     = importer.Import(filePath, Substitute.For <ContentImporterContext>());
            var processor = new TexturePackerProcessor();
            var output    = processor.Process(input, Substitute.For <ContentProcessorContext>());

            Assert.IsNotNull(output);
        }
        public void TexturePackerJsonImporter_Processor_Test()
        {
            var filePath = PathExtensions.GetApplicationFullPath(@"TestData\test-tileset.json");
            var importer = new TexturePackerJsonImporter();
            var input = importer.Import(filePath, Substitute.For<ContentImporterContext>());
            var processor = new TexturePackerProcessor();
            var output = processor.Process(input, Substitute.For<ContentProcessorContext>());

            Assert.IsNotNull(output);
        }
예제 #3
0
        public void TexturePackerJsonImporter_Processor_Test()
        {
            const string filename  = @"TestData\test-tileset.json";
            var          importer  = new TexturePackerJsonImporter();
            var          input     = importer.Import(filename, Substitute.For <ContentImporterContext>());
            var          processor = new TexturePackerProcessor();
            var          output    = processor.Process(input, Substitute.For <ContentProcessorContext>());

            Assert.IsNotNull(output);
        }
        public void TexturePackerJsonImporter_Processor_Test()
        {
            const string filename = @"TestData\test-tileset.json";
            var importer = new TexturePackerJsonImporter();
            var input = importer.Import(filename, Substitute.For<ContentImporterContext>());
            var processor = new TexturePackerProcessor();
            var output = processor.Process(input, Substitute.For<ContentProcessorContext>());

            Assert.IsNotNull(output);
        }