@Test public void testSelectedTeam() { mSubscriber.setTeamKey("frc195"); List<ListItem> data = DatafeedTestDriver.getParsedData(mSubscriber, mAwards); CardedAwardListElement element = (CardedAwardListElement) data.get(0); assertEquals(element.mSelectedTeamNum, "195"); }
public void setTeamKey(String teamKey) { mTeamKey = teamKey; }
AwardsListSubscriber extends BaseAPISubscriber<List<Award>, List<ListItem>> { public void setTeamKey(String teamKey) { mTeamKey = teamKey; } }
AwardsListSubscriber extends BaseAPISubscriber<List<Award>, List<ListItem>> { public void setTeamKey(String teamKey) { mTeamKey = teamKey; } AwardsListSubscriber(Database db, ModelRenderer<Award, AwardRenderer.RenderArgs> renderer); }
AwardsListSubscriber extends BaseAPISubscriber<List<Award>, List<ListItem>> { public void setTeamKey(String teamKey) { mTeamKey = teamKey; } AwardsListSubscriber(Database db, ModelRenderer<Award, AwardRenderer.RenderArgs> renderer); void setTeamKey(String teamKey); @Override void parseData(); @Override boolean isDataValid(); }
AwardsListSubscriber extends BaseAPISubscriber<List<Award>, List<ListItem>> { public void setTeamKey(String teamKey) { mTeamKey = teamKey; } AwardsListSubscriber(Database db, ModelRenderer<Award, AwardRenderer.RenderArgs> renderer); void setTeamKey(String teamKey); @Override void parseData(); @Override boolean isDataValid();  }