extended events to allow grouping+delay

This commit is contained in:
Peter Schojer
2008-07-11 08:56:17 +00:00
parent 1639f5b314
commit a801ac2349
8 changed files with 118 additions and 111 deletions

View File

@@ -1332,7 +1332,7 @@ void ExtJSTest::testJSEvent()
pBut->buttonClicked.add(jsDelegate("someFunction2(obj)"));
pBut->buttonClicked.add(jsDelegate("hello(obj){alert('Click');}")); //hello must get renamed to function
std::ostringstream out;
Utility::writeJSEvent(out, "clicked", pBut->buttonClicked.jsDelegates());
Utility::writeJSEvent(out, "clicked", pBut->buttonClicked.jsDelegates(),0, false);
std::string result(out.str());
static const std::string expected("'clicked':"
"{"
@@ -1363,7 +1363,7 @@ void ExtJSTest::testJSEvent2()
pBut->buttonClicked.add(jsDelegate("someFunction2(obj,o2)"));
pBut->buttonClicked.add(jsDelegate("hello(obj){alert('Click');}")); //hello must get renamed to function
std::ostringstream out;
Utility::writeJSEvent(out, "clicked", pBut->buttonClicked.jsDelegates());
Utility::writeJSEvent(out, "clicked", pBut->buttonClicked.jsDelegates(),0, false);
std::string result(out.str());
static const std::string expected("'clicked':"
"{"