__ __ _
\ \ / / _| |_ _ __ __ _
\ V / |_ _|| '__| / _` |
/ Λ \ | | | | | (_| |
/_/ \_\ |_| |_| \__,_|
_ _ _ _ _ _
| | | | _| |_ (_)| | ___ (_) ___
| | | ||_ _| _ | |/___| _ / __|
| |__| | | | | || |\__ \ _ | |\__ \
\____/ |_| |_||_||___/(_)| ||___/
| |
_/ |
|__/
Compatability with your device:
<script>
'use strict';
let data = {
fails: 0,
warns: 0,
warnings: [],
successes: 0,
errors: [],
tests: tests.reduce((i,j)=>{return j.length+i-1}, 0)
}
new Vue({
el: "#bar",
data: data
})
!async function(){
const wait = ms => new Promise((r, j)=>setTimeout(r, ms))
await XtraUtils.activateAll();
for(let i = 0; i < tests.length; i++) {
let test = tests[i];
for(let j = 1; j < test.length; j++) {
try {
let func = await Function(test[j]),
res = await func();
if(!res) {
data.warns+=1
await data.warnings.push([`Test: ${test[0]}:${j+1}`, res, test[j]])
} else {
data.successes+=1;
}
} catch (e) {
await console.error(e)
await data.errors.push([`Test: ${test[0]}:${j+1}`, e.stack]);
data.fails+=1;
};
};
}
}();
</script>