Ejemplo n.º 1
0
  /**
   * @return AOP test suite.
   * @throws Exception If failed.
   */
  public static TestSuite suite() throws Exception {
    TestSuite suite = new TestSuite("Gridgain AOP Test Suite");

    // Test configuration.
    suite.addTest(new TestSuite(GridBasicAopSelfTest.class));

    suite.addTest(new TestSuite(GridSpringAopSelfTest.class));
    suite.addTest(new TestSuite(GridNonSpringAopSelfTest.class));
    suite.addTest(new TestSuite(GridifySetToXXXSpringAopSelfTest.class));
    suite.addTest(new TestSuite(GridifySetToXXXNonSpringAopSelfTest.class));
    suite.addTest(new TestSuite(GridExternalNonSpringAopSelfTest.class));

    // Examples
    System.setProperty(
        GG_OVERRIDE_MCAST_GRP, GridTestUtils.getNextMulticastGroup(GridAopSelfTestSuite.class));

    return suite;
  }