1 Tests script snippet model.
4 Running: testCreateEditRenameRemove
5 UISourceCodeAdded: Script snippet #1
8 Snippet content: <snippet content>
10 UISourceCodeAdded: Script snippet #2
12 Renaming snippet to 'foo' ...
13 Snippet renamed successfully.
14 UISourceCode name is 'foo' now.
15 Number of uiSourceCodes in workspace: 2
16 Number of snippets in the storage: 2
17 Renaming snippet to ' ' ...
18 Snippet was not renamed.
19 UISourceCode name is 'foo' now.
20 Number of uiSourceCodes in workspace: 2
21 Number of snippets in the storage: 2
22 Renaming snippet to ' bar ' ...
23 Snippet renamed successfully.
24 UISourceCode name is 'bar' now.
25 Number of uiSourceCodes in workspace: 2
26 Number of snippets in the storage: 2
27 Renaming snippet to 'foo' ...
28 Snippet renamed successfully.
29 UISourceCode name is 'foo' now.
30 Number of uiSourceCodes in workspace: 2
31 Number of snippets in the storage: 2
32 Renaming snippet to 'bar' ...
33 Snippet renamed successfully.
34 UISourceCode name is 'bar' now.
35 Number of uiSourceCodes in workspace: 2
36 Number of snippets in the storage: 2
37 Renaming snippet to 'foo' ...
38 Snippet was not renamed.
39 UISourceCode name is 'bar' now.
40 Number of uiSourceCodes in workspace: 2
41 Number of snippets in the storage: 2
42 Snippet content: <snippet content>
43 UISourceCodeRemoved: foo
44 UISourceCodeRemoved: bar
45 UISourceCodeAdded: Script snippet #3
47 UISourceCodeRemoved: Script snippet #3
49 Number of uiSourceCodes in workspace: 0
50 Number of snippets in the storage: 0
53 Last evaluation source url for snippet: snippets:///1_1
54 Snippet execution result: undefined
55 Last evaluation source url for snippet: snippets:///2_2
56 Snippet execution result: function doesNothing() {
59 Last evaluation source url for snippet: snippets:///1_3
60 Snippet execution result: undefined
62 Running: testEvaluateEditReload
63 Snippet execution result: undefined
66 Running: testEvaluateInWorker
67 Last evaluation source url for snippet: snippets:///1_1
68 Snippet execution result: 4