src/Builder4/FakeServer.vala
authorAlan Knowles <alan@roojs.com>
Thu, 16 Apr 2015 11:19:44 +0000 (19:19 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 16 Apr 2015 11:19:44 +0000 (19:19 +0800)
tests/plugindialog.vala.c
tests/DialogPluginWebkit.vala.c
tests/FakeServer.vala.c
tests/Application.vala.c
tests/RooDatabase.vala.c

src/Builder4/FakeServer.vala

index 60f766a..c6b4f65 100644 (file)
@@ -119,8 +119,8 @@ public class FakeServerCache : Object
 
            this.data = data;
 
-           print("FakeServerCache :%s, %s (%s/%d)\n", fname , 
-                 this.content_type, this.size.to_string(), this.data.data.length);
+               print("FakeServerCache :%s, %s (%s/%d)\n", fname , 
+                       this.content_type, this.size.to_string(), this.data.data.length);
            
 
        }
@@ -129,6 +129,8 @@ public class FakeServerCache : Object
        public void run(WebKit.URISchemeRequest request, Cancellable? cancellable) 
        {
            var stream =  new GLib.MemoryInputStream.from_data (this.data.data,  GLib.free);
+           print("SEND %s\n", this.size.to_string()); 
+           
                request.finish(stream,
                         this.size,
                         this.content_type);