正在查看: xDrip+ v04633772025.07.16 应用的 DebugUnitTestLogger.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: xDrip+ v04633772025.07.16 应用的 DebugUnitTestLogger.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.eveningoutpost.dexdrip.watch.thinjam;
import com.eveningoutpost.dexdrip.models.JoH;
import com.eveningoutpost.dexdrip.models.UserError;
import com.eveningoutpost.dexdrip.utilitymodels.Inevitable;
import com.eveningoutpost.dexdrip.watch.thinjam.io.GetURL;
public class DebugUnitTestLogger {
private final BlueJayService parent;
public DebugUnitTestLogger(BlueJayService blueJayService) {
this.parent = blueJayService;
}
public void processTestSuite(final String str) {
JoH.static_toast_long("Test Suite: " + str);
UserError.Log.d("BlueJayMassUnit", "Process called with: " + str);
if (str == null) {
UserError.Log.d("BlueJayMassUnit", "Null process command received!");
return;
}
if (str.equals("shutdown")) {
this.parent.stopSelf();
}
Inevitable.task("bj-mass-prod-schedule-test" + str, 100L, new Runnable() {
@Override
public void run() {
UserError.Log.d("BlueJayMassUnit", "Unit test schedule result for " + str + ": " + GetURL.getURL("http://127.0.0.1:12577/mass/batch/schedule/" + str + "/" + BlueJay.getMac()));
}
});
}
}