def _setupMetaData(self):
        """Setup the default meta data for the test case:

        - id: self.__class__.__name__ + testMethodName OR self.name + testMethodName
        - description: 1st line of Class docstring + 1st line of method docstring
        - explanation: rest of Class docstring + rest of method docstring
        
        """

        
        testDoc = self._testMethod.__doc__ or '\n'
        testDocLines = testDoc.splitlines()
        
        testDescription = testDocLines[0].strip() 
        if len(testDocLines) > 1:
            testExplanation = '\n'.join(
                [ln.strip() for ln in testDocLines[1:]]
                ).strip()
        else:
            testExplanation = ''
            
        fixtureDoc = self.__doc__ or '\n'
        fixtureDocLines = fixtureDoc.splitlines()
        fixtureDescription = fixtureDocLines[0].strip()
        if len(fixtureDocLines) > 1:
            fixtureExplanation = '\n'.join(
                [ln.strip() for ln in fixtureDocLines[1:]]
                ).strip()
        else:
            fixtureExplanation = ''
        
        if not self.name:
            self.name = self.__class__
        self._id = "%s.%s" % (self.name, self._testMethodName)
        
        if not fixtureDescription:
            self._description = testDescription
        else:
            self._description = fixtureDescription + ', ' + testDescription

        if not fixtureExplanation:
            self._explanation = testExplanation
        else:
            self._explanation = ['Fixture Explanation:',
                                 '--------------------',
                                 fixtureExplanation,
                                 '',
                                 'Test Explanation:',
                                 '-----------------',
                                 testExplanation
                                 ]
            self._explanation = '\n'.join(self._explanation)
dataset/ETHPy150Open skyostil/tracy/src/generator/Cheetah/Tests/unittest_local_copy.py/TestCase._setupMetaData/original