Examples of describeChildren()


Examples of com.foundationdb.junit.NamedParameterizedRunner.ReifiedParamRunner.describeChildren()

                "Parameterization[PASSING one: [1] ]",
                "Parameterization[PASSING two: [2] ]");

        {
            ReifiedParamRunner forOne = map.get("Parameterization[PASSING one: [1] ]");
            assertEquals("param one: " + forOne.describeChildren(), 3, forOne.getChildrenCount());
            testFrameworkMethod(forOne, OnlyIfTest.class, "testIs1Method", true);
            testFrameworkMethod(forOne, OnlyIfTest.class, "testIs1Field", true);
            testFrameworkMethod(forOne, OnlyIfTest.class, "alwaysRun", true);
        }
        {
View Full Code Here

Examples of com.foundationdb.junit.NamedParameterizedRunner.ReifiedParamRunner.describeChildren()

            testFrameworkMethod(forOne, OnlyIfTest.class, "testIs1Field", true);
            testFrameworkMethod(forOne, OnlyIfTest.class, "alwaysRun", true);
        }
        {
            ReifiedParamRunner forTwo = map.get("Parameterization[PASSING two: [2] ]");
            assertEquals("param two: " + forTwo.describeChildren(), 1, forTwo.getChildrenCount());
            testFrameworkMethod(forTwo, OnlyIfTest.class, "alwaysRun", true);
        }
    }

    private static void testOverrides(Collection<ReifiedParamRunner> runners, boolean expectedOverride)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.