Your browser sucks, JavaScript disabled! Gunnar's console needs JavaScript and WebAssembly. Git over SSH on port 2222 does not.

nordisk/monetize

crates/monetize-proto/tests/no_sold_estate_door.rs

//! ★ **H16: the old SoldEstate door is gone.** The fold (P3-FLEET, plan §8) put a front's five
//! calls on `Fleet.Ask`; the ONE box served both doors for one release (R3+R4) and the next one
//! deletes the old one: no `service SoldEstate`, so no client nor server is generated. Its
//! messages stay: they are the bodies `Fleet.Ask` carries.

#[test]
fn no_sold_estate_service_is_declared_and_its_messages_stay_for_fleet() {
    let proto = include_str!("../proto/monetize/v1/estate_order.proto");
    assert!(!proto.contains("service SoldEstate"), "the old door is deleted");
    for m in ["message EstateUpgradeRequest", "message EstateRechargeRequest", "message EstateTakeMaterialRequest", "message EstateUpdateTakeRequest", "message EstateUpdateReportRequest"] {
        assert!(proto.contains(m), "{m} stays: Fleet.Ask carries it");
    }
}