Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/XRDP/third_party/tomlc99/stdex/   (X11 Server Version 0.10.6.1©)  Datei vom 7.6.2026 mit Größe 277 B image not shown  

Quelle  task.rs  Sprache: unbekannt

 
#![cfg(feature = "NSTask")]
use crate::{NSObjectProtocol, NSTask};

use objc2::{sel, ClassType};

#[test]
#[cfg_attr(not(target_vendor = "apple"), ignore = "only on Apple")]
fn class_cluster_and_wait_method() {
    // This method happens to only be available on the concrete subclass NSConcreteTask.
    let sel = sel!(waitUntilExit);

    let method = NSTask::class().instance_method(sel);
    assert!(method.is_none(), "class does not have method");

    let task = NSTask::new();
    assert!(task.respondsToSelector(sel), "object has method");
}

Messung V0.5 in Prozent
C=89 H=91 G=89

[zur Elbe Produktseite wechseln0.8QuellennavigatorsAnalyse erneut starten2026-10-11]