2013-12-01 21:41:04 +00:00
|
|
|
define(["IDBFS"], function(IDBFS) {
|
|
|
|
describe("IDBFS.FileSystem.adapters", function() {
|
|
|
|
it("is defined", function() {
|
|
|
|
expect(typeof IDBFS.FileSystem.adapters).not.toEqual(undefined);
|
|
|
|
});
|
|
|
|
|
|
|
|
it("has an AES constructor", function() {
|
|
|
|
expect(typeof IDBFS.FileSystem.adapters.AES).toEqual('function');
|
|
|
|
});
|
|
|
|
|
|
|
|
it("has a TripleDES constructor", function() {
|
|
|
|
expect(typeof IDBFS.FileSystem.adapters.TripleDES).toEqual('function');
|
|
|
|
});
|
|
|
|
|
|
|
|
it("has a Rabbit constructor", function() {
|
|
|
|
expect(typeof IDBFS.FileSystem.adapters.Rabbit).toEqual('function');
|
|
|
|
});
|
|
|
|
|
|
|
|
it("has a default Encryption constructor", function() {
|
|
|
|
expect(typeof IDBFS.FileSystem.adapters.Encryption).toEqual('function');
|
|
|
|
});
|
2013-12-03 20:14:20 +00:00
|
|
|
|
|
|
|
it("has a Zlib constructor", function() {
|
|
|
|
expect(typeof IDBFS.FileSystem.adapters.Zlib).toEqual('function');
|
|
|
|
});
|
|
|
|
|
|
|
|
it("has a default Compression constructor", function() {
|
|
|
|
expect(typeof IDBFS.FileSystem.adapters.Compression).toEqual('function');
|
|
|
|
});
|
2013-12-01 21:41:04 +00:00
|
|
|
});
|
|
|
|
});
|