Beamable SDK
All Classes Namespaces Functions Variables Properties Events
Public Member Functions | List of all members
Beamable.Tests.UI.Buss.StyleBehaviourTests.MatchSelectorDistance Class Reference
Inheritance diagram for Beamable.Tests.UI.Buss.StyleBehaviourTests.MatchSelectorDistance:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Tests.UI.Buss.StyleBehaviourTests.MatchSelectorDistance:
Collaboration graph
[legend]

Public Member Functions

void MatchSelfByType_DistanceOfOne ()
 
void MatchSelfWithEmptySelector_DistanceOfOne ()
 
void ChildDoesntMatchButParentChainDoes_DistanceOfTwo ()
 This test SHOULD pass. The child element SHOULD match #a, but in a limited way. Consider the html... DIV::a SPAN::b More...
 
void DoesntMatch_DistanceZero ()
 
void ParentChild_ExactMatch_DistanceOfOne ()
 
void ParentChild_MatchedGrandparent_DistanceOfTwo ()
 
- Public Member Functions inherited from Beamable.Tests.UI.Buss.BUSSTest
void RegisterTypes ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Beamable.Tests.UI.Buss.BUSSTest
static T CreateElement< T > (string id=null)
 
static void SetMockConfig (BussConfiguration config)
 
static void SetMockFallback (StyleSheetObject fallback)
 

Member Function Documentation

◆ ChildDoesntMatchButParentChainDoes_DistanceOfTwo()

void Beamable.Tests.UI.Buss.StyleBehaviourTests.MatchSelectorDistance.ChildDoesntMatchButParentChainDoes_DistanceOfTwo ( )
inline

This test SHOULD pass. The child element SHOULD match #a, but in a limited way. Consider the html... DIV::a SPAN::b

And some css... #a { color: red; }

Then it should be true that SPAN::b's color is red. For that to be true, the rule must apply to SPAN::b.


The documentation for this class was generated from the following file: