mojo/public/tools/mojom/mojom/parse/conditional_features_unittest.py
def testFilterIfNotMultipleConst(self):
    """Test that Consts are correctly filtered."""
    const_source = """
      [EnableIfNot=blue]
      const int kMyConst1 = 1;
      [EnableIfNot=orange]
      const double kMyConst2 = 2;
      [EnableIfNot=orange]
      const int kMyConst3 = 3;
    """
    expected_source = """
      [EnableIfNot=orange]
      const double kMyConst2 = 2;
      [EnableIfNot=orange]
      const int kMyConst3 = 3;
    """
    self.parseAndAssertEqual(const_source, expected_source)
Test that Consts are correctly filtered.
Test that Consts are correctly filtered.
Test that Consts are correctly filtered .
def testFilterIfNotMultipleConst(self):
    const_source = """
      [EnableIfNot=blue]
      const int kMyConst1 = 1;
      [EnableIfNot=orange]
      const double kMyConst2 = 2;
      [EnableIfNot=orange]
      const int kMyConst3 = 3;
    """
    expected_source = """
      [EnableIfNot=orange]
      const double kMyConst2 = 2;
      [EnableIfNot=orange]
      const int kMyConst3 = 3;
    """
    self.parseAndAssertEqual(const_source, expected_source)
def testFilterIfNotMultipleConst ( self ) : const_source = """
      [EnableIfNot=blue]
      const int kMyConst1 = 1;
      [EnableIfNot=orange]
      const double kMyConst2 = 2;
      [EnableIfNot=orange]
      const int kMyConst3 = 3;
    """ expected_source = """
      [EnableIfNot=orange]
      const double kMyConst2 = 2;
      [EnableIfNot=orange]
      const int kMyConst3 = 3;
    """ self . parseAndAssertEqual ( const_source , expected_source )
Test that Consts are correctly filtered.
Test that Consts are correctly filtered .
"""Test that Consts are correctly filtered."""
self