Exemple #1
0
 def test_impl_no_sub(self):
     """Make sure a class with base classes but not subclasses doesn't get a
     'Find subclasses' menu option."""
     menu_item_not_on(self.source_page('DerivedDerivedTypes.h'),
             'DerivedDerivedClass',
             'Find subclasses')
Exemple #2
0
 def test_override_no_overrides(self):
     """Make sure virtual functions that aren't overridden don't get a 'Find overrides'
     menu option."""
     menu_item_not_on(self.source_page('DerivedDerivedTypes.h'),
             'virtualFunc',
             'Find overrides')
Exemple #3
0
 def test_impl_no_base(self):
     """Make sure a class with subclasses but not base classes doesn't get a
     'Find base classes' menu option."""
     menu_item_not_on(self.source_page('BaseTypes.h'),
             'BaseClass',
             'Find base classes')
Exemple #4
0
 def test_external_definition(self):
     """Things included from outside the source tree shouldn't generate
     links to their (missing) definitions."""
     menu_item_not_on(self.source_page('main.cpp'),
                      'VERY_EXTERNAL',
                      'Jump to definition')
Exemple #5
0
 def test_override_no_overridden(self):
     """Make sure virtual functions that don't override don't get a 'Find overridden'
     menu option."""
     menu_item_not_on(self.source_page('BaseTypes.h'),
             'virtualFunc',
             'Find overridden')
Exemple #6
0
 def test_override_no_overrides(self):
     """Make sure virtual functions that aren't overridden don't get a 'Find overrides'
     menu option."""
     menu_item_not_on(self.source_page('DerivedDerivedTypes.h'),
                      'virtualFunc', 'Find overrides')
Exemple #7
0
 def test_impl_no_base(self):
     """Make sure a class with subclasses but not base classes doesn't get a
     'Find base classes' menu option."""
     menu_item_not_on(self.source_page('BaseTypes.h'), 'BaseClass',
                      'Find base classes')
Exemple #8
0
 def test_override_no_overridden(self):
     """Make sure virtual functions that don't override don't get a 'Find overridden'
     menu option."""
     menu_item_not_on(self.source_page('BaseTypes.h'), 'virtualFunc',
                      'Find overridden')
Exemple #9
0
 def test_external_definition(self):
     """Things included from outside the source tree shouldn't generate
     links to their (missing) definitions."""
     menu_item_not_on(self.source_page('main.cpp'), 'VERY_EXTERNAL',
                      'Jump to definition')
Exemple #10
0
 def test_impl_no_sub(self):
     """Make sure a class with base classes but not subclasses doesn't get a
     'Find subclasses' menu option."""
     menu_item_not_on(self.source_page('DerivedDerivedTypes.h'),
                      'DerivedDerivedClass', 'Find subclasses')
Exemple #11
0
 def test_function_def_no_jump(self):
     """Make sure a function definition doesn't get a 'Jump to definition'
     entry."""
     menu_item_not_on(self.source_page('extern.c'),
                      'another_file',
                      'Jump to definition')
Exemple #12
0
 def test_function_def_no_jump(self):
     """Make sure a function definition doesn't get a 'Jump to definition'
     entry."""
     menu_item_not_on(self.source_page('extern.c'), 'another_file',
                      'Jump to definition')