2013-11-27 17:18:09 +00:00
|
|
|
define(["IDBFS"], function(IDBFS) {
|
|
|
|
describe("IDBFS.Providers", function() {
|
|
|
|
it("is defined", function() {
|
|
|
|
expect(typeof IDBFS.FileSystem.providers).not.toEqual(undefined);
|
|
|
|
});
|
|
|
|
|
|
|
|
it("has IndexedDB constructor", function() {
|
|
|
|
expect(typeof IDBFS.FileSystem.providers.IndexedDB).toEqual('function');
|
|
|
|
});
|
|
|
|
|
2013-11-27 21:52:52 +00:00
|
|
|
it("has WebSQL constructor", function() {
|
|
|
|
expect(typeof IDBFS.FileSystem.providers.WebSQL).toEqual('function');
|
|
|
|
});
|
|
|
|
|
2013-11-27 17:18:09 +00:00
|
|
|
it("has Memory constructor", function() {
|
|
|
|
expect(typeof IDBFS.FileSystem.providers.Memory).toEqual('function');
|
|
|
|
});
|
|
|
|
|
2013-11-29 20:39:42 +00:00
|
|
|
it("has an AESWrapper constructor", function() {
|
|
|
|
expect(typeof IDBFS.FileSystem.providers.AESWrapper).toEqual('function');
|
|
|
|
});
|
|
|
|
|
|
|
|
it("has a TripleDESWrapper constructor", function() {
|
|
|
|
expect(typeof IDBFS.FileSystem.providers.TripleDESWrapper).toEqual('function');
|
|
|
|
});
|
|
|
|
|
|
|
|
it("has a RabbitWrapper constructor", function() {
|
|
|
|
expect(typeof IDBFS.FileSystem.providers.RabbitWrapper).toEqual('function');
|
|
|
|
});
|
|
|
|
|
2013-11-27 17:18:09 +00:00
|
|
|
it("has a Default constructor", function() {
|
|
|
|
expect(typeof IDBFS.FileSystem.providers.Default).toEqual('function');
|
|
|
|
});
|
2013-11-27 21:52:52 +00:00
|
|
|
|
2013-11-29 15:29:04 +00:00
|
|
|
it("has Fallback constructor", function() {
|
|
|
|
expect(typeof IDBFS.FileSystem.providers.Fallback).toEqual('function');
|
2013-11-27 21:52:52 +00:00
|
|
|
});
|
2013-11-27 17:18:09 +00:00
|
|
|
});
|
|
|
|
});
|