Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix test typos #20744

Merged
merged 1 commit into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading