You can't just return true; otherwise the property changed signal gets emitted every time you call set. It should only return true if the value of the text has changed, otherwise false.
Don't know why tool-tips are being initialised to TEXT("Unity"). They should be blank by default.
And then you can change the test to:
271 + EXPECT_EQ("", tooltip->_tooltip_text->GetText());
Otherwise, LGTM.
Builds OK for me, runs and passes test.
57 + text.SetSetterF unction( [this]( std::string newText) tooltip_ text->SetText( newText) ;
58 + {
59 + this->_
60 + return true;
61 + }
62 + );c
You can't just return true; otherwise the property changed signal gets emitted every time you call set. It should only return true if the value of the text has changed, otherwise false.
48 + _tooltip_text = new nux::StaticCair oText(TEXT( "Unity" ), NUX_TRACKER_ LOCATION) ; >_tooltip_ text->GetText( ));
271 + EXPECT_NE(new_tip, tooltip-
Don't know why tool-tips are being initialised to TEXT("Unity"). They should be blank by default. >_tooltip_ text->GetText( ));
And then you can change the test to:
271 + EXPECT_EQ("", tooltip-
Otherwise, LGTM.
Builds OK for me, runs and passes test.