Lively Kernel canvas
129falsenull
19falsenull
29falsenull
39falsenull
49falsenull
59falsenull
69falsenull
79falsenull
89falsenull
99falsenull
109falsenull
119falsenull
12.482303922054781
5.2743849995268635
2.3038346126325147
100026.744112817280183012
10000.08365073217011232Wikicontroltrue
Savefalsenull
truenullfalse
10000.7309967327845383Wikicontroltrue
ReferenceError:connectisnotdefined16null
10000.10450345422100339Wikicontroltrue
10000.5411396496360306Wikicontroltrue
10000.0000386780550049279Wikicontroltrue
10000.5904926156892817Wikicontroltrue
10006.349571197789829e-10Wikicontroltrue
10000.00004048376795518014Wikicontroltrue
10000.15009489288246786Wikicontroltrue
10000.0032471950005876094Wikicontroltrue
10000.014825864903682213Wikicontroltrue
10000.06461081892918942Wikicontroltrue
10000.0000016045894024779686Wikicontroltrue
10000.00011611842225469233Wikicontroltrue
10004.1055524377994107e-11Wikicontroltrue
10002.1802567770573716e-11Wikicontroltrue
10000.0423911582755386Wikicontroltrue
10000.00014950733039660166Wikicontroltrue
SatMar27201017:26:25GMT+0100(CET)2
nulltruex=newTestRunner()x.open()x.runAllTests()newTestRunner2().open()lively.Tests.WebCollabAgentTest(function(){$morph('foo').updateTextString(newDate().toString())}).delay(1000)truetruefalse9truetruefalse
false1truefalsetruetruefalse
nullfalsetruenullfalse
falsenullfalse
false
false
falsenullfalsefalsenullnullnullnullfalse
10006.742910433910802Wikicontroltrue
lively.Tests.WebCollabAgentTestfalse
Runfalsenullfalsefalse
falsenull
successlively.Tests.WebCollabAgentTest.ServerComTest>>testLoginAndOut>testLoginAndOut"]]>falsetruefalse0false
successlively.Tests.WebCollabAgentTest.ServerComTest>>testContinousConnection>testContinousConnection"]]>falsetruefalse0false
successlively.Tests.WebCollabAgentTest.ServerComTest>>testBroadcast>testBroadcast"]]>falsetruefalse0false
successlively.Tests.WebCollabAgentTest.ServerComTest>>testBroadcastTwoAtOnce>testBroadcastTwoAtOnce"]]>falsetruefalse0false
successlively.Tests.WebCollabAgentTest.ServerComTest>>testMessageOnlyBroadcastedOnChannel>testMessageOnlyBroadcastedOnChannel"]]>falsetruefalse0false861.01- >testLoginAndOut","value":"new lively.Tests.WebCollabAgentTest.ServerComTest(null, \"testLoginAndOut\")","test":{"result":{"failed":[],"succeeded":[{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testLoginAndOut"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testContinousConnection"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testBroadcast"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testBroadcastTwoAtOnce"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testMessageOnlyBroadcastedOnChannel"}],"timeToRun":{},"constructor":null,"initialize":null,"setTimeToRun":null,"getTimeToRun":null,"addSuccess":null,"addFailure":null,"runs":null,"toString":null,"printResult":null,"shortResult":null,"getFileNameFromError":null,"failureList":null,"successList":null},"currentSelector":"testLoginAndOut","statusUpdateFunc":null,"_maxWaitDelay":1000,"_done":true,"constructor":null,"testLoginAndOut":null,"testContinousConnection":null,"testBroadcast":null,"testBroadcastTwoAtOnce":null,"testMessageOnlyBroadcastedOnChannel":null,"initialize":null,"setMaxWaitDelay":null,"show":null,"done":null,"isDone":null,"delay":null,"runAll":null,"runAndDoWhenDone":null,"scheduled":null,"success":null,"shouldRun":true,"verbose":null,"log":null,"createTests":null,"name":null,"id":null,"setUp":null,"tearDown":null,"runTest":null,"debugTest":null,"assert":null,"assertEqual":null,"assertEquals":null,"assertIdentity":null,"assertEqualState":null,"assertIncludesAll":null,"allTestSelectors":null,"toString":null,"running":null,"failure":null},"isJSONConformant":true}]]>
- >testContinousConnection","value":"new lively.Tests.WebCollabAgentTest.ServerComTest(null, \"testContinousConnection\")","test":{"result":{"failed":[],"succeeded":[{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testLoginAndOut"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testContinousConnection"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testBroadcast"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testBroadcastTwoAtOnce"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testMessageOnlyBroadcastedOnChannel"}],"timeToRun":{},"constructor":null,"initialize":null,"setTimeToRun":null,"getTimeToRun":null,"addSuccess":null,"addFailure":null,"runs":null,"toString":null,"printResult":null,"shortResult":null,"getFileNameFromError":null,"failureList":null,"successList":null},"currentSelector":"testContinousConnection","statusUpdateFunc":null,"_maxWaitDelay":2610,"_done":true,"constructor":null,"testLoginAndOut":null,"testContinousConnection":null,"testBroadcast":null,"testBroadcastTwoAtOnce":null,"testMessageOnlyBroadcastedOnChannel":null,"initialize":null,"setMaxWaitDelay":null,"show":null,"done":null,"isDone":null,"delay":null,"runAll":null,"runAndDoWhenDone":null,"scheduled":null,"success":null,"shouldRun":true,"verbose":null,"log":null,"createTests":null,"name":null,"id":null,"setUp":null,"tearDown":null,"runTest":null,"debugTest":null,"assert":null,"assertEqual":null,"assertEquals":null,"assertIdentity":null,"assertEqualState":null,"assertIncludesAll":null,"allTestSelectors":null,"toString":null,"running":null,"failure":null},"isJSONConformant":true}]]>
- >testBroadcast","value":"new lively.Tests.WebCollabAgentTest.ServerComTest(null, \"testBroadcast\")","test":{"result":{"failed":[],"succeeded":[{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testLoginAndOut"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testContinousConnection"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testBroadcast"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testBroadcastTwoAtOnce"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testMessageOnlyBroadcastedOnChannel"}],"timeToRun":{},"constructor":null,"initialize":null,"setTimeToRun":null,"getTimeToRun":null,"addSuccess":null,"addFailure":null,"runs":null,"toString":null,"printResult":null,"shortResult":null,"getFileNameFromError":null,"failureList":null,"successList":null},"currentSelector":"testBroadcast","statusUpdateFunc":null,"_maxWaitDelay":1010,"_done":true,"constructor":null,"testLoginAndOut":null,"testContinousConnection":null,"testBroadcast":null,"testBroadcastTwoAtOnce":null,"testMessageOnlyBroadcastedOnChannel":null,"initialize":null,"setMaxWaitDelay":null,"show":null,"done":null,"isDone":null,"delay":null,"runAll":null,"runAndDoWhenDone":null,"scheduled":null,"success":null,"shouldRun":true,"verbose":null,"log":null,"createTests":null,"name":null,"id":null,"setUp":null,"tearDown":null,"runTest":null,"debugTest":null,"assert":null,"assertEqual":null,"assertEquals":null,"assertIdentity":null,"assertEqualState":null,"assertIncludesAll":null,"allTestSelectors":null,"toString":null,"running":null,"failure":null},"isJSONConformant":true}]]>
- >testBroadcastTwoAtOnce","value":"new lively.Tests.WebCollabAgentTest.ServerComTest(null, \"testBroadcastTwoAtOnce\")","test":{"result":{"failed":[],"succeeded":[{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testLoginAndOut"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testContinousConnection"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testBroadcast"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testBroadcastTwoAtOnce"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testMessageOnlyBroadcastedOnChannel"}],"timeToRun":{},"constructor":null,"initialize":null,"setTimeToRun":null,"getTimeToRun":null,"addSuccess":null,"addFailure":null,"runs":null,"toString":null,"printResult":null,"shortResult":null,"getFileNameFromError":null,"failureList":null,"successList":null},"currentSelector":"testBroadcastTwoAtOnce","statusUpdateFunc":null,"_maxWaitDelay":1000,"_done":true,"constructor":null,"testLoginAndOut":null,"testContinousConnection":null,"testBroadcast":null,"testBroadcastTwoAtOnce":null,"testMessageOnlyBroadcastedOnChannel":null,"initialize":null,"setMaxWaitDelay":null,"show":null,"done":null,"isDone":null,"delay":null,"runAll":null,"runAndDoWhenDone":null,"scheduled":null,"success":null,"shouldRun":true,"verbose":null,"log":null,"createTests":null,"name":null,"id":null,"setUp":null,"tearDown":null,"runTest":null,"debugTest":null,"assert":null,"assertEqual":null,"assertEquals":null,"assertIdentity":null,"assertEqualState":null,"assertIncludesAll":null,"allTestSelectors":null,"toString":null,"running":null,"failure":null},"isJSONConformant":true}]]>
- >testMessageOnlyBroadcastedOnChannel","value":"new lively.Tests.WebCollabAgentTest.ServerComTest(null, \"testMessageOnlyBroadcastedOnChannel\")","test":{"result":{"failed":[],"succeeded":[{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testLoginAndOut"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testContinousConnection"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testBroadcast"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testBroadcastTwoAtOnce"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testMessageOnlyBroadcastedOnChannel"}],"timeToRun":{},"constructor":null,"initialize":null,"setTimeToRun":null,"getTimeToRun":null,"addSuccess":null,"addFailure":null,"runs":null,"toString":null,"printResult":null,"shortResult":null,"getFileNameFromError":null,"failureList":null,"successList":null},"currentSelector":"testMessageOnlyBroadcastedOnChannel","statusUpdateFunc":null,"_maxWaitDelay":810,"_done":true,"constructor":null,"testLoginAndOut":null,"testContinousConnection":null,"testBroadcast":null,"testBroadcastTwoAtOnce":null,"testMessageOnlyBroadcastedOnChannel":null,"initialize":null,"setMaxWaitDelay":null,"show":null,"done":null,"isDone":null,"delay":null,"runAll":null,"runAndDoWhenDone":null,"scheduled":null,"success":null,"shouldRun":true,"verbose":null,"log":null,"createTests":null,"name":null,"id":null,"setUp":null,"tearDown":null,"runTest":null,"debugTest":null,"assert":null,"assertEqual":null,"assertEquals":null,"assertIdentity":null,"assertEqualState":null,"assertIncludesAll":null,"allTestSelectors":null,"toString":null,"running":null,"failure":null},"isJSONConformant":true}]]>
4nullnulltrue
falsefalsenulltruetruefalse
false1truefalsetruetruefalse
truefalsenull>testLoginAndOut":{"isListItem":true,"string":"success lively.Tests.WebCollabAgentTest.ServerComTest>>testLoginAndOut","value":"new lively.Tests.WebCollabAgentTest.ServerComTest(null, \"testLoginAndOut\")","test":{"result":{"failed":[],"succeeded":[{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testLoginAndOut"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testContinousConnection"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testBroadcast"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testBroadcastTwoAtOnce"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testMessageOnlyBroadcastedOnChannel"}],"timeToRun":{},"constructor":null,"initialize":null,"setTimeToRun":null,"getTimeToRun":null,"addSuccess":null,"addFailure":null,"runs":null,"toString":null,"printResult":null,"shortResult":null,"getFileNameFromError":null,"failureList":null,"successList":null},"currentSelector":"testLoginAndOut","statusUpdateFunc":null,"_maxWaitDelay":1000,"_done":true,"constructor":null,"testLoginAndOut":null,"testContinousConnection":null,"testBroadcast":null,"testBroadcastTwoAtOnce":null,"testMessageOnlyBroadcastedOnChannel":null,"initialize":null,"setMaxWaitDelay":null,"show":null,"done":null,"isDone":null,"delay":null,"runAll":null,"runAndDoWhenDone":null,"scheduled":null,"success":null,"shouldRun":true,"verbose":null,"log":null,"createTests":null,"name":null,"id":null,"setUp":null,"tearDown":null,"runTest":null,"debugTest":null,"assert":null,"assertEqual":null,"assertEquals":null,"assertIdentity":null,"assertEqualState":null,"assertIncludesAll":null,"allTestSelectors":null,"toString":null,"running":null,"failure":null},"isJSONConformant":true},"lively.Tests.WebCollabAgentTest.ServerComTest>>testContinousConnection":{"isListItem":true,"string":"success lively.Tests.WebCollabAgentTest.ServerComTest>>testContinousConnection","value":"new lively.Tests.WebCollabAgentTest.ServerComTest(null, \"testContinousConnection\")","test":{"result":{"failed":[],"succeeded":[{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testLoginAndOut"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testContinousConnection"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testBroadcast"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testBroadcastTwoAtOnce"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testMessageOnlyBroadcastedOnChannel"}],"timeToRun":{},"constructor":null,"initialize":null,"setTimeToRun":null,"getTimeToRun":null,"addSuccess":null,"addFailure":null,"runs":null,"toString":null,"printResult":null,"shortResult":null,"getFileNameFromError":null,"failureList":null,"successList":null},"currentSelector":"testContinousConnection","statusUpdateFunc":null,"_maxWaitDelay":2610,"_done":true,"constructor":null,"testLoginAndOut":null,"testContinousConnection":null,"testBroadcast":null,"testBroadcastTwoAtOnce":null,"testMessageOnlyBroadcastedOnChannel":null,"initialize":null,"setMaxWaitDelay":null,"show":null,"done":null,"isDone":null,"delay":null,"runAll":null,"runAndDoWhenDone":null,"scheduled":null,"success":null,"shouldRun":true,"verbose":null,"log":null,"createTests":null,"name":null,"id":null,"setUp":null,"tearDown":null,"runTest":null,"debugTest":null,"assert":null,"assertEqual":null,"assertEquals":null,"assertIdentity":null,"assertEqualState":null,"assertIncludesAll":null,"allTestSelectors":null,"toString":null,"running":null,"failure":null},"isJSONConformant":true},"lively.Tests.WebCollabAgentTest.ServerComTest>>testBroadcast":{"isListItem":true,"string":"success lively.Tests.WebCollabAgentTest.ServerComTest>>testBroadcast","value":"new lively.Tests.WebCollabAgentTest.ServerComTest(null, \"testBroadcast\")","test":{"result":{"failed":[],"succeeded":[{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testLoginAndOut"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testContinousConnection"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testBroadcast"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testBroadcastTwoAtOnce"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testMessageOnlyBroadcastedOnChannel"}],"timeToRun":{},"constructor":null,"initialize":null,"setTimeToRun":null,"getTimeToRun":null,"addSuccess":null,"addFailure":null,"runs":null,"toString":null,"printResult":null,"shortResult":null,"getFileNameFromError":null,"failureList":null,"successList":null},"currentSelector":"testBroadcast","statusUpdateFunc":null,"_maxWaitDelay":1010,"_done":true,"constructor":null,"testLoginAndOut":null,"testContinousConnection":null,"testBroadcast":null,"testBroadcastTwoAtOnce":null,"testMessageOnlyBroadcastedOnChannel":null,"initialize":null,"setMaxWaitDelay":null,"show":null,"done":null,"isDone":null,"delay":null,"runAll":null,"runAndDoWhenDone":null,"scheduled":null,"success":null,"shouldRun":true,"verbose":null,"log":null,"createTests":null,"name":null,"id":null,"setUp":null,"tearDown":null,"runTest":null,"debugTest":null,"assert":null,"assertEqual":null,"assertEquals":null,"assertIdentity":null,"assertEqualState":null,"assertIncludesAll":null,"allTestSelectors":null,"toString":null,"running":null,"failure":null},"isJSONConformant":true},"lively.Tests.WebCollabAgentTest.ServerComTest>>testBroadcastTwoAtOnce":{"isListItem":true,"string":"success lively.Tests.WebCollabAgentTest.ServerComTest>>testBroadcastTwoAtOnce","value":"new lively.Tests.WebCollabAgentTest.ServerComTest(null, \"testBroadcastTwoAtOnce\")","test":{"result":{"failed":[],"succeeded":[{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testLoginAndOut"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testContinousConnection"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testBroadcast"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testBroadcastTwoAtOnce"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testMessageOnlyBroadcastedOnChannel"}],"timeToRun":{},"constructor":null,"initialize":null,"setTimeToRun":null,"getTimeToRun":null,"addSuccess":null,"addFailure":null,"runs":null,"toString":null,"printResult":null,"shortResult":null,"getFileNameFromError":null,"failureList":null,"successList":null},"currentSelector":"testBroadcastTwoAtOnce","statusUpdateFunc":null,"_maxWaitDelay":1000,"_done":true,"constructor":null,"testLoginAndOut":null,"testContinousConnection":null,"testBroadcast":null,"testBroadcastTwoAtOnce":null,"testMessageOnlyBroadcastedOnChannel":null,"initialize":null,"setMaxWaitDelay":null,"show":null,"done":null,"isDone":null,"delay":null,"runAll":null,"runAndDoWhenDone":null,"scheduled":null,"success":null,"shouldRun":true,"verbose":null,"log":null,"createTests":null,"name":null,"id":null,"setUp":null,"tearDown":null,"runTest":null,"debugTest":null,"assert":null,"assertEqual":null,"assertEquals":null,"assertIdentity":null,"assertEqualState":null,"assertIncludesAll":null,"allTestSelectors":null,"toString":null,"running":null,"failure":null},"isJSONConformant":true},"lively.Tests.WebCollabAgentTest.ServerComTest>>testMessageOnlyBroadcastedOnChannel":{"isListItem":true,"string":"success lively.Tests.WebCollabAgentTest.ServerComTest>>testMessageOnlyBroadcastedOnChannel","value":"new lively.Tests.WebCollabAgentTest.ServerComTest(null, \"testMessageOnlyBroadcastedOnChannel\")","test":{"result":{"failed":[],"succeeded":[{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testLoginAndOut"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testContinousConnection"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testBroadcast"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testBroadcastTwoAtOnce"},{"classname":"lively.Tests.WebCollabAgentTest.ServerComTest","selector":"testMessageOnlyBroadcastedOnChannel"}],"timeToRun":{},"constructor":null,"initialize":null,"setTimeToRun":null,"getTimeToRun":null,"addSuccess":null,"addFailure":null,"runs":null,"toString":null,"printResult":null,"shortResult":null,"getFileNameFromError":null,"failureList":null,"successList":null},"currentSelector":"testMessageOnlyBroadcastedOnChannel","statusUpdateFunc":null,"_maxWaitDelay":810,"_done":true,"constructor":null,"testLoginAndOut":null,"testContinousConnection":null,"testBroadcast":null,"testBroadcastTwoAtOnce":null,"testMessageOnlyBroadcastedOnChannel":null,"initialize":null,"setMaxWaitDelay":null,"show":null,"done":null,"isDone":null,"delay":null,"runAll":null,"runAndDoWhenDone":null,"scheduled":null,"success":null,"shouldRun":true,"verbose":null,"log":null,"createTests":null,"name":null,"id":null,"setUp":null,"tearDown":null,"runTest":null,"debugTest":null,"assert":null,"assertEqual":null,"assertEquals":null,"assertIdentity":null,"assertEqualState":null,"assertIncludesAll":null,"allTestSelectors":null,"toString":null,"running":null,"failure":null},"isJSONConformant":true}}]]>
nullfalsetruenullfalse
AnotherTestRunnerfalsenullfalse
false
false
falsenullfalsefalsenullnullnullnullfalse
nullfalsetruenullfalse
Tests/WebCollabAgentTest.jsfalsenullfalse
false
false
falsenullfalse
WebPIM.js(notloaded)falsetruefalse0false
Tests/WebCollabAgentTest.jsfalsetruefalse0false1861nullnulltruefalsenullnulltruetrue
1true
null
null
null
nulltruetrue
lively.Tests.WebCollabAgentTest.ServerComTestfalsetruefalse0false217-1nullnullnulltruefalsenullnulltruetrue
1true
null
null
null
nulltruetrue
-----falsetruefalse0false217
-1nullnullnulltruetruetrue
1true
null
null
null
nulltruetrue
module('lively.Tests.WebCollabAgentTest').requires('lively.TestFramework','lively.webcollab.agent').toRun(function(thisModule){AsyncTestCase.subclass('lively.Tests.WebCollabAgentTest.ServerComTest',{testLoginAndOut:function(){varwasLoggedIn=false;varagent=newlively.webcollab.agent.WebCollabAgent({user:'testLoginAndOut',onLogin:function(req){agent.logout();varjson=null;try{json=JSON.unserialize(req.responseText);}catch(e){};this.assert(json!=null,'jsoninlogincouldn\'tbeparsed');this.assert(json.isSuccess,'responsedoesn\'tincludeisSuccessfield');wasLoggedIn=true;}.bind(this),onLogout:function(req){//debugger;}});this.assert(!agent.isLoggedIn(),'alreadyloggedin');agent.login();this.delay(function(){this.assert(!agent.isLoggedIn(),'stillloggedin');this.done()},100);},testContinousConnection:function(){varagent=newlively.webcollab.agent.WebCollabAgent({user:'testContinousConnection'});varmessageParts=['Hallo','dies','ist','ein','Test'];//callspecialsetupTestStreamactionvarindex=0;agent.setupTestStream({text:messageParts},function(req,newText){this.assertEquals(messageParts[index++]+'\r\n',newText);}.bind(this));//delayforeachsendis500msvarwait=500*messageParts.length+100;this.setMaxWaitDelay(wait+10);this.delay(function(){this.assertEquals(messageParts.length,index);this.done();},wait);},testBroadcast:function(){varchannel='testBroadcast';message={text:'Thisistextmessage',channel:channel},result=null;varsender=newlively.webcollab.agent.WebCollabAgent({user:'testBroadcast_sender'});varreceiver=newlively.webcollab.agent.WebCollabAgent({user:'testBroadcast_receiver',listenOnChannels:[channel],onLogin:function(){sender.broadcast(message)},onReceive:function(json){result=json&&json.message.text;receiver.logout();}});receiver.login();this.setMaxWaitDelay(1000+10);this.delay(function(){this.assertEquals(message.text,result);this.done()},1000);},testBroadcastTwoAtOnce:function(){varchannel='testBroadcastTwoAtOnce',result=[],message1={text:'Thisistextmessage',channel:channel},message2={text:'Thisisanothermessage',channel:channel};varsender=newlively.webcollab.agent.WebCollabAgent({user:'testBroadcastTwoAtOnce_sender'});varreceiver=newlively.webcollab.agent.WebCollabAgent({user:'testBroadcastTwoAtOnce_receiver',listenOnChannels:['testBroadcastTwoAtOnce'],onLogin:function(){sender.broadcast(message1,true);sender.broadcast(message2,true)},onReceive:function(json){result.push(json)}});receiver.login();this.delay(function(){this.assert(result.length==2,'notexpectednumberofmessagesreceived!')this.assertEquals(message1.text,result[0].message.text);this.assertEquals(message2.text,result[1].message.text);receiver.logout();this.done();},300);},testMessageOnlyBroadcastedOnChannel:function(){varmessage={text:'Thisistextmessage',channel:'channel1'},onReceiveCalled=false;varsender=newlively.webcollab.agent.WebCollabAgent({user:'testMessageOnlyBroadcastedOnChannel'});varreceiver=newlively.webcollab.agent.WebCollabAgent({user:'testMessageOnlyBroadcastedOnChannel_receiver',listenOnChannels:['channel2'],onLogin:function(){sender.broadcast(message)},onReceive:function(json){onReceiveCalled=true}});receiver.login();this.setMaxWaitDelay(800+10);this.delay(function(){this.assert(onReceiveCalled===false,'receivernotonchannelwascalled!');try{receiver.logout()}catch(e){};this.done();},400);},//testSendWhenStreamClosed:function(){//varagent=newlively.webcollab.WebCollabAgent({//user:'testSendWhenStreamClosed',//onStreamClose:function()//});//},});})1truetrue2000000truetrue
1truetruetrue
Browseworld...falsenullfalse
Loadallfalsenullfalse
LineNofalsenullfalse
Refreshfalsenullfalse
Evalonfalsenullfalse
Sortfalsenullfalse
Viewas...falsenullfalse
classesfalsenullfalsetruetrue
functionsfalsenullfalsetruetrue
objectsfalsenullfalsetruetrue
truetruefalsenullnullnullnullfalse
nullfalsetruenullfalse
TestRunner2falsenullfalse
false
false
falsenullfalse
localrequirementsfalsetruefalse0false
initializerfalsetruefalse0false
TestRunner2falsetruefalse0false3102nullnulltruefalsenullnulltruetrue
1true
null
null
null
nulltruetrue
viewTitlefalsetruefalse0false
initialViewExtentfalsetruefalse0false
onDeserializefalsetruefalse0false
buildViewfalsetruefalse0false
runfalsetruefalse0false
runButtonPressedfalsetruefalse0false
testDonefalsetruefalse0false
setListfalsetruefalse0false
testClickedfalsetruefalse0false310-1nullnullnulltruetruetrue
1true
null
null
null
nulltruetrue
Widget.subclass('TestRunner2',{viewTitle:"AnotherTestRunner",initialViewExtent:pt(580,210),onDeserialize:function(){//this.open();//FIXMEthis.panel.runButton.relayToModel(//FIXMEItseemstobenecessarythatthisthishasamodel.ArghRecord.newPlainInstance({Value:this.value,IsActive:true}),{Value:"Value",IsActive:"IsActive"});this.panel.testResultList.innerMorph().relayToModel(Record.newPlainInstance({List:[],Selection:null,Capacity:200,ListDelta:[],DeletionConfirmation:null,DeletionRequest:null}),{List:"List",Selection:"Selection",Capacity:"-Capacity",ListDelta:"-ListDelta",DeletionConfirmation:"-DeletionConfirmation",DeletionRequest:"+DeletionRequest"});//this.testResultDict={}this.result=newTestResult();},buildView:function(extent){varpanel=PanelMorph.makePanedPanel(extent,[['testInput',function(initialBounds){returnnewTextMorph(initialBounds)},newRectangle(0,0,0.8,0.1)],['runButton',function(initialBounds){returnnewButtonMorph(initialBounds)},newRectangle(0.8,0,0.2,0.1)],['testResultList',newRealListPane,newRectangle(0,0.1,1,0.9)]]);panel.runButton.setLabel('Run');panel.runButton.relayToModel(//FIXMEItseemstobenecessarythatthisthishasamodel.ArghRecord.newPlainInstance({Value:this.value,IsActive:true}),{Value:"Value",IsActive:"IsActive"});connect(panel.runButton,'value',this,'runButtonPressed');panel.testResultList.innerMorph().relayToModel(Record.newPlainInstance({List:[],Selection:null,Capacity:200,ListDelta:[],DeletionConfirmation:null,DeletionRequest:null}),{List:"List",Selection:"Selection",Capacity:"-Capacity",ListDelta:"-ListDelta",DeletionConfirmation:"-DeletionConfirmation",DeletionRequest:"+DeletionRequest"});connect(panel.testResultList.innerMorph(),'selection',this,'testClicked');this.panel=panel;returnpanel;},run:function(){this.panel.testInput.setFill(null);this.setList([]);this.testResultDict={isJSONConformant:true};varname=this.panel.testInput.textString;this.result=newTestResult();try{varklassOrModule=Class.forName(name)}catch(e){return};if(!klassOrModule)return;if(klassOrModule.isSubclassOf&&klassOrModule.isSubclassOf(TestCase)){newklassOrModule(this.result).runAll(this.testDone.bind(this));return;}if(!klassOrModule.classes)return;vartestClasses=klassOrModule.classes().select(function(ea){returnea.isSubclassOf(TestCase)});testClasses.forEach(function(klass){newklass(this.result).runAll(this.testDone.bind(this));},this);},runButtonPressed:function(val){if(!val)return;this.run()},testDone:function(test,status,msg){varid=test.id();varlistItem=this.testResultDict[id];varstring=status+''+id+(msg?'\n-->'+msg:'');vartestSerialized=Strings.format('new%s(null,"%s")',test.name(),test.currentSelector);this.testResultDict[id]={isListItem:true,string:string,value:testSerialized,test:test,isJSONConformant:true}varlist=Object.values(this.testResultDict).select(function(ea){returnea.isListItem});varerrorOccurred=list.any(function(ea){returnea.test&&ea.test._errorOccured});this.panel.testInput.setFill(errorOccurred?Color.red:Color.green);this.setList(list);},setList:function(list){this.panel.testResultList.innerMorph().updateList(list);},testClicked:function(itemValue){if(!itemValue)returnvartest=eval(itemValue);console.log('.........................runnningtest'+test.id()+'again');test.statusUpdateFunc=this.testDone.bind(this);test.result=this.result;test.runTest();},}); ' + msg : '');\n\tvar testSerialized = Strings.format('new %s(null, \"%s\")', test.name(), test.currentSelector);\n\tthis.testResultDict[id] = {isListItem: true, string: string, value: testSerialized, test: test, isJSONConformant: true}\n\n\tvar list = Object.values(this.testResultDict).select(function(ea) { return ea.isListItem });\n\tvar errorOccurred = list.any(function(ea) { return ea.test && ea.test._errorOccured });\n\n\tthis.panel.testInput.setFill(errorOccurred ? Color.red : Color.green);\n\n\tthis.setList(list);\n},\n\nsetList: function(list) {\n\tthis.panel.testResultList.innerMorph().updateList(list);\n},\n\ntestClicked: function(itemValue) {\n\tif (!itemValue) return\n\tvar test = eval(itemValue);\n\tconsole.log('.........................runnning test ' + test.id() + ' again');\n\ttest.statusUpdateFunc = this.testDone.bind(this);\n\ttest.result = this.result;\n\ttest.runTest();\n},\n\n});"]]>105truetrue2000000 ' + msg : '');\n\tvar testSerialized = Strings.format('new %s(null, \"%s\")', test.name(), test.currentSelector);\n\tthis.testResultDict[id] = {isListItem: true, string: string, value: testSerialized, test: test, isJSONConformant: true}\n\n\tvar list = Object.values(this.testResultDict).select(function(ea) { return ea.isListItem });\n\tvar errorOccurred = list.any(function(ea) { return ea.test && ea.test._errorOccured });\n\n\tthis.panel.testInput.setFill(errorOccurred ? Color.red : Color.green);\n\n\tthis.setList(list);\n},\n\nsetList: function(list) {\n\tthis.panel.testResultList.innerMorph().updateList(list);\n},\n\ntestClicked: function(itemValue) {\n\tif (!itemValue) return\n\tvar test = eval(itemValue);\n\tconsole.log('.........................runnning test ' + test.id() + ' again');\n\ttest.statusUpdateFunc = this.testDone.bind(this);\n\ttest.result = this.result;\n\ttest.runTest();\n},\n\n});"]]>truetrue
1truetruetrue
Browseworld...falsenullfalse
Pushchangesbackfalsenullfalse
Refreshfalsenullfalse
Evalonfalsenullfalse
Sortfalsenullfalse
truetruenullfalsenullnullnullnullfalse ' + msg : '');
var testSerialized = Strings.format('new %s(null, "%s")', test.name(), test.currentSelector);
this.testResultDict[id] = {isListItem: true, string: string, value: testSerialized, test: test, isJSONConformant: true}
var list = Object.values(this.testResultDict).select(function(ea) { return ea.isListItem });
var errorOccurred = list.any(function(ea) { return ea.test && ea.test._errorOccured });
this.panel.testInput.setFill(errorOccurred ? Color.red : Color.green);
this.setList(list);
}]]>
null22