Skip to content

Commit 010fbce

Browse files
committed
Remove verbose comments
1 parent 701b713 commit 010fbce

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/test/java/org/phoebus/channelfinder/processors/ChannelProcessorServiceTest.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,37 +73,30 @@ void setUp() {
7373

7474
@Test
7575
void testEnableAndDisableDummyProcessor() {
76-
// Initially, the dummy processor should be disabled
7776
Assertions.assertFalse(
7877
dummyProcessor.enabled(), "Dummy processor should be disabled initially");
7978

80-
// Enable the dummy processor
8179
channelProcessorService.setProcessorEnabled("DummyProcessor", true);
8280
Assertions.assertTrue(dummyProcessor.enabled(), "Dummy processor should be enabled");
8381

84-
// Disable the dummy processor
8582
channelProcessorService.setProcessorEnabled("DummyProcessor", false);
8683
Assertions.assertFalse(dummyProcessor.enabled(), "Dummy processor should be disabled");
8784
}
8885

8986
@Test
9087
void testDummyProcessorProcessing() {
91-
// Disable the dummy processor
9288
dummyProcessor.reset();
9389
channelProcessorService.setProcessorEnabled("DummyProcessor", false);
9490
Assertions.assertFalse(dummyProcessor.enabled(), "Dummy processor should be disabled");
9591

96-
// Process a channel - dummy processor should not be called
9792
channelProcessorService.sendToProcessors(
9893
Collections.singletonList(new Channel("test-channel")));
9994
Assertions.assertFalse(
10095
dummyProcessor.hasBeenProcessed(), "Dummy processor should not have been called");
10196

102-
// Enable the dummy processor
10397
channelProcessorService.setProcessorEnabled("DummyProcessor", true);
10498
Assertions.assertTrue(dummyProcessor.enabled(), "Dummy processor should be enabled");
10599

106-
// Process a channel - dummy processor should be called
107100
channelProcessorService.sendToProcessors(
108101
Collections.singletonList(new Channel("test-channel")));
109102
Assertions.assertTrue(

0 commit comments

Comments
 (0)