示例#1
0
int UtcDaliStageGetBackgroundColorP(void)
{
  TestApplication application;

  Stage stage = Stage::GetCurrent();

  DALI_TEST_EQUALS( Stage::DEFAULT_BACKGROUND_COLOR, stage.GetBackgroundColor(), TEST_LOCATION );
  END_TEST;
}
示例#2
0
int UtcDaliStageSetBackgroundColorP(void)
{
  TestApplication application;

  Stage stage = Stage::GetCurrent();

  Vector4 testColor( 0.1f, 0.2f, 0.3f, 1.0f );
  stage.SetBackgroundColor( testColor );

  DALI_TEST_EQUALS( testColor, stage.GetBackgroundColor(), TEST_LOCATION );
  END_TEST;
}