2014-01-14 15:56:36 +00:00
|
|
|
define(["Filer"], function(Filer) {
|
|
|
|
describe("Filer.FileSystem.providers", function() {
|
2013-11-27 17:18:09 +00:00
|
|
|
it("is defined", function() {
|
2014-01-14 15:56:36 +00:00
|
|
|
expect(typeof Filer.FileSystem.providers).not.toEqual(undefined);
|
2013-11-27 17:18:09 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
it("has IndexedDB constructor", function() {
|
2014-01-14 15:56:36 +00:00
|
|
|
expect(typeof Filer.FileSystem.providers.IndexedDB).toEqual('function');
|
2013-11-27 17:18:09 +00:00
|
|
|
});
|
|
|
|
|
2013-11-27 21:52:52 +00:00
|
|
|
it("has WebSQL constructor", function() {
|
2014-01-14 15:56:36 +00:00
|
|
|
expect(typeof Filer.FileSystem.providers.WebSQL).toEqual('function');
|
2013-11-27 21:52:52 +00:00
|
|
|
});
|
|
|
|
|
2013-11-27 17:18:09 +00:00
|
|
|
it("has Memory constructor", function() {
|
2014-01-14 15:56:36 +00:00
|
|
|
expect(typeof Filer.FileSystem.providers.Memory).toEqual('function');
|
2013-11-27 17:18:09 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
it("has a Default constructor", function() {
|
2014-01-14 15:56:36 +00:00
|
|
|
expect(typeof Filer.FileSystem.providers.Default).toEqual('function');
|
2013-11-27 17:18:09 +00:00
|
|
|
});
|
2013-11-27 21:52:52 +00:00
|
|
|
|
2013-11-29 15:29:04 +00:00
|
|
|
it("has Fallback constructor", function() {
|
2014-01-14 15:56:36 +00:00
|
|
|
expect(typeof Filer.FileSystem.providers.Fallback).toEqual('function');
|
2013-11-27 21:52:52 +00:00
|
|
|
});
|
2013-11-27 17:18:09 +00:00
|
|
|
});
|
|
|
|
});
|