Adjust DropDown JavaScript test to internal rap core changes
diff --git a/tests/org.eclipse.rap.addons.dropdown.test/js/rwt/dropdown/DropDown_Test.js b/tests/org.eclipse.rap.addons.dropdown.test/js/rwt/dropdown/DropDown_Test.js
index c79fcce..a750e0d 100644
--- a/tests/org.eclipse.rap.addons.dropdown.test/js/rwt/dropdown/DropDown_Test.js
+++ b/tests/org.eclipse.rap.addons.dropdown.test/js/rwt/dropdown/DropDown_Test.js
@@ -284,7 +284,7 @@
showDropDown();
dropdown.hide();
- rwt.remote.Server.getInstance().send();
+ rwt.remote.Connection.getInstance().send();
var message = TestUtil.getMessageObject();
assertFalse( message.findSetProperty( "w3", "visible" ) );
@@ -297,7 +297,7 @@
TestUtil.fakeResponse( true );
dropdown.hide();
TestUtil.fakeResponse( false );
- rwt.remote.Server.getInstance().send();
+ rwt.remote.Connection.getInstance().send();
var message = TestUtil.getMessageObject();
assertNull( message.findSetOperation( "w3", "visible" ) );
@@ -305,7 +305,7 @@
testHide_DoesNotSendVisibleIfAlreadyInvisible : function() {
dropdown.hide();
- rwt.remote.Server.getInstance().send();
+ rwt.remote.Connection.getInstance().send();
var message = TestUtil.getMessageObject();
assertNull( message.findSetOperation( "w3", "visible" ) );
@@ -376,7 +376,7 @@
testShow_SendsVisible : function() {
showDropDown();
- rwt.remote.Server.getInstance().send();
+ rwt.remote.Connection.getInstance().send();
var message = TestUtil.getMessageObject();
assertTrue( message.findSetProperty( "w3", "visible" ) );
@@ -386,7 +386,7 @@
TestUtil.fakeResponse( true );
showDropDown();
TestUtil.fakeResponse( false );
- rwt.remote.Server.getInstance().send();
+ rwt.remote.Connection.getInstance().send();
var message = TestUtil.getMessageObject();
assertNull( message.findSetOperation( "w3", "visible" ) );
@@ -397,7 +397,7 @@
TestUtil.clearRequestLog();
dropdown.show();
- rwt.remote.Server.getInstance().send();
+ rwt.remote.Connection.getInstance().send();
var message = TestUtil.getMessageObject();
assertNull( message.findSetOperation( "w3", "visible" ) );
@@ -853,7 +853,7 @@
dropdown.setItems( [ "a", "b", "c" ] );
dropdown.setSelectionIndex( 1 );
- rwt.remote.Server.getInstance().send();
+ rwt.remote.Connection.getInstance().send();
var message = TestUtil.getMessageObject();
assertEquals( 1, message.findSetProperty( "w3", "selectionIndex" ) );
@@ -867,7 +867,7 @@
TestUtil.fakeResponse( true );
dropdown.setItems( [ "a", "b", "c" ] );
TestUtil.fakeResponse( false );
- rwt.remote.Server.getInstance().send();
+ rwt.remote.Connection.getInstance().send();
var message = TestUtil.getMessageObject();
assertNull( message.findSetOperation( "w3", "selectionIndex" ) );