@@ -21,17 +21,17 @@ module.exports = function (appClient) {
2121
2222 it ( 'testSoftButtonManagerUpdate' , function ( done ) {
2323 screenManager . setSoftButtonObjects ( [ softButtonObject ] ) ;
24- softButtonObject . setButtonId ( softButtonObjectId ) ;
24+ softButtonObject . _setButtonId ( softButtonObjectId ) ;
2525 Validator . assertNotNullUndefined ( softButtonManager ) ;
2626 Validator . assertEquals ( [ softButtonObject ] , softButtonManager . getSoftButtonObjects ( ) ) ;
2727 done ( ) ;
2828 } ) ;
2929
3030 it ( 'testSoftButtonManagerGetSoftButtonObject' , function ( done ) {
3131 Validator . assertNull ( softButtonManager . getSoftButtonObjectByName ( 'INVALID' ) ) ;
32- Validator . assertNull ( softButtonManager . getSoftButtonObjectById ( 'infinity' ) ) ;
32+ Validator . assertNull ( softButtonManager . _getSoftButtonObjectById ( 'infinity' ) ) ;
3333 Validator . assertEquals ( softButtonObject , softButtonManager . getSoftButtonObjectByName ( 'game' ) ) ;
34- Validator . assertEquals ( softButtonObject , softButtonManager . getSoftButtonObjectById ( softButtonObjectId ) ) ;
34+ Validator . assertEquals ( softButtonObject , softButtonManager . _getSoftButtonObjectById ( softButtonObjectId ) ) ;
3535 done ( ) ;
3636 } ) ;
3737
@@ -84,19 +84,19 @@ module.exports = function (appClient) {
8484
8585 // sbo1 = new SDL.manager.screen.utils.SoftButtonObject(null, [], null, null);
8686 sbo1 = new SDL . manager . screen . utils . SoftButtonObject ( null , [ state1 , state2 , state3 ] , state1 . getName ( ) , null ) ;
87- sbo1 . setButtonId ( 100 ) ;
87+ sbo1 . _setButtonId ( 100 ) ;
8888 // sbo2 = new SDL.manager.screen.utils.SoftButtonObject(null, [], null, null);
8989 sbo2 = new SDL . manager . screen . utils . SoftButtonObject ( null , [ state1 , state2 , state3 ] , state1 . getName ( ) , null ) ;
90- sbo2 . setButtonId ( 200 ) ;
90+ sbo2 . _setButtonId ( 200 ) ;
9191 // sbo3 = new SDL.manager.screen.utils.SoftButtonObject(null, [], null, null);
9292 sbo3 = new SDL . manager . screen . utils . SoftButtonObject ( null , [ state1 , state2 , state3 ] , state1 . getName ( ) , null ) ;
93- sbo3 . setButtonId ( 300 ) ;
93+ sbo3 . _setButtonId ( 300 ) ;
9494 // sbo4 = new SDL.manager.screen.utils.SoftButtonObject(null, [], null, null);
9595 sbo4 = new SDL . manager . screen . utils . SoftButtonObject ( null , [ state1 , state2 , state3 ] , state1 . getName ( ) , null ) ;
96- sbo4 . setButtonId ( 400 ) ;
96+ sbo4 . _setButtonId ( 400 ) ;
9797 // sbo5 = new SDL.manager.screen.utils.SoftButtonObject(null, [], null, null);
9898 sbo5 = new SDL . manager . screen . utils . SoftButtonObject ( null , [ state1 , state2 , state3 ] , state1 . getName ( ) , null ) ;
99- sbo5 . setButtonId ( 500 ) ;
99+ sbo5 . _setButtonId ( 500 ) ;
100100 softButtonManager . _checkAndAssignButtonIds ( [ sbo1 , sbo2 , sbo3 , sbo4 , sbo5 ] ) ;
101101 Validator . assertEquals ( 100 , sbo1 . getButtonId ( ) ) ;
102102 Validator . assertEquals ( 200 , sbo2 . getButtonId ( ) ) ;
@@ -106,14 +106,14 @@ module.exports = function (appClient) {
106106
107107 // sbo1 = new SDL.manager.screen.utils.SoftButtonObject(null, [], null, null);
108108 sbo1 = new SDL . manager . screen . utils . SoftButtonObject ( null , [ state1 , state2 , state3 ] , state1 . getName ( ) , null ) ;
109- sbo1 . setButtonId ( 50 ) ;
109+ sbo1 . _setButtonId ( 50 ) ;
110110 // sbo2 = new SDL.manager.screen.utils.SoftButtonObject(null, [], null, null);
111111 sbo2 = new SDL . manager . screen . utils . SoftButtonObject ( null , [ state1 , state2 , state3 ] , state1 . getName ( ) , null ) ;
112112 // sbo3 = new SDL.manager.screen.utils.SoftButtonObject(null, [], null, null);
113113 sbo3 = new SDL . manager . screen . utils . SoftButtonObject ( null , [ state1 , state2 , state3 ] , state1 . getName ( ) , null ) ;
114114 // sbo4 = new SDL.manager.screen.utils.SoftButtonObject(null, [], null, null);
115115 sbo4 = new SDL . manager . screen . utils . SoftButtonObject ( null , [ state1 , state2 , state3 ] , state1 . getName ( ) , null ) ;
116- sbo4 . setButtonId ( 100 ) ;
116+ sbo4 . _setButtonId ( 100 ) ;
117117 // sbo5 = new SDL.manager.screen.utils.SoftButtonObject(null, [], null, null);
118118 sbo5 = new SDL . manager . screen . utils . SoftButtonObject ( null , [ state1 , state2 , state3 ] , state1 . getName ( ) , null ) ;
119119 softButtonManager . _checkAndAssignButtonIds ( [ sbo1 , sbo2 , sbo3 , sbo4 , sbo5 ] ) ;
0 commit comments