Exemple #1
0
        public void TexturePackerJsonImporter_Import_Test()
        {
            const string filename = @"TestData\test-tileset.json";
            var          importer = new TexturePackerJsonImporter();
            var          data     = importer.Import(filename, Substitute.For <ContentImporterContext>());

            Assert.IsNotNull(data);
        }
Exemple #2
0
        public void TexturePackerJsonImporter_Import_Test()
        {
            var filePath = PathExtensions.GetApplicationFullPath(@"TestData\test-tileset.json");
            var importer = new TexturePackerJsonImporter();
            var data     = importer.Import(filePath, Substitute.For <ContentImporterContext>());

            Assert.IsNotNull(data);
        }
        public void TexturePackerJsonImporter_Import_Test()
        {
            var filePath = PathExtensions.GetApplicationFullPath(@"TestData\test-tileset.json");
            var importer = new TexturePackerJsonImporter();
            var data = importer.Import(filePath, Substitute.For<ContentImporterContext>());

            Assert.IsNotNull(data);
        }
        public void TexturePackerJsonImporter_Import_Test()
        {
            const string filename = @"TestData\test-tileset.json";
            var importer = new TexturePackerJsonImporter();
            var data = importer.Import(filename, Substitute.For<ContentImporterContext>());

            Assert.IsNotNull(data);
        }
Exemple #5
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);
        }
Exemple #6
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()
        {
            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()
        {
            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);
        }