Skip to content

Remove public from test classes/methods #11

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

Merged
merged 1 commit into from
Jul 5, 2022
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
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
/**
* @author Soby Chacko
*/
public class DefaultConsumerTests extends AbstractContainerBaseTest {
class DefaultConsumerTests extends AbstractContainerBaseTest {


@Test
public void testDefaultConsumer() throws Exception {
void testDefaultConsumer() throws Exception {
// try (PulsarContainer pulsar = new PulsarContainer(PULSAR_IMAGE)) {
// pulsar.start();
Map<String, Object> config = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
/**
* @author Soby Chacko
*/
public class FailoverConsumerTests extends AbstractContainerBaseTest {
class FailoverConsumerTests extends AbstractContainerBaseTest {

@Test
public void testFailOverConsumersOnPartitionedTopic() throws Exception {
void testFailOverConsumersOnPartitionedTopic() throws Exception {
PulsarAdmin admin = PulsarAdmin.builder()
.serviceHttpUrl(getHttpServiceUrl())
.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
/**
* @author Soby Chacko
*/
public class PulsarListenerTests extends AbstractContainerBaseTest {
class PulsarListenerTests extends AbstractContainerBaseTest {

static CountDownLatch latch1 = new CountDownLatch(1);
static CountDownLatch latch2 = new CountDownLatch(10);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@
/**
* @author Soby Chacko
*/
public class PulsarTemplateTests extends AbstractContainerBaseTest {
class PulsarTemplateTests extends AbstractContainerBaseTest {

public static final String TEST_TOPIC = "test_topic";

@Test
public void testUsage() throws Exception {
void testUsage() throws Exception {
testPulsarFunctionality(getPulsarBrokerUrl());
}

@Test
public void testSendAsync() throws Exception {
void testSendAsync() throws Exception {
Map<String, Object> config = new HashMap<>();
config.put("topicName", "foo-bar-123");
Map<String, Object> clientConfig = new HashMap<>();
Expand Down Expand Up @@ -79,7 +79,7 @@ public void testSendAsync() throws Exception {
}

@Test
public void testSendSync() throws Exception {
void testSendSync() throws Exception {
Map<String, Object> config = new HashMap<>();
config.put("topicName", "foo-bar-123");
Map<String, Object> clientConfig = new HashMap<>();
Expand Down