Package com.orange.wro.taglib.config

Examples of com.orange.wro.taglib.config.IGroupLoader


  }

  @Test
  public void failsWhenMinimizedFilesUnavailable() throws Exception {
   
    IGroupLoader loader = mock(IGroupLoader.class);
    when(loader.getMinimizedResources()).thenReturn(new HashMap<ResourceType, String>());
   
    when(wroConfig.getGroup(GROUP_NAME_FIRST)).thenReturn(new FilesGroup(GROUP_NAME_FIRST, loader));

    IncludeTag tag = getIncludeTag();
    tag.setGroupNames(GROUP_NAMES);
View Full Code Here


  }

  @Test
  public void failsWhenExplodedFileListUnavailable() throws Exception {

    IGroupLoader loader = mock(IGroupLoader.class);
    when(loader.getResources(ResourceType.JS)).thenReturn(new ArrayList<String>());
    when(loader.getResources(ResourceType.CSS)).thenReturn(new ArrayList<String>());
   
    when(wroConfig.getGroup(GROUP_NAME_FIRST)).thenReturn(new FilesGroup(GROUP_NAME_FIRST, loader));

    IncludeTag tag = getIncludeTag();
    tag.setGroupNames(GROUP_NAMES);
View Full Code Here

TOP

Related Classes of com.orange.wro.taglib.config.IGroupLoader

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.