+
+int UtcDaliWindowSetParentWithBelowParentNegative(void)
+{
+ try
+ {
+ Dali::Window arg1;
+ Dali::Window arg2;
+ DevelWindow::SetParent(arg1, arg2, true);
+ DALI_TEST_CHECK(false); // Should not get here
+ }
+ catch(...)
+ {
+ DALI_TEST_CHECK(true); // We expect an assert
+ }
+ END_TEST;
+}
+
+int UtcDaliWindowAddInputRegion(void)
+{
+ Dali::Window instance;
+ try
+ {
+ Rect<int> includedInputRegion(0, 0, 720, 640);
+ DevelWindow::IncludeInputRegion(instance, includedInputRegion);
+ DALI_TEST_CHECK(false); // Should not get here
+ }
+ catch(...)
+ {
+ DALI_TEST_CHECK(true); // We expect an assert
+ }
+ END_TEST;
+}
+
+int UtcDaliWindowSubtractInputRegion(void)
+{
+ Dali::Window instance;
+ try
+ {
+ Rect<int> includedInputRegion(0, 0, 720, 1280);
+ DevelWindow::IncludeInputRegion(instance, includedInputRegion);
+
+ Rect<int> excludedInputRegion(0, 641, 720, 640);
+ DevelWindow::ExcludeInputRegion(instance, excludedInputRegion);
+
+ DALI_TEST_CHECK(false); // Should not get here
+ }
+ catch(...)
+ {
+ DALI_TEST_CHECK(true); // We expect an assert
+ }
+ END_TEST;
+}
+
+int UtcDaliWindowSetNeedsRotationCompletedAcknowledgementNegative(void)
+{
+ try
+ {
+ Dali::Window arg1;
+ DevelWindow::SetNeedsRotationCompletedAcknowledgement(arg1, true);
+ DALI_TEST_CHECK(false); // Should not get here
+ }
+ catch(...)
+ {
+ DALI_TEST_CHECK(true); // We expect an assert
+ }
+ END_TEST;
+}
+
+int UtcDaliWindowUnsetNeedsRotationCompletedAcknowledgementNegative(void)
+{
+ try
+ {
+ Dali::Window arg1;
+ DevelWindow::SetNeedsRotationCompletedAcknowledgement(arg1, false);
+ DALI_TEST_CHECK(false); // Should not get here
+ }
+ catch(...)
+ {
+ DALI_TEST_CHECK(true); // We expect an assert
+ }
+ END_TEST;
+}
+
+int UtcDaliWindowSendRotationCompletedAcknowledgementNegative(void)
+{
+ try
+ {
+ Dali::Window arg1;
+ DevelWindow::SendRotationCompletedAcknowledgement(arg1);
+
+ DALI_TEST_CHECK(false); // Should not get here
+ }
+ catch(...)
+ {
+ DALI_TEST_CHECK(true); // We expect an assert
+ }
+ END_TEST;
+}
+
+int UtcDaliWindowMovedSignalNegative(void)
+{
+ Dali::Window instance;
+ try
+ {
+ DevelWindow::MovedSignal(instance);
+ DALI_TEST_CHECK(false); // Should not get here
+ }
+ catch(...)
+ {
+ DALI_TEST_CHECK(true); // We expect an assert
+ }
+ END_TEST;
+}
+
+int UtcDaliWindowOrientationChangedSignalNegative(void)
+{
+ Dali::Window instance;
+ try
+ {
+ DevelWindow::OrientationChangedSignal(instance);
+ DALI_TEST_CHECK(false); // Should not get here
+ }
+ catch(...)
+ {
+ DALI_TEST_CHECK(true); // We expect an assert
+ }
+ END_TEST;
+}