//import abilitymanager from '@ohos.napi_ability_manager2'


//console.log('**************************getApplicationInfos********************************');

//describe('AbilityManagerTest', function () {
//    it('get_all_running_processes_test_001', 0, function () {
////        var promise = abilitymanager.getAllRunningProcesses();
////        expect(typeof(promise)).zassertEqual("object");
//        console.log('**************************getApplicationInfos********************************');
////        demo.getApplicationInfos().then((data) => {
////            console.info('**************************getApplicationInfos********************************');
////            console.info('xxx getApplicationInfos data length [' + data.length + ']');
////            for (var i = 0; i < data.length; i++) {
////                console.info("neu========================index[" + i + "].name: for begin");
////                console.info("neu========================index[" + i + "].name:" + data[i].name);
////                console.info("neu========================index[" + i + "].bundleName:" + data[i].bundleName);
////                console.info("neu========================index[" + i + "].description:" + data[i].description);
////                console.info("neu========================index[" + i + "].descriptionId:" + data[i].descriptionId);
////                console.info("neu========================index[" + i + "].iconPath:" + data[i].iconPath);
////                console.info("neu========================index[" + i + "].iconId:" + data[i].iconId);
////                console.info("neu========================index[" + i + "].label:" + data[i].label);
////                console.info("neu========================index[" + i + "].labelId:" + data[i].labelId);
////                console.info("neu========================index[" + i + "].deviceId:" + data[i].deviceId);
////                console.info("neu========================index[" + i + "].signatureKey:" + data[i].signatureKey);
////                console.info("neu========================index[" + i + "].process:" + data[i].process);
////                console.info("neu========================index[" + i + "].isSystemApp:" + data[i].isSystemApp);
////                console.info("neu========================index[" + i + "].isLauncherApp:" + data[i].isLauncherApp);
////                console.info("neu========================index[" + i + "].supportedModes:" + data[i].supportedModes);
////
////                console.info('getApplicationInfosAsync permissions length [' + data[i].permissions.length + ']');
////                for(var j = 0; j < data[i].permissions.length; j++) {
////                    console.info("neu====================index[" + i + "]permissions[" + j + "]:" + data[i].permissions[j]);
////                }
////                console.info('getApplicationInfosAsync moduleSourceDirs length [' + data[i].moduleSourceDirs.length + ']');
////                for(var j = 0; j < data[i].moduleSourceDirs.length; j++) {
////                    console.info("neu====================index[" + i + "]moduleSourceDirs[" + j + "]:" + data[i].moduleSourceDirs[j]);
////                }
////                console.info('getApplicationInfosAsync moduleInfos length [' + data[i].moduleInfos.length + ']');
////                for(var j = 0; j < data[i].moduleInfos.length; j++) {
////                    console.info("neu====================index[" + i + "]moduleInfos[" + j + "]moduleName:" + data[i].moduleInfos[j].moduleName);
////                    console.info("neu====================index[" + i + "]moduleInfos[" + j + "]moduleSourceDir:" + data[i].moduleInfos[j].moduleSourceDir);
////                }
////                console.info("neu========================index[" + i + "].entryDir:" + data[i].entryDir);
////                console.info("neu========================index[" + i + "].codePath:" + data[i].codePath);
////                console.info("neu========================index[" + i + "].dataDir:" + data[i].dataDir);
////                console.info("neu========================index[" + i + "].dataBaseDir:" + data[i].dataBaseDir);
////                console.info("neu========================index[" + i + "].cacheDir:" + data[i].cacheDir);
////            }
////        });
//
//
//    })
////    it('get_all_running_processes_test_002', 0, async function (done) {
////        var info = await abilitymanager.getAllRunningProcesses();
////        expect(info[0].processName.length).assertLarger(0);
////        done();
////    })
//})
