<commit_before>"""
Test some expressions involving STL data types.
"""

from __future__ import print_function



import unittest2
import os, time
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil

class STLTestCase(TestBase):

    mydir = TestBase.compute_mydir(__file__)

    def setUp(self):
        # Call super's setUp().
        TestBase.setUp(self)
        # Find the line number to break inside main().
        self.source = 'main.cpp'
        self.line = line_number(self.source, '// Set break point at this line.')

    # rdar://problem/10400981
    @unittest2.expectedFailure
    def test(self):
        """Test some expressions involving STL data types."""
        self.build()
        exe = os.path.join(os.getcwd(), "a.out")
<commit_msg>Switch from unittest2.expectedFailure to our own decorator on TestSTL<commit_after>"""
Test some expressions involving STL data types.
"""

from __future__ import print_function



import unittest2
import os, time
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil

class STLTestCase(TestBase):

    mydir = TestBase.compute_mydir(__file__)

    def setUp(self):
        # Call super's setUp().
        TestBase.setUp(self)
        # Find the line number to break inside main().
        self.source = 'main.cpp'
        self.line = line_number(self.source, '// Set break point at this line.')

    @expectedFailureAll(bugnumber="rdar://problem/10400981")
    def test(self):
        """Test some expressions involving STL data types."""
        self.build()
        exe = os.path.join(os.getcwd(), "a.out")

{'fraction_non_alphanumeric': 0.1053864168618267, 'fraction_numerical': 0.0117096018735363, 'mean_word_length': 3.199017199017199, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6198401', 'n_tokens_mistral': 556, 'n_tokens_neox': 531, 'n_words': 151}