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