Package org.mokai.type.impl

Examples of org.mokai.type.impl.StandardTypeLoader


public class StandardTypeLoaderTest {

  @Test
  public void testLoadAcceptorTypes() throws Exception {
    StandardTypeLoader typeLoader = new StandardTypeLoader();

    Set<AcceptorType> acceptorTypes = typeLoader.loadAcceptorTypes();
    Assert.assertTrue(acceptorTypes.size() > 0);

    AcceptorType test = new AcceptorType("", "", MockAcceptor.class);
    Assert.assertTrue(acceptorTypes.contains(test));
  }
View Full Code Here


    Assert.assertTrue(acceptorTypes.contains(test));
  }

  @Test
  public void testLoadActionTypes() throws Exception {
    StandardTypeLoader typeLoader = new StandardTypeLoader();

    Set<ActionType> actionTypes = typeLoader.loadActionTypes();
    Assert.assertTrue(actionTypes.size() > 0);

    ActionType test = new ActionType("", "", MockAction.class);
    Assert.assertTrue(actionTypes.contains(test));
  }
View Full Code Here

    Assert.assertTrue(actionTypes.contains(test));
  }

  @Test
  public void testLoadConnectorTypes() throws Exception {
    StandardTypeLoader typeLoader = new StandardTypeLoader();

    Set<ConnectorType> connectorTypes = typeLoader.loadConnectorTypes();
    Assert.assertTrue(connectorTypes.size() > 0);

    ConnectorType test = new ConnectorType("", "", MockConnector.class);
    Assert.assertTrue(connectorTypes.contains(test));
  }
View Full Code Here

TOP

Related Classes of org.mokai.type.impl.StandardTypeLoader

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.