Problems with example code in developer documentation

Hi,

I'm trying to test the code that is avaliable in the point 5.1 of
development documentation:

        URI uri = new URI("http://www.mymobilesite.com");
        Tester tester = new Tester(uri);
        TestType[] testTypes;
        //all tests will be passed
        testTypes = TestType.values();
        TestResults results = tester.runTests(testTypes);
        //Process the Result DOM. For example printing it to the common
output
        printResults(results.getTestResultsDOM());

But it's showing this error:

incompatible types: Testtype[] cannot be converted to
List<TestImplementation>.

I've tried to use this List<TestImplementation> but the he ask me to
implement the TesterConfiguration.

Help me please.

Received on Tuesday, 21 July 2015 22:10:49 UTC