Community
Participate
Working Groups
Tests are needed for: - the new functionality for providing help for an individual command - the property which disables the console - the restriction of the telnet access on a particular address of the host
Created attachment 192540 [details] Patch providing the necessary tests The test for the functionality for providing help for individual command is add to the TestCommandExecution class. The test is to execute the help command for one command from the FrameworkCommandProvider and for one command from a custom command provider. The test checks the output of the command. The test for the property for disabling the console is in TestEquinoxStartWithoutConsole. The test starts a framework with the property for disabling the console set to true and checks that the FrameworkConsoleSession and FrameworkCommandProvider are not registered. The test for restricting telnet access to a particular network interface is in TestRestricted TelnetHost. It starts a framework with telnet open on localhost and checks that a connection cannot be opened using the ip address of the host.
Comment on attachment 192540 [details] Patch providing the necessary tests Thanks Lazar
Thanks for the test contribution Lazar! I released the tests with a small change to call Framework.stop() in a couple places where the test framework was left running.
Thanks for the correction Tom! Somehow I have missed this.