summaryrefslogtreecommitdiffstats
path: root/src/bin/d2/tests/d2_process_unittests.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/d2/tests/d2_process_unittests.cc')
-rw-r--r--src/bin/d2/tests/d2_process_unittests.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/bin/d2/tests/d2_process_unittests.cc b/src/bin/d2/tests/d2_process_unittests.cc
index 065fc85120..900a893c61 100644
--- a/src/bin/d2/tests/d2_process_unittests.cc
+++ b/src/bin/d2/tests/d2_process_unittests.cc
@@ -394,20 +394,6 @@ TEST_F(D2ProcessTest, badConfigureRecovery) {
EXPECT_FALSE(getReconfQueueFlag());
}
-/// @brief Verifies basic command method behavior.
-/// @TODO IF the D2Process is extended to support extra commands this testing
-/// will need to augmented accordingly.
-TEST_F(D2ProcessTest, command) {
- // Verify that the process will process unsupported command and
- // return a failure response.
- int rcode = -1;
- string args = "{ \"arg1\": 77 } ";
- isc::data::ElementPtr json = isc::data::Element::fromJSON(args);
- isc::data::ConstElementPtr answer = command("bogus_command", json);
- parseAnswer(rcode, answer);
- EXPECT_EQ(COMMAND_INVALID, rcode);
-}
-
/// @brief Tests shutdown command argument parsing
/// The shutdown command supports an optional "type" argument. This test
/// checks that for valid values, the shutdown() method: sets the shutdown