@Test public void testSetNextButtonText() { NavigationBarMixin mixin = new NavigationBarMixin(mTemplateLayout); mixin.setNextButtonText(R.string.suw_more_button_label); assertEquals("More", mNavigationBar.getNextButton().getText()); mixin.setNextButtonText("Foobar"); assertEquals("Foobar", mNavigationBar.getNextButton().getText()); }
public void setNextButtonText(int text) { getNavigationBar().getNextButton().setText(text); }
NavigationBarMixin implements Mixin { public void setNextButtonText(int text) { getNavigationBar().getNextButton().setText(text); } }
NavigationBarMixin implements Mixin { public void setNextButtonText(int text) { getNavigationBar().getNextButton().setText(text); } NavigationBarMixin(TemplateLayout layout); }
NavigationBarMixin implements Mixin { public void setNextButtonText(int text) { getNavigationBar().getNextButton().setText(text); } NavigationBarMixin(TemplateLayout layout); NavigationBar getNavigationBar(); void setNextButtonText(int text); void setNextButtonText(CharSequence text); CharSequence getNextButtonText(); void setNavigationBarListener(NavigationBarListener listener); }
NavigationBarMixin implements Mixin { public void setNextButtonText(int text) { getNavigationBar().getNextButton().setText(text); } NavigationBarMixin(TemplateLayout layout); NavigationBar getNavigationBar(); void setNextButtonText(int text); void setNextButtonText(CharSequence text); CharSequence getNextButtonText(); void setNavigationBarListener(NavigationBarListener listener);  }