Package org.auraframework.test

Examples of org.auraframework.test.TestInventory


import org.auraframework.test.TestInventory.Type;
import org.auraframework.util.ServiceLocator;

public class AuraImplExpressionUnitTestSuite {
    public static TestSuite suite() throws Exception {
        TestInventory inventory = ServiceLocator.get().get(TestInventory.class, "auraImplExpressionTestInventory");
        TestSuite suite = inventory.getTestSuite(Type.UNIT);
        suite.setName("aura-impl-expression unit tests");
        return suite;
    }
View Full Code Here


import org.auraframework.test.TestInventory.Type;
import org.auraframework.util.ServiceLocator;

public class AuraUtilUnitTestSuite {
    public static TestSuite suite() throws Exception {
        TestInventory inventory = ServiceLocator.get().get(TestInventory.class, "auraUtilTestInventory");
        TestSuite suite = inventory.getTestSuite(Type.UNIT);
        suite.setName("aura-util unit tests");
        return suite;
    }
View Full Code Here

@AuraConfiguration
public class AuraImplExpressionTestConfig {

    @Impl(name = "auraImplExpressionTestInventory")
    public static TestInventory auraImplExpressionTestInventory() throws Exception {
        return new TestInventory(AuraImplExpressionTestConfig.class);
    }
View Full Code Here

@AuraConfiguration
public class AuraUtilTestConfig {

    @Impl(name = "auraUtilTestInventory")
    public static TestInventory auraUtilTestInventory() throws Exception {
        return new TestInventory(AuraUtilTestConfig.class);
    }
View Full Code Here

@AuraConfiguration
public class AuraTestConfig {

    @Impl(name = "auraTestInventory")
    public static TestInventory auraTestInventory() throws Exception {
        return new TestInventory(AuraTestConfig.class);
    }
View Full Code Here

import org.auraframework.test.TestInventory.Type;
import org.auraframework.util.ServiceLocator;

public class AuraIntegrationTestSuite {
    public static TestSuite suite() throws Exception {
        TestInventory inventory = ServiceLocator.get().get(TestInventory.class, "auraTestInventory");
        TestSuite suite = inventory.getTestSuite(Type.INTEGRATION);
        suite.setName("aura integration tests");
        return suite;
    }
View Full Code Here

import org.auraframework.test.TestInventory.Type;
import org.auraframework.util.ServiceLocator;

public class AuraUnitTestSuite {
    public static TestSuite suite() throws Exception {
        TestInventory inventory = ServiceLocator.get().get(TestInventory.class, "auraTestInventory");
        TestSuite suite = inventory.getTestSuite(Type.UNIT);
        suite.setName("aura unit tests");
        return suite;
    }
View Full Code Here

import org.auraframework.test.TestInventory.Type;
import org.auraframework.util.ServiceLocator;

public class AuraWebDriverTestSuite {
    public static TestSuite suite() throws Exception {
        TestInventory inventory = ServiceLocator.get().get(TestInventory.class, "auraTestInventory");
        TestSuite suite = inventory.getTestSuite(Type.WEB);
        suite.setName("aura webdriver tests");
        return suite;
    }
View Full Code Here

    }

    private class ComponentSuiteTest extends TestSuite {
        ComponentSuiteTest(DefDescriptor<ComponentDef> descriptor) {
            super(descriptor.getName());
            TestInventory inventory = ServiceLocator.get().get(TestInventory.class, "auraTestInventory");
            Vector<Class<? extends Test>> testClasses = inventory.getTestClasses(Type.PERFCMP);

            for (Class<? extends Test> testClass : testClasses) {
                try {
                    Constructor<? extends Test> constructor = testClass.getConstructor(String.class,
                            DefDescriptor.class);
View Full Code Here

@AuraConfiguration
public class AuraImplTestConfig {

    @Impl(name = "auraImplTestInventory")
    public static TestInventory auraImplTestInventory() throws Exception {
        return new TestInventory(AuraImplTestConfig.class);
    }
View Full Code Here

TOP

Related Classes of org.auraframework.test.TestInventory

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.