public TestCompactedV2()

in tcbot-teamcity-ignited/src/main/java/org/apache/ignite/tcignited/build/TestCompactedV2.java [83:113]


    public TestCompactedV2(IStringCompactor compactor, TestOccurrenceFull testOccurrence,
        ILogProductSpecific logSpecific) {
        String testOccurrenceId = testOccurrence.getId();
        if (!Strings.isNullOrEmpty(testOccurrenceId)) {
            try {
                final TestId testId = extractFullId(testOccurrenceId);
                if (testId != null)
                    idInBuild = testId.getTestId();
            } catch (Exception e) {
                logger.error("Failed to handle TC response: " + testOccurrenceId, e);
            }
        }

        name = compactor.getStringId(testOccurrence.name);
        status = compactor.getStringId(testOccurrence.status);
        duration = testOccurrence.duration == null ? -1 : testOccurrence.duration;

        setMuted(testOccurrence.muted);
        setCurrentlyMuted(testOccurrence.currentlyMuted);
        setCurrentlyInvestigated(testOccurrence.currentlyInvestigated);
        Boolean ignored = testOccurrence.ignored;
        setIgnored(ignored);

        if (testOccurrence.build != null && testOccurrence.build.getId() != null)
            actualBuildId = testOccurrence.build.getId();

        if (testOccurrence.test != null && testOccurrence.test.id != null)
            testId = Long.valueOf(testOccurrence.test.id);

        setDetails(testOccurrence.details, logSpecific);
    }