tests/TreeBuilder.vala
authorAlan Knowles <alan@roojs.com>
Thu, 25 Sep 2014 12:13:02 +0000 (20:13 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 25 Sep 2014 12:13:02 +0000 (20:13 +0800)
tests/TreeBuilder.vala

index 2e97b5d..2e182d8 100644 (file)
@@ -3,7 +3,7 @@
 
 namespace Palete {
        
-       public class MyReport  : Vala.Report {
+       public class ValaSourceReport  : Vala.Report {
        
                public override void err (Vala.SourceReference? source, string message) {
                        errors++;
@@ -20,7 +20,7 @@ namespace Palete {
 
        }
 
-       public class TreeBuilder : Vala.CodeVisitor {
+       public class ValaSource : Vala.CodeVisitor {
        
                public Vala.CodeContext check (JsRender.Gtk file) {
                        // init context:
@@ -36,7 +36,7 @@ namespace Palete {
                        context.report.enable_warnings = true;
                        context.metadata_directories = { };
                        context.gir_directories = {};
-                       context.report = new MyReport();
+                       context.report = new ValaSourceReport();
                
                        context.basedir = Posix.realpath (".");