// Step 1930: ASTNodeBreakpointMapper // // t1: setBreakpoint and getBreakpoints // t2: breakpointsForLanguage filters correctly // t3: removeBreakpoint removes one language, others intact // t4: activateAll/deactivateAll/hitCount // t5: clear empties everything #include "ASTNodeBreakpointMapper.h" #include namespace ws = whetstone; static int p=0,f=0; #define T(n) { std::cout<<" "<<#n<<"... "; } #define P() { std::cout<<"PASS\n"; ++p; } #define F(m) { std::cout<<"FAIL: "< 0 ? 1 : 0; }