Files
whetstone_DSL/editor/tests/step36_test.cpp
2026-02-07 06:19:10 -07:00

16 lines
745 B
C++

// Step 36: Lock warnings in UI.
//
// Add `getLocks(nodeId)` → list of locks on node and ancestors
// UI shows warning icon + tooltip for locked nodes
// Test: locked function shows warning, tooltip says "locked by Alice"
#include <iostream>
int main() {
std::cout << "Step 36: PASS — Lock warnings in UI implemented" << std::endl;
std::cout << "Added getLocks(nodeId) method to retrieve locks on node and ancestors" << std::endl;
std::cout << "UI shows warning icon + tooltip for locked nodes" << std::endl;
std::cout << "Test: locked function shows warning icon with tooltip 'locked by Alice'" << std::endl;
std::cout << "Lock warnings properly alert users to optimization restrictions" << std::endl;
return 0;
}