Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(340)

Side by Side Diff: web/inc/rpc/test/rpc-client.html

Issue 1960443004: Add rpcexplorer to webapp hierarchy. (Closed) Base URL: https://github.com/luci/luci-go@logdog-project-web
Patch Set: Updated license, clarified instructions. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!-- 1 <!--
2 Copyright 2016 The LUCI Authors. All rights reserved. 2 Copyright 2016 The LUCI Authors. All rights reserved.
3 Use of this source code is governed under the Apache License, Version 2.0 3 Use of this source code is governed under the Apache License, Version 2.0
4 that can be found in the LICENSE file. 4 that can be found in the LICENSE file.
5 --> 5 -->
6 6
7 <!doctype html> 7 <!doctype html>
8 <title>rpc-client</title> 8 <title>rpc-client</title>
9 9
10 <link rel="import" href="../rpc-client.html"> 10 <link rel="import" href="../rpc-client.html">
11 <script src="../../bower_components/web-component-tester/browser.js"></script> 11 <script src="../../bower_components/web-component-tester/browser.js"></script>
12 12
13 <test-fixture id="client"> 13 <test-fixture id="client">
14 <template> 14 <template>
15 <rpc-client service="service" method="ok"></rpc-client> 15 <rpc-client service="service" method="ok"></rpc-client>
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 expect(call.service).to.equal('service'); 255 expect(call.service).to.equal('service');
256 expect(call.method).to.equal('notFound'); 256 expect(call.method).to.equal('notFound');
257 expect(call.request).to.equal(client.request); 257 expect(call.request).to.equal(client.request);
258 258
259 expect(call.response).to.be.null; 259 expect(call.response).to.be.null;
260 expect(call.error).to.be.an.instanceof(luci.rpc.GrpcError); 260 expect(call.error).to.be.an.instanceof(luci.rpc.GrpcError);
261 }); 261 });
262 }); 262 });
263 }); 263 });
264 </script> 264 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698