Package org.junithelper.core.config

Examples of org.junithelper.core.config.TestingTarget


    @Test
    public void isPublicMethodAndTestingRequired_A$MethodMeta$TestingTarget() throws Exception {
        MethodMeta methodMeta = new MethodMeta();
        methodMeta.accessModifier = AccessModifier.Public;
        TestingTarget target_ = new TestingTarget();
        target_.isPublicMethodRequired = true;
        boolean actual = GeneratorImplFunction.isPublicMethodAndTestingRequired(methodMeta, target_);
        boolean expected = true;
        assertThat(actual, is(equalTo(expected)));
    }
View Full Code Here


    @Test
    public void isProtectedMethodAndTestingRequired_A$MethodMeta$TestingTarget() throws Exception {
        MethodMeta methodMeta = new MethodMeta();
        methodMeta.accessModifier = AccessModifier.Protected;
        TestingTarget target_ = new TestingTarget();
        target_.isPublicMethodRequired = true;
        boolean actual = GeneratorImplFunction.isProtectedMethodAndTestingRequired(methodMeta, target_);
        boolean expected = true;
        assertThat(actual, is(equalTo(expected)));
    }
View Full Code Here

    @Test
    public void isPackageLocalMethodAndTestingRequired_A$MethodMeta$TestingTarget() throws Exception {
        MethodMeta methodMeta = new MethodMeta();
        methodMeta.accessModifier = AccessModifier.PackageLocal;
        TestingTarget target_ = new TestingTarget();
        target_.isPublicMethodRequired = true;
        boolean actual = GeneratorImplFunction.isPackageLocalMethodAndTestingRequired(methodMeta, target_);
        boolean expected = true;
        assertThat(actual, is(equalTo(expected)));
    }
View Full Code Here

TOP

Related Classes of org.junithelper.core.config.TestingTarget

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.