Follow-up from #603, rename ImportExportProvider to SerializableMemoryProvider

This commit is contained in:
David Humphrey 2018-12-05 10:09:17 -05:00
parent 61a1f5e020
commit 5218057d80
3 changed files with 6 additions and 6 deletions

View File

@ -51,7 +51,7 @@ require('./spec/providers/providers.spec');
require('./spec/providers/providers.indexeddb.spec');
require('./spec/providers/providers.websql.spec');
require('./spec/providers/providers.memory.spec');
require('./spec/providers/import-export-provider.spec');
require('./spec/providers/serializable-memory-provider.spec');
// Filer.FileSystemShell.*
require('./spec/shell/cd.spec');

View File

@ -1,7 +1,7 @@
const MemoryProvider = require('../../src/providers/memory');
const { parseBJSON } = require('../lib/test-utils');
class ImportExportProvider extends MemoryProvider {
class SerializableMemoryProvider extends MemoryProvider {
constructor(name, jsonImage) {
super(name);
@ -33,4 +33,4 @@ class ImportExportProvider extends MemoryProvider {
}
}
module.exports = ImportExportProvider;
module.exports = SerializableMemoryProvider;

View File

@ -1,8 +1,8 @@
var { uniqueName, parseBJSON } = require('../../lib/test-utils.js');
var ImportExportProvider = require('../../lib/import-export-provider');
var SerializableMemoryProvider = require('../../lib/serializable-memory-provider');
var expect = require('chai').expect;
describe('Filer Provider Tests for ImportExportProvider', function() {
describe('Filer Provider Tests for SerializableMemoryProvider', function() {
var provider;
/**
@ -21,7 +21,7 @@ describe('Filer Provider Tests for ImportExportProvider', function() {
}
beforeEach(function() {
provider = new ImportExportProvider(uniqueName(), buildImageJSON());
provider = new SerializableMemoryProvider(uniqueName(), buildImageJSON());
});
afterEach(function() {