src/test/java/com/xceptance/neodymium/tests/NeodymiumTest.java
/**
     * Assert that the test description is valid.
     * 
     * @param testDescription
     *            the test description that should be tested
     * @param expectedTestDescription
     *            expected test description as String array
     */
Assert that the test description is valid.

@param testDescription
the test description that should be tested
@param expectedTestDescription
expected test description as String array
Assert that the test description is valid . @param testDescription the test description that should be tested @param expectedTestDescription expected test description as String array
public void checkDescription(final Description testDescription, final String[] expectedTestDescription)
    {
        final ArrayList<Description> testChildren = testDescription.getChildren();
        final String[] actualDescription = new String[testChildren.size()];
        for (int i = 0; i < testChildren.size(); i++)
        {
            actualDescription[i] = testChildren.get(i).getMethodName();
        }
        Arrays.sort(actualDescription);
        Arrays.sort(expectedTestDescription);
        Assert.assertArrayEquals(expectedTestDescription, actualDescription);
    }
public void checkDescription ( final Description testDescription , final String [ ] expectedTestDescription ) { final ArrayList < Description > testChildren = testDescription . getChildren ( ) ; final String [ ] actualDescription = new String [ testChildren . size ( ) ] ; for ( int i = 0 ; i < testChildren . size ( ) ; i ++ ) { actualDescription [ i ] = testChildren . get ( i ) . getMethodName ( ) ; } Arrays . sort ( actualDescription ) ; Arrays . sort ( expectedTestDescription ) ; Assert . assertArrayEquals ( expectedTestDescription , actualDescription ) ; }
Assert that the test description is valid.
Assert that the test description is valid .