이벤트 가져오기 위젯 테스트 추가 및 테스트 훅 도입
This commit is contained in:
@@ -100,7 +100,7 @@ class TestDiagnostics {
|
||||
// 프로세스 정보 (플랫폼별 처리)
|
||||
if (Platform.isLinux || Platform.isMacOS) {
|
||||
try {
|
||||
final result = await Process.run('ps', ['-o', 'pid,ppid,rss,vsz,pcpu,pmem,command', '-p', '${pid}']);
|
||||
final result = await Process.run('ps', ['-o', 'pid,ppid,rss,vsz,pcpu,pmem,command', '-p', '${currentPid}']);
|
||||
_log('프로세스 정보:\n${result.stdout}');
|
||||
} catch (e) {
|
||||
_log('프로세스 정보 수집 실패: $e');
|
||||
@@ -197,5 +197,5 @@ class TestDiagnostics {
|
||||
}
|
||||
|
||||
/// 현재 프로세스 ID
|
||||
static int get pid => pid;
|
||||
static int get currentPid => pid;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user