refactor!: remove deprecated methods (#229)

This commit is contained in:
jcesarmobile
2022-09-05 23:20:52 +02:00
committed by GitHub
parent 49b94aed6a
commit fbe33eb327
9 changed files with 3 additions and 135 deletions
-19
View File
@@ -44,18 +44,12 @@ exports.defineAutoTests = function () {
});
it('statusbar.spec.4 should have set style methods', function () {
expect(window.StatusBar.styleBlackTranslucent).toBeDefined();
expect(typeof window.StatusBar.styleBlackTranslucent).toBe('function');
expect(window.StatusBar.styleDefault).toBeDefined();
expect(typeof window.StatusBar.styleDefault).toBe('function');
expect(window.StatusBar.styleLightContent).toBeDefined();
expect(typeof window.StatusBar.styleLightContent).toBe('function');
expect(window.StatusBar.styleBlackOpaque).toBeDefined();
expect(typeof window.StatusBar.styleBlackOpaque).toBe('function');
expect(window.StatusBar.overlaysWebView).toBeDefined();
expect(typeof window.StatusBar.overlaysWebView).toBe('function');
});
@@ -85,11 +79,6 @@ exports.defineManualTests = function (contentEl, createActionButton) {
StatusBar.backgroundColorByName('red');
}
function doColor2 () {
log('set style=translucent black');
StatusBar.styleBlackTranslucent();
}
function doColor3 () {
log('set style=default');
StatusBar.styleDefault();
@@ -153,14 +142,6 @@ exports.defineManualTests = function (contentEl, createActionButton) {
'action-color1'
);
createActionButton(
'Style=translucent black',
function () {
doColor2();
},
'action-color2'
);
createActionButton(
'Style=default',
function () {