Fossil

Check-in [69ef388f02]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:accommodated API change.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | json-multitag-test | json
Files: files | file ages | folders
SHA1: 69ef388f02c3de9caa2e6ca71299762856352c32
User & Date: stephan 2011-10-08 15:13:00.623
Context
2011-10-08
15:13
s/rn/report/, for API consistency. check-in: a52296e034 user: stephan tags: json-multitag-test, json
15:13
accommodated API change. check-in: 69ef388f02 user: stephan tags: json-multitag-test, json
14:36
Fixed Ctrl-D handling in rhino-based shell. check-in: 15c6caf29e user: stephan tags: json-multitag-test, json
Changes
Unified Diff Ignore Whitespace Patch
Changes to ajax/i-test/rhino-test.js.
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
            assertResponseOK(resp);
            assert( (typeof [] === typeof resp.payload) && resp.payload.length,
                "Wiki list seems to be okay.");
            TestApp.wiki.list = resp.payload;
        }
    });
    TestApp.fossil.sendCommand('/json/wiki/get',{
        page:TestApp.wiki.list[0]
    },{
        onResponse:function(resp,req){
            assertResponseOK(resp);
            assert(resp.payload.name == TestApp.wiki.list[0], "Fetched page name matches expectations.");
            print("Got first wiki page: "+WhAjaj.stringify(resp.payload));
        }
    });







|







145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
            assertResponseOK(resp);
            assert( (typeof [] === typeof resp.payload) && resp.payload.length,
                "Wiki list seems to be okay.");
            TestApp.wiki.list = resp.payload;
        }
    });
    TestApp.fossil.sendCommand('/json/wiki/get',{
        name:TestApp.wiki.list[0]
    },{
        onResponse:function(resp,req){
            assertResponseOK(resp);
            assert(resp.payload.name == TestApp.wiki.list[0], "Fetched page name matches expectations.");
            print("Got first wiki page: "+WhAjaj.stringify(resp.payload));
        }
    });