Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions tests/app/tests/ns-location-strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,26 @@ class FakeFrame extends View implements Frame {
constructor(private backCB?: () => void) {
super();
}

public navigationQueueIsEmpty(): boolean {
throw new Error("I am a FakeFrame");
}

public get navigationBarHeight(): number {
throw new Error("I am a FakeFrame");
}

public _processNavigationQueue(page: Page) {
throw new Error("I am a FakeFrame");
}

public _updateActionBar(page?: Page){
throw new Error("I am a FakeFrame");
}

public _getNavBarVisible(page: Page): boolean {
throw new Error("I am a FakeFrame");
}
}

function initStrategy(back?: () => void): NSLocationStrategy {
Expand Down