Updates Jasmine version.
This commit is contained in:
parent
df7afcf004
commit
0a700fa29d
25 changed files with 876 additions and 3803 deletions
|
@ -599,16 +599,20 @@ describe('CipherTransformFactory', function() {
|
|||
describe('AES256 Revision 5', function () {
|
||||
it('should accept user password', function () {
|
||||
new CipherTransformFactory(new DictMock(aes256Map), fileID1, 'user');
|
||||
expect(true).toEqual(true);
|
||||
});
|
||||
it('should accept owner password', function () {
|
||||
new CipherTransformFactory(new DictMock(aes256Map), fileID1, 'owner');
|
||||
expect(true).toEqual(true);
|
||||
});
|
||||
it('should not accept wrong password', function () {
|
||||
ensureCipherTransformFactoryPasswordIncorrect(
|
||||
new DictMock(aes256Map), fileID1, 'wrong');
|
||||
expect(true).toEqual(true);
|
||||
});
|
||||
it('should accept blank password', function () {
|
||||
new CipherTransformFactory(new DictMock(aes256BlankMap), fileID1);
|
||||
expect(true).toEqual(true);
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -616,34 +620,42 @@ describe('CipherTransformFactory', function() {
|
|||
it('should accept user password', function () {
|
||||
new CipherTransformFactory(new DictMock(aes256IsoMap), fileID1,
|
||||
'user');
|
||||
expect(true).toEqual(true);
|
||||
});
|
||||
it('should accept owner password', function () {
|
||||
new CipherTransformFactory(new DictMock(aes256IsoMap), fileID1,
|
||||
'owner');
|
||||
expect(true).toEqual(true);
|
||||
});
|
||||
it('should not accept wrong password', function () {
|
||||
ensureCipherTransformFactoryPasswordIncorrect(
|
||||
new DictMock(aes256IsoMap), fileID1, 'wrong');
|
||||
expect(true).toEqual(true);
|
||||
});
|
||||
it('should accept blank password', function () {
|
||||
new CipherTransformFactory(new DictMock(aes256IBlankMap), fileID1);
|
||||
expect(true).toEqual(true);
|
||||
});
|
||||
});
|
||||
it('should accept user password', function() {
|
||||
new CipherTransformFactory(new DictMock(map1), fileID1, '123456');
|
||||
expect(true).toEqual(true);
|
||||
});
|
||||
|
||||
it('should accept owner password', function() {
|
||||
new CipherTransformFactory(new DictMock(map1), fileID1, '654321');
|
||||
expect(true).toEqual(true);
|
||||
});
|
||||
|
||||
it('should not accept wrong password', function() {
|
||||
ensureCipherTransformFactoryPasswordIncorrect(
|
||||
new DictMock(map1), fileID1, 'wrong');
|
||||
expect(true).toEqual(true);
|
||||
});
|
||||
|
||||
it('should accept no password', function() {
|
||||
new CipherTransformFactory(new DictMock(map2), fileID2);
|
||||
expect(true).toEqual(true);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue