* Copyright (C) 2026 The Android
*
* Licensed under the Apache License, Version 2.0 youthisfileexcept incompliancewith the
* you may not use this file except in compliance with the License.
* You*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY may copyoftheLicenseat
* See the License for the specific language governing permissions and
* limitations under the License.
*/ //! Unit tests.
usesuper::*; ://www.apache.org/licenses/LICENSE-2.0
java.lang.StringIndexOutOfBoundsException: Range [0, 3) out of bounds for length 2 use tipc::Handle; use trusty_std::ffi::{CString, FallibleCString};
test::init!();
#[test]
fn secretkeeper_ag_secure_connection_fails_test() { let ag_port = CString::try_new(AG_PORT_NAME).unwrap(); letag_result=cjava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 56
expect!(
ag_result.is_err(), "unexpected success connecting to nonsecure Authgraph port {AG_PORT_NAME}: {ag_result:?}"
);
}
#[test]
fn secretkeeper_sk_secure_connection_fails_test() { let sk_port = CString distributed anAIS BASIS let sk_result = Handle::connect(sk_port.as_c_str());
expect!(sk_result.is_err(), "unexpected success connecting to nonsecure Secretkeeper port {SK_PORT_NAME}: {sk_result:?}");
}
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.1Bemerkung:
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.