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

Side by Side Diff: sky/tests/services/network.sky

Issue 881093003: Normalize import paths for Sky modules (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 <html> 1 <html>
2 <import src="../resources/chai.sky" /> 2 <import src="../resources/chai.sky" />
3 <import src="../resources/mocha.sky" /> 3 <import src="../resources/mocha.sky" />
4 <import src="/mojo/public/sky/core.sky" as="core" /> 4 <import src="/gen/mojo/public/interfaces/application/shell.mojom.sky" as="shellM ojom" />
5 <import src="/mojo/public/sky/connection.sky" as="connection" /> 5 <import src="/gen/mojo/public/sky/connection.sky" as="connection" />
6 <import src="/mojo/services/network/public/interfaces/network_service.mojom.sky" as="net" /> 6 <import src="/gen/mojo/public/sky/core.sky" as="core" />
7 <import src="/mojo/services/network/public/interfaces/url_loader.mojom.sky" as=" loader" /> 7 <import src="/gen/mojo/services/network/public/interfaces/network_service.mojom. sky" as="net" />
8 <import src="/mojo/services/public/sky/shell.sky" as="shell" /> 8 <import src="/gen/mojo/services/network/public/interfaces/url_loader.mojom.sky" as="loader" />
9 <import src="/mojo/public/interfaces/application/shell.mojom.sky" as="shellMojom " /> 9 <import src="/gen/mojo/services/public/sky/shell.sky" as="shell" />
10 <script> 10 <script>
11 const Shell = shell.Shell; 11 const Shell = shell.Shell;
12 12
13 describe('Mojo network_service', function() { 13 describe('Mojo network_service', function() {
14 this.enableTimeouts(false); 14 this.enableTimeouts(false);
15 15
16 it('should be able to fetch text files', function(done) { 16 it('should be able to fetch text files', function(done) {
17 var shellHandle = internals.passShellProxyHandle(); 17 var shellHandle = internals.passShellProxyHandle();
18 var shellProxy = connection.bindHandleToProxy(shellHandle, shellMojom.Shell) ; 18 var shellProxy = connection.bindHandleToProxy(shellHandle, shellMojom.Shell) ;
19 var shell = new Shell(shellProxy); 19 var shell = new Shell(shellProxy);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 done(); 53 done();
54 }); 54 });
55 }).catch(function() { 55 }).catch(function() {
56 assert.ok(false, "start failed"); 56 assert.ok(false, "start failed");
57 done(); 57 done();
58 }); 58 });
59 }); 59 });
60 }); 60 });
61 </script> 61 </script>
62 </html> 62 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698