Package com.github.hakko.musiccabinet.dao

Examples of com.github.hakko.musiccabinet.dao.ArtistTopTagsDao


  @Test
  public void duplicateUpdatesAreRemoved() throws ApplicationException {
    tagUpdateService.failedUpdates.clear();
    setClientResponse(responseFail);

    ArtistTopTagsDao artistTopTagsDao = mock(ArtistTopTagsDao.class);
    tagUpdateService.setArtistTopTagsDao(artistTopTagsDao);

    WebserviceHistoryService historyService = mock(WebserviceHistoryService.class);
    tagUpdateService.setWebserviceHistoryService(historyService);
   
View Full Code Here


    assertEquals(1, tagUpdateService.failedUpdates.size());
  }

  @Test
  public void updatesWithinThresholdsAreIgnored() throws ApplicationException {
    ArtistTopTagsDao artistTopTagsDao = mock(ArtistTopTagsDao.class);
    tagUpdateService.setArtistTopTagsDao(artistTopTagsDao);

    setClientResponse(responseOK);
    TagUpdateClient tagUpdateClient = tagUpdateService.tagUpdateClient;
View Full Code Here

TOP

Related Classes of com.github.hakko.musiccabinet.dao.ArtistTopTagsDao

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.