001package org.apache.tapestry5.internal.t5internal.modules;
002
003import org.apache.tapestry5.commons.Configuration;
004import org.apache.tapestry5.ioc.annotations.Contribute;
005import org.apache.tapestry5.services.ComponentClassResolver;
006import org.apache.tapestry5.services.LibraryMapping;
007
008/**
009 * Provides the "t5internal" library, that provides common text utilities needed by some of the other
010 * projects' integration tests. To normalize in-IDE development with command-line development, this module
011 * is not set up to auto load via a manifest attribute, instead it is referenced via {@link org.apache.tapestry5.ioc.annotations.ImportModule}.
012 *
013 * @since 5.4
014 */
015public class InternalTestModule
016{
017    @Contribute(ComponentClassResolver.class)
018    public static void provideT5InternalLibrary(Configuration<LibraryMapping> configuration)
019    {
020        configuration.add(new LibraryMapping("t5internal", "org.apache.tapestry5.internal.t5internal"));
021    }
022
023}