fn test_edition_before_2024()

in optee-utee-build/src/code_generator.rs [341:350]


    fn test_edition_before_2024() {
        let uuid = "26509cec-4a2b-4935-87ab-762d89fbf0b0";
        let conf = TaConfig::new_default(uuid, "0.1.0", "test_before_2024")
            .unwrap()
            .ta_data_size(1 * 1024 * 1024);
        let generator = HeaderFileGenerator::new(RustEdition::Before2024);
        let codes = generator.generate(&conf).unwrap();
        let exp_result = include_str!("../test_files/test_edition_before_2024_result.rs");
        assert_eq!(codes, exp_result);
    }