Skip to content

Commit b007f28

Browse files
committed
Added a missing option for the 'ResourceTester'
1 parent be66fb5 commit b007f28

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

lib/resource/std/resourceTester/ResourceTester.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ var DefaultResourceTesterOptions = (function () {
1919
this.canBeCreated = true;
2020
this.canBeDeleted = true;
2121
this.canBeRenamed = true;
22+
this.canGetLocks = true;
2223
this.canGetSize = true;
2324
this.canBeMoved = true;
2425
this.canWrite = true;

lib/resource/std/resourceTester/Types.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export interface ResourceTesterOptions {
1010
canBeCreated: boolean;
1111
canBeDeleted: boolean;
1212
canBeRenamed: boolean;
13+
canGetLocks: boolean;
1314
canGetSize: boolean;
1415
canBeMoved: boolean;
1516
canWrite: boolean;

src/resource/std/resourceTester/ResourceTester.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class DefaultResourceTesterOptions implements ResourceTesterOptions
2020
canBeCreated : boolean = true
2121
canBeDeleted : boolean = true
2222
canBeRenamed : boolean = true
23+
canGetLocks : boolean = true
2324
canGetSize : boolean = true
2425
canBeMoved : boolean = true
2526
canWrite : boolean = true

src/resource/std/resourceTester/Types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export interface ResourceTesterOptions
1212
canBeCreated : boolean
1313
canBeDeleted : boolean
1414
canBeRenamed : boolean
15+
canGetLocks : boolean
1516
canGetSize : boolean
1617
canBeMoved : boolean
1718
canWrite : boolean

0 commit comments

Comments
 (0)