Skip to content

Commit 2fad3d7

Browse files
author
tekool
committed
- Removed incompatible private accessors applied to some tests
- renamed bool to boolean
1 parent 39dcfed commit 2fad3d7

File tree

15 files changed

+19
-19
lines changed

15 files changed

+19
-19
lines changed

test/src/org/puremvc/typescript/multicore/core/ModelTestProxy.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@ module test
3939
/**
4040
* @constant
4141
*/
42-
private static NAME:string = 'ModelTestProxy';
42+
public static NAME:string = 'ModelTestProxy';
4343

4444
/**
4545
* @constant
4646
*/
47-
private static ON_REGISTER_CALLED:string = 'onRegister Called';
47+
public static ON_REGISTER_CALLED:string = 'onRegister Called';
4848

4949
/**
5050
* @constant
5151
*/
52-
private static ON_REMOVE_CALLED:string = 'onRemove Called';
52+
public static ON_REMOVE_CALLED:string = 'onRemove Called';
5353
}
5454
}

test/src/org/puremvc/typescript/multicore/core/ViewTest.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module test
2222
* The name of the test case - if not provided, one is automatically generated by the
2323
* YUITest framework.
2424
*/
25-
name:string = "PureMVC View class tests";
25+
public name:string = "PureMVC View class tests";
2626

2727
/**
2828
* Store the last notification name called.
@@ -37,12 +37,12 @@ module test
3737
/**
3838
* Used by some commands to mark the onRegister method as called.
3939
*/
40-
onRegisterCalled:bool = false;
40+
onRegisterCalled:boolean = false;
4141

4242
/**
4343
* Used by some commands to mark the onRemove method as called.
4444
*/
45-
onRemoveCalled:bool = false;
45+
onRemoveCalled:boolean = false;
4646

4747
/**
4848
* A test variable that proves the viewTestMethod was invoked by the View.

test/src/org/puremvc/typescript/multicore/core/ViewTestMediator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ module test
3939
*
4040
* @constant
4141
*/
42-
private static NAME:string = "ViewTestMediator";
42+
public static NAME:string = "ViewTestMediator";
4343
}
4444
}

test/src/org/puremvc/typescript/multicore/core/ViewTestMediator2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@ module test
6464
*
6565
* @constant
6666
*/
67-
private static NAME:string = 'ViewTestMediator2';
67+
public static NAME:string = 'ViewTestMediator2';
6868
}
6969
}

test/src/org/puremvc/typescript/multicore/core/ViewTestMediator3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@ module test
6363
*
6464
* @constant
6565
*/
66-
private static NAME:string = 'ViewTestMediator3';
66+
public static NAME:string = 'ViewTestMediator3';
6767
}
6868
}

test/src/org/puremvc/typescript/multicore/core/ViewTestMediator4.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ module test
5656
*
5757
* @constant
5858
*/
59-
private static NAME:string = 'ViewTestMediator4';
59+
public static NAME:string = 'ViewTestMediator4';
6060
}
6161
}

test/src/org/puremvc/typescript/multicore/core/ViewTestMediator5.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@ module test
6262
*
6363
* @constant
6464
*/
65-
private static NAME:string = 'ViewTestMediator5';
65+
public static NAME:string = 'ViewTestMediator5';
6666
}
6767
}

test/src/org/puremvc/typescript/multicore/core/ViewTestMediator6.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,6 @@ module test
7474
*
7575
* @constant
7676
*/
77-
private static NAME:string = 'ViewTestMediator6';
77+
public static NAME:string = 'ViewTestMediator6';
7878
}
7979
}

test/src/org/puremvc/typescript/multicore/core/ViewTestNote.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module test
2828
/**
2929
* The name of this Notification.
3030
*/
31-
private static NAME:string = "ViewTestNote";
31+
public static NAME:string = "ViewTestNote";
3232

3333
/**
3434
* Factory method.

test/src/org/puremvc/typescript/multicore/patterns/command/MacroCommandTestSub.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module test
1919
* <code>Facade</code> instance of the object has well been declared
2020
* during its construction.
2121
*/
22-
hasFacade():bool
22+
hasFacade():boolean
2323
{
2424
return this.facade() instanceof puremvc.Facade;
2525
}

0 commit comments

Comments
 (0)