goog.require('mvc.Router');



var router;

var setUp = function() {
    router = new mvc.Router();
}

var testNavigation = function() {
    router.navigate("testing");
    loc = document.location.toString();
    assertEquals(loc.replace(/.*#/,''), "testing");
};

var testRoute = function() {
    var reached = false;
    var a = function(){reached = true};
    router.route("test", a);
    router.navigate("test");
    waitForEvent(router.history_, goog.history.EventType.NAVIGATE,
        function() {
            assert(reached);
        });
};

@@ -22,16 +22,103 @@
 ter');%0A%0A
+goog.require('goog.testing.ContinuationTestCase');%0Agoog.require('goog.testing.jsunit');
 %0A%0Avar ro
@@ -625,12 +625,131 @@
      %7D);%0A%7D;%0A
+%0A%0AtestCase = new goog.testing.ContinuationTestCase();%0AtestCase.autoDiscoverTests();%0AG_testRunner.initialize(testCase);%0A

fix router test