Package com.intellij.execution.testframework.sm

Examples of com.intellij.execution.testframework.sm.ServiceMessageBuilder


        testCaseStartingTime = System.currentTimeMillis();
    }

    public void testCaseFailed() {
        if (testCaseName != null) {
            report(new ServiceMessageBuilder(TEST_FAILED)
                    .addAttribute(NAME, testCaseName)
                    .addAttribute("message", "")
                    .addAttribute("details", "")
            );
        }
View Full Code Here


    private void report(ServiceMessageBuilder builder) {
        handler.notifyTextAvailable(builder.toString() + '\n', ProcessOutputTypes.STDOUT);
    }

    private void report(String title) {
        report(new ServiceMessageBuilder(title));
    }
View Full Code Here

    private void report(String title) {
        report(new ServiceMessageBuilder(title));
    }

    private void report(String title, String name) {
        report(new ServiceMessageBuilder(title).addAttribute(NAME, name));
    }
View Full Code Here

    private void report(String title, String name) {
        report(new ServiceMessageBuilder(title).addAttribute(NAME, name));
    }

    private void report(String title, String name, String location) {
        report(new ServiceMessageBuilder(title).addAttribute(NAME, name).addAttribute(LOCATION_HINT, location));
    }
View Full Code Here

    private void report(String title, String name, String location) {
        report(new ServiceMessageBuilder(title).addAttribute(NAME, name).addAttribute(LOCATION_HINT, location));
    }

    private void report(String title, String name, long duration) {
        report(new ServiceMessageBuilder(title)
                .addAttribute(NAME, name)
                .addAttribute(DURATION, Long.toString(duration)));
    }
View Full Code Here

TOP

Related Classes of com.intellij.execution.testframework.sm.ServiceMessageBuilder

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.