Skip to content

Commit

Permalink
Remove commons classes that are available in core (#552)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan N. Klug <[email protected]>
(cherry picked from commit cd6f4fc)
  • Loading branch information
J-N-K committed Dec 29, 2023
1 parent ce8ab21 commit 8a38420
Show file tree
Hide file tree
Showing 25 changed files with 0 additions and 1,925 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,9 @@
import java.util.List;

import org.eclipse.jdt.annotation.NonNullByDefault;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.junit.jupiter.MockitoExtension;
import org.mockito.junit.jupiter.MockitoSettings;
import org.mockito.quality.Strictness;
Expand All @@ -53,8 +51,6 @@
import org.smarthomej.binding.tcpudp.internal.test.EchoServer;
import org.smarthomej.binding.tcpudp.internal.test.TestUtil;
import org.smarthomej.commons.SimpleDynamicStateDescriptionProvider;
import org.smarthomej.commons.transform.NoOpValueTransformation;
import org.smarthomej.commons.transform.ValueTransformationProvider;

/**
* The {@link ClientThingHandlerTest} is a test class for {@link ClientThingHandler}
Expand All @@ -73,18 +69,9 @@ public class ClientThingHandlerTest extends JavaTest {
@Mock
private @NonNullByDefault({}) ThingHandlerCallback thingHandlerCallback;

@Mock
private @NonNullByDefault({}) ValueTransformationProvider valueTransformationProvider;

@Mock
private @NonNullByDefault({}) SimpleDynamicStateDescriptionProvider simpleDynamicStateDescriptionProvider;

@BeforeEach
public void startUp() {
Mockito.doReturn(NoOpValueTransformation.getInstance()).when(valueTransformationProvider)
.getValueTransformation(any());
}

@Test
public void tcpRequestTest() {
requestTest(ClientConfiguration.Protocol.TCP);
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 8a38420

Please sign in to comment.