Skip to content

Commit

Permalink
chore: fix test typos
Browse files Browse the repository at this point in the history
  • Loading branch information
caalador committed Dec 18, 2024
1 parent fb02577 commit 695f8fb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions flow-client/src/test-gwt/java/com/vaadin/client/GwtSuite.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import com.google.gwt.junit.tools.GWTTestSuite;

import com.vaadin.client.communication.GwtAtmoshperePushConnectionTest;
import com.vaadin.client.communication.GwtAtmospherePushConnectionTest;
import com.vaadin.client.communication.GwtDefaultConnectionStateHandlerTest;
import com.vaadin.client.flow.GwtBasicElementBinderTest;
import com.vaadin.client.flow.GwtErrotHandlerTest;
Expand Down Expand Up @@ -52,7 +52,7 @@ public static Test suite() {
suite.addTestSuite(GwtMultipleBindingTest.class);
suite.addTestSuite(GwtDefaultConnectionStateHandlerTest.class);
suite.addTestSuite(GwtErrotHandlerTest.class);
suite.addTestSuite(GwtAtmoshperePushConnectionTest.class);
suite.addTestSuite(GwtAtmospherePushConnectionTest.class);
return suite;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* @author Vaadin Ltd
*
*/
public class GwtAtmoshperePushConnectionTest extends ClientEngineTestBase {
public class GwtAtmospherePushConnectionTest extends ClientEngineTestBase {

private Registry registry;

Expand Down Expand Up @@ -67,7 +67,7 @@ public JsMap<String, String> getParameters() {

}

public void testDicsonnect_disconnectUrlIsSameAsInConnect() {
public void testDisconnect_disconnectUrlIsSameAsInConnect() {
setUpAtmosphere();

registry.getApplicationConfiguration().setServiceUrl("context://foo");
Expand All @@ -82,8 +82,8 @@ public void testDicsonnect_disconnectUrlIsSameAsInConnect() {
connection.onConnect(response);
connection.disconnect(() -> {
});
assertTrue(getUnsubscriveUri().startsWith("bar/"));
assertEquals(pushUri, getUnsubscriveUri());
assertTrue(getUnsubscribeUri().startsWith("bar/"));
assertEquals(pushUri, getUnsubscribeUri());
}

private native void setUpAtmosphere()/*-{
Expand All @@ -101,7 +101,7 @@ private native String getPushUri()/*-{
return $wnd.subscribeUrl ;
}-*/;

private native String getUnsubscriveUri()/*-{
private native String getUnsubscribeUri()/*-{
return $wnd.unsubscribeUri ;
}-*/;

Expand Down

0 comments on commit 695f8fb

Please sign in to comment.