Skip navigation links
A B C D E I L M N O P Q R S T U W 

A

aClosedOrCanceledPendingOrderShouldBeRemovedFromTheMapping() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.RemoteBrokerTest
When the user closes or cancels a PendingOrder it should be removed from the PendingOrder to id mapping to prevent memory leaks.
administratorEventsAreDistributedToAllAdministrators() - Method in class de.voidnode.trading4j.server.reporting.implementations.CombiningNotifierTest
The cut distributes administrator events to all administrators.

B

BackgroundSerializingNotifierIT - Class in de.voidnode.trading4j.server.reporting.implementations
Checks if BackgroundSerializingNotifier works as expected.
BackgroundSerializingNotifierIT() - Constructor for class de.voidnode.trading4j.server.reporting.implementations.BackgroundSerializingNotifierIT
 

C

canCheckIfOrderWithIdIsKnown() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.PendingOrderMapperTest
The cut allows to be checked for a OrderEventListener with a given id to be present.
canSendMails() - Method in class de.voidnode.trading4j.server.reporting.implementations.MailSenderIT
The cut can send mails.
changeCloseConditionsOfAnUnknownPendingOrderShouldFail() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.RemoteBrokerTest
When the ExpertAdvisor tries to change the CloseConditions of an order that was already closed or canceled placed, an LoopThroughIllegalStateException should be thrown.
cleanUpCut() - Method in class de.voidnode.trading4j.server.reporting.implementations.BackgroundSerializingNotifierIT
Cleans up the cut after the tests.
ClientCommunicatorTest - Class in de.voidnode.trading4j.server.protocol
Tests if ClientCommunicator works as expected.
ClientCommunicatorTest() - Constructor for class de.voidnode.trading4j.server.protocol.ClientCommunicatorTest
 
closeOrCancelAnAlreadyClosedOrCanceledOrderShouldFail() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.RemoteBrokerTest
When the ExpertAdvisor tries to close or cancel an already closed or canceled order, an LoopThroughIllegalStateException should be thrown.
CombiningNotifierTest - Class in de.voidnode.trading4j.server.reporting.implementations
Checks if CombiningNotifier works as expected.
CombiningNotifierTest() - Constructor for class de.voidnode.trading4j.server.reporting.implementations.CombiningNotifierTest
 
communicationExceptionThrownInSendMethodsShouldBeRethrownInTheEventLoop() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.ExpertAdvisorProtocolTest
Fatal CommunicationException that where wrapped in a RuntimeException by the remote Broker should be unpacked and re-thrown.

D

de.voidnode.trading4j.server - package de.voidnode.trading4j.server
 
de.voidnode.trading4j.server.oio - package de.voidnode.trading4j.server.oio
 
de.voidnode.trading4j.server.protocol - package de.voidnode.trading4j.server.protocol
 
de.voidnode.trading4j.server.protocol.expertadvisor - package de.voidnode.trading4j.server.protocol.expertadvisor
 
de.voidnode.trading4j.server.protocol.messages - package de.voidnode.trading4j.server.protocol.messages
 
de.voidnode.trading4j.server.reporting.implementations - package de.voidnode.trading4j.server.reporting.implementations
 
developerEventsAreDistributedToAllDevelopers() - Method in class de.voidnode.trading4j.server.reporting.implementations.CombiningNotifierTest
The cut distributes developer events to all developers.
disconnect() - Method in class de.voidnode.trading4j.server.oio.OioClientConnectionIT
Closes the connection after the test.

E

errorIsSendToTheAdministratorWhenSendingEmailsFailed() - Method in class de.voidnode.trading4j.server.reporting.implementations.MailNotifierTest
When sending an email fails the administrator is notified.
ExceptionHandlerTest - Class in de.voidnode.trading4j.server.protocol
Tests if ExceptionHandler works as expected.
ExceptionHandlerTest() - Constructor for class de.voidnode.trading4j.server.protocol.ExceptionHandlerTest
 
ExpertAdvisorProtocolTest - Class in de.voidnode.trading4j.server.protocol.expertadvisor
Checks if ExpertAdvisorProtocol works as expected.
ExpertAdvisorProtocolTest() - Constructor for class de.voidnode.trading4j.server.protocol.expertadvisor.ExpertAdvisorProtocolTest
 

I

IndicatorProtocolTest - Class in de.voidnode.trading4j.server.protocol
Checks if IndicatorProtocol works as expected.
IndicatorProtocolTest() - Constructor for class de.voidnode.trading4j.server.protocol.IndicatorProtocolTest
 

L

lentedVolumeIsReturnedWhenClosingTheConnection() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.ExpertAdvisorProtocolTest
All volume that was lent from the MoneyManagement is returned when the connection closes expectedly or unexpectedly.
listenersCanBeEmpty() - Method in class de.voidnode.trading4j.server.reporting.implementations.CombiningNotifierTest
It is possible that for some events no listeners are registered.
LocalExpertAdvisorTest - Class in de.voidnode.trading4j.server.protocol.expertadvisor
Checks if LocalExpertAdvisor works as expected.
LocalExpertAdvisorTest() - Constructor for class de.voidnode.trading4j.server.protocol.expertadvisor.LocalExpertAdvisorTest
 

M

MailNotifierTest - Class in de.voidnode.trading4j.server.reporting.implementations
Checks if MailNotifier works as expected.
MailNotifierTest() - Constructor for class de.voidnode.trading4j.server.reporting.implementations.MailNotifierTest
 
MailSenderIT - Class in de.voidnode.trading4j.server.reporting.implementations
Checks if MailSender works as expected.
MailSenderIT() - Constructor for class de.voidnode.trading4j.server.reporting.implementations.MailSenderIT
 
MessageBasedClientConnectionTest - Class in de.voidnode.trading4j.server.protocol.messages
Tests if MessageBasedClientConnection works as expected.
MessageBasedClientConnectionTest() - Constructor for class de.voidnode.trading4j.server.protocol.messages.MessageBasedClientConnectionTest
 
MessageTypeTest - Class in de.voidnode.trading4j.server.protocol.messages
Tests if MessageType works as expected.
MessageTypeTest() - Constructor for class de.voidnode.trading4j.server.protocol.messages.MessageTypeTest
 

N

notifiersAreOptional() - Method in class de.voidnode.trading4j.server.reporting.implementations.BackgroundSerializingNotifierIT
Not all notifiers need to be passed in the constructor.

O

OioClientConnectionIT - Class in de.voidnode.trading4j.server.oio
Checks if OioClientConnection works as expected.
OioClientConnectionIT() - Constructor for class de.voidnode.trading4j.server.oio.OioClientConnectionIT
 

P

PendingOrderMapperTest - Class in de.voidnode.trading4j.server.protocol.expertadvisor
Checks if PendingOrderMapper works as expected.
PendingOrderMapperTest() - Constructor for class de.voidnode.trading4j.server.protocol.expertadvisor.PendingOrderMapperTest
 

Q

queriingForUnknownPendingOrderIdsShouldResultInAnException() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.PendingOrderMapperTest
When the cut is queried for the OrderEventListener of an unknown order id, an exception is thrown.

R

RemoteBrokerTest - Class in de.voidnode.trading4j.server.protocol.expertadvisor
Checks if RemoteBroker works as expected.
RemoteBrokerTest() - Constructor for class de.voidnode.trading4j.server.protocol.expertadvisor.RemoteBrokerTest
 
removingAnUnknownIdShouldResultInAnException() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.PendingOrderMapperTest
When an OrderEventListener with an unknown id is removed from the cut, an exception should be thrown.

S

setUpClassToTestAndDependencies() - Method in class de.voidnode.trading4j.server.oio.OioClientConnectionIT
Sets up the class to test and its dependencies.
setUpCut() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.PendingOrderMapperTest
Sets up the initial state of the PendingOrderMapper.
setUpCut() - Method in class de.voidnode.trading4j.server.reporting.implementations.CombiningNotifierTest
Sets up the cut.
setUpCut() - Method in class de.voidnode.trading4j.server.reporting.implementations.MailNotifierTest
Initializes the cut.
setUpMocks() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.RemoteBrokerTest
Sets up the default behavior of the mocks.
setUpMocks() - Method in class de.voidnode.trading4j.server.protocol.IndicatorProtocolTest
Wires up the mocks.
setUpMocksAndCut() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.ExpertAdvisorProtocolTest
Wires up the mocks and set up the class to test.
setUpMocksAndCut() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.LocalExpertAdvisorTest
Sets up the default behavior of the mocks.
setUpProtocol() - Method in class de.voidnode.trading4j.server.protocol.IndicatorProtocolTest
Sets up the protocol to test.
shouldBeAbleToReadBytes() - Method in class de.voidnode.trading4j.server.oio.OioClientConnectionIT
The connection should be able to read Bytes over the network.
shouldBeAbleToReadDoubles() - Method in class de.voidnode.trading4j.server.oio.OioClientConnectionIT
The connection should be able to read Doubles over the network.
shouldBeAbleToReadIntegers() - Method in class de.voidnode.trading4j.server.oio.OioClientConnectionIT
The connection should be able to read Integers over the network.
shouldBeAbleToReadLongss() - Method in class de.voidnode.trading4j.server.oio.OioClientConnectionIT
The connection should be able to read Longs over the network.
shouldBeAbleToReadUtf8Strings() - Method in class de.voidnode.trading4j.server.oio.OioClientConnectionIT
The connection should be able to length prepended UTF-8 Strings over the network.
shouldBeAbleToRemoveMappings() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.PendingOrderMapperTest
It should be possible to remove order id to OrderEventListener mappings from the cut.
shouldBeAbleToWriteBytes() - Method in class de.voidnode.trading4j.server.oio.OioClientConnectionIT
The connection should be able to write Bytes to the network.
shouldBeAbleToWriteDoubles() - Method in class de.voidnode.trading4j.server.oio.OioClientConnectionIT
The connection should be able to write Doubles to the network.
shouldBeAbleToWriteIntegers() - Method in class de.voidnode.trading4j.server.oio.OioClientConnectionIT
The connection should be able to write Integers to the network.
shouldBeAbleToWriteLongs() - Method in class de.voidnode.trading4j.server.oio.OioClientConnectionIT
The connection should be able to write Longs to the network.
shouldBufferDataToSendAsLongAsDataIsAvailableForReadAndBufferIsNotFull() - Method in class de.voidnode.trading4j.server.oio.OioClientConnectionIT
As long as there are more bytes available to read, the connection should buffer the data to send.
shouldCloseOrCancelPendingOrdersCorrectly() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.RemoteBrokerTest
When the ExpertAdvisor requests the closing of a PendingOrder it should be send correctly to the remote Broker.
shouldCloseTheConnectionWhenAnUnknownExpertAdvisorWasRequested() - Method in class de.voidnode.trading4j.server.TradingServerAT
When a client connects and requests an unknown expert advisor the server should terminate the connection.
shouldCloseTheConnectionWhenAnUnknownIndicatorWasRequested() - Method in class de.voidnode.trading4j.server.TradingServerAT
When a client connects and requests an unknown indicator the server should terminate the connection.
shouldCreateAndStartExpertAdvisorProtocolWhenExpertAdvisorIsRequested() - Method in class de.voidnode.trading4j.server.protocol.ClientCommunicatorTest
When the client request a trading algorithm of type expert advisor, the ExpertAdvisorProtocol should be used.
shouldCreateAndStartIndicatorProtocolWhenAnIndicatorIsRequested() - Method in class de.voidnode.trading4j.server.protocol.ClientCommunicatorTest
When the client requests a trading algorithm of the type trend indicator, the IndicatorProtocol should be used.
shouldFailForUnknownMessageClasses() - Method in class de.voidnode.trading4j.server.protocol.messages.MessageTypeTest
When the Class passed to MessageType does implement Message but is unknown to MessageType, an exception should be thrown.
shouldFailWhenReadingAnUnknownMessageNumber() - Method in class de.voidnode.trading4j.server.protocol.messages.MessageBasedClientConnectionTest
Should fail when an arbitrary message should be read next but the message number that was read is unknown.
shouldFailWhenReadingAWrongMessageNumber() - Method in class de.voidnode.trading4j.server.protocol.messages.MessageBasedClientConnectionTest
The class should throw an exception when the read message number is not the correct message number for the message that should be read next.
shouldFailWhenTradingEnvironmentMessagesContainsUnknownForexPair() - Method in class de.voidnode.trading4j.server.protocol.messages.MessageBasedClientConnectionTest
Should fail when a trading environment message with an unknown forex pair was received.
shouldFailWhenUnknownOrderWasClosed() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.LocalExpertAdvisorTest
When a PendingOrderConditionalyClosedMessage message was received for an unknown PendingOrder a ProtocolException should be thrown.
shouldFailWhenUnknownOrderWasOpened() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.LocalExpertAdvisorTest
When a PendingOrderConditionalyExecutedMessage message was received for an unknown PendingOrder a ProtocolException should be thrown.
shouldFailWithAProtcolExceptionWhenUnexpectedMessageWasReceived() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.LocalExpertAdvisorTest
When the MessageBasedClientConnection read a message that was not expected to be read for the ExpertAdvisorProtocol, a ProtocolException should be thrown.
shouldInformAdminOfNormalyTerminatedConnections() - Method in class de.voidnode.trading4j.server.protocol.ExceptionHandlerTest
When the connection was terminated normally, the admin should be informed.
shouldInformBalanceManagerOnChangedBalance() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.LocalExpertAdvisorTest
When a BalanceChangedMessage was received the expert advisor should be notified.
shouldInformExpertAdvisorOnClosedPendingOrders() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.LocalExpertAdvisorTest
When a pending order was closed because it's closing conditions are met, the ExpertAdvisor should be notified.
shouldInformExpertAdvisorOnNewMarketData() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.LocalExpertAdvisorTest
When a NewMarketDataExtendedMessage was received the expert advisor should be notified.
shouldInformExpertAdvisorOnOpenedPendingOrders() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.LocalExpertAdvisorTest
When a pending order was opened the ExpertAdvisor should be notified.
shouldInformTheBalanceManagerOnAccountCurrencyExchangeRateChanged() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.LocalExpertAdvisorTest
When a AccountCurrencyExchangeRateChangedMessage was received the expert advisor should be notified.
shouldInformTheExpertAdvisorWhenSendingAPendingOrderFailed() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.RemoteBrokerTest
When the expert advisor tried to send a pending order but the remote broker failed to place this order, the expert advisor should be notified.
shouldNotifyClientOfFinishedMessageHandling() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.ExpertAdvisorProtocolTest
After an incoming Message was handled by the LocalExpertAdvisor the cut should send an EventHandlingFinishedMessage message to indicate to the remote Broker that no more Messages are send in response to the received one.
shouldPassCommunicationExceptionsToExceptionHandler() - Method in class de.voidnode.trading4j.server.protocol.ClientCommunicatorTest
When the protocol execution ends with a CommunicationException it should be passed to the ExceptionHandler for proper handling.
shouldPassRuntimeExceptionToExceptionHandler() - Method in class de.voidnode.trading4j.server.protocol.ClientCommunicatorTest
When the protocol execution ends with a RuntimeException it should be passed to the ExceptionHandler for proper handling.
shouldReadAccountCurrencyExchangeRateChangedMessageCorrectly() - Method in class de.voidnode.trading4j.server.protocol.messages.MessageBasedClientConnectionTest
The reader should be able to read AccountCurrencyExchangeRateChangedMessages correctly.
shouldReadAlgorithmRequestMessages() - Method in class de.voidnode.trading4j.server.protocol.messages.MessageBasedClientConnectionTest
The class should be able to read RequestTradingAlgorithmMessages correctly.
shouldReadBalanceChangedMessagesCorrectly() - Method in class de.voidnode.trading4j.server.protocol.messages.MessageBasedClientConnectionTest
The reader should be able to read BalanceChangedMessages correctly.
shouldReadNewMarketDataExtendedMessages() - Method in class de.voidnode.trading4j.server.protocol.messages.MessageBasedClientConnectionTest
The class should be able to read NewMarketDataExtendedMessage correctly.
shouldReadNewMarketDataSimpleMessages() - Method in class de.voidnode.trading4j.server.protocol.messages.MessageBasedClientConnectionTest
The class should be able to read NewMarketDataSimpleMessage correctly.
shouldReadNextMessageAfterAReadMessageWasEvaluated() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.ExpertAdvisorProtocolTest
When a message was read and the appropriate actions executed, the next message should be read.
shouldReadPendingOrderConditionalyClosedMessagesCorrectly() - Method in class de.voidnode.trading4j.server.protocol.messages.MessageBasedClientConnectionTest
The reader should be able to read PendingOrderConditionalyClosedMessage messages correctly.
shouldReadPendingOrderConditionalyExecutedMessagesCorrectly() - Method in class de.voidnode.trading4j.server.protocol.messages.MessageBasedClientConnectionTest
The reader should be able to read PendingOrderConditionalyExecutedMessage messages correctly.
shouldReadResponseChangeCloseConditionsMessagesCorrectly() - Method in class de.voidnode.trading4j.server.protocol.messages.MessageBasedClientConnectionTest
The reader should be able to read ResponseChangeCloseConditionsMessages correctly.
shouldReadResponsePlacePendingOrderMessagesCorrectly() - Method in class de.voidnode.trading4j.server.protocol.messages.MessageBasedClientConnectionTest
The reader should be able to read ResponsePlacePendingOrderMessage messages correctly.
shouldReadTradingEnvironmentMessagesCorreclty() - Method in class de.voidnode.trading4j.server.protocol.messages.MessageBasedClientConnectionTest
The reader should be able to read TradingEnvironmentInformationMessages correctly.
shouldRecivedCandleSendItToIndicatorAndSendTheTrendBackToTheClient() - Method in class de.voidnode.trading4j.server.protocol.IndicatorProtocolTest
After indicator indicator initialization has finished, the protocol should receive a candle, send it to the indicator and send the results of the indicator back to the client.
shouldReciveNextCandleAfterTrendWasSend() - Method in class de.voidnode.trading4j.server.protocol.IndicatorProtocolTest
After the trend for a candle was send back to the client, the protocol should be waiting to receive the next candle.
shouldRegisterPendingOrderIdWithTheReceivedOrderEventListenerWhenSendingAPendingOrder() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.RemoteBrokerTest
When an PendingOrder is send to a remote Broker, the remote broker sends back the id of the PendingOrder.
shouldRequestCorrectExpertAdvisorBasedOnTheAlgorithmNumber() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.ExpertAdvisorProtocolTest
When the protocol is started, the LocalExpertAdvisor wrapping the correct ExpertAdvisor should be created through the ProtocolFactory.
shouldRequestCorrectIndicatorBasedOnTheIndicatorNumber() - Method in class de.voidnode.trading4j.server.protocol.IndicatorProtocolTest
The protocol should use the indicator factory to create the correct indicator for the given indicator number.
shouldReturnAnEmptyOptionalWhenThePassedNumberIsNotAssignedToAnyMessag() - Method in class de.voidnode.trading4j.server.protocol.messages.MessageTypeTest
When the MessageType is queried for the MessageType with a number that is not assigned to any MessageType an empty Optional should be retuned.
shouldReturnCorrectEnumConstantForMessagClass() - Method in class de.voidnode.trading4j.server.protocol.messages.MessageTypeTest
When a Class implementing Message is passed to MessageType, the correct Enum constant should be returned.
shouldReturnCorrectEnumConstantForMessageNumber() - Method in class de.voidnode.trading4j.server.protocol.messages.MessageTypeTest
When the MessageType is queried for the MessageType with a given number, the correct MessageType should be returned.
shouldSendBufferedDataWhenBufferIsFullEvenIfThereIsMoreToRead() - Method in class de.voidnode.trading4j.server.oio.OioClientConnectionIT
When the buffer is full it should be send, even if there is more to read.
shouldSendDummyIndicatorDataWhenRequested() - Method in class de.voidnode.trading4j.server.TradingServerAT
When a client connects and request the dummy trend Indicator, the server should send trends based on it.
shouldSendOrdersBasedOnOrderOnEveryCandleStickWhenRequested() - Method in class de.voidnode.trading4j.server.TradingServerAT
When a client connects and requests the expert advisor that sends an order on every candle stick the server should send pending orders on every candle stick.
shouldSendPendingOrdersCorrectly() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.RemoteBrokerTest
When the ExpertAdvisor creates a PendingOrder the protocol should send it to the remote broker.
shouldSentCloseConditionChangesOfPendingOrdersCorrectly() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.RemoteBrokerTest
When the user changes the CloseConditions of an order, the cut should send this request to the remote broker correctly.
shouldStoreOrderEventListenersAndMakeThemQueriableByTheirOrderId() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.PendingOrderMapperTest
The cut should store OrderEventListener and map them to the ids of orders.
shouldThrowANormalCloseExceptionWhenTheClientClosedTheConnection() - Method in class de.voidnode.trading4j.server.oio.OioClientConnectionIT
When the client closed the connection, the next read or write should result in a NormalCloseException.
shouldWarnAdminOfUnexpectetlyClosedConnections() - Method in class de.voidnode.trading4j.server.protocol.ExceptionHandlerTest
When the connection was terminated abnormally, the admin should be warned.
shouldWriteChangeCloseConditionMessagesCorrectly() - Method in class de.voidnode.trading4j.server.protocol.messages.MessageBasedClientConnectionTest
The class should be able to write ChangeCloseConditionsMessage messages correctly.
shouldWriteCloseOrCancelPendingOrderMessagesCorrectly() - Method in class de.voidnode.trading4j.server.protocol.messages.MessageBasedClientConnectionTest
The class should be able to write CloseOrCancelPendingOrderMessage messages correctly.
shouldWriteEventHandlingFinishedMessagesCorrectly() - Method in class de.voidnode.trading4j.server.protocol.messages.MessageBasedClientConnectionTest
The class should be able to write EventHandlingFinishedMessage messages correctly.
shouldWritePlacePendingOrderMessagesCorrectly() - Method in class de.voidnode.trading4j.server.protocol.messages.MessageBasedClientConnectionTest
The class should be able to write PlacePendingOrderMessage messages correctly.
shouldWriteTrendForMarketDataMessages() - Method in class de.voidnode.trading4j.server.protocol.messages.MessageBasedClientConnectionTest
The class should be able to write TrendForMarketDataMessage correctly.
shoulRemoveClosedPendingOrdersFromTheMapping() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.LocalExpertAdvisorTest
To prevent memory leaks, closed PendingOrders should be removed from the order-to-id mapping.
startServer() - Method in class de.voidnode.trading4j.server.TradingServerAT
Starts the trading server that should be tested.
stopFailMailServer() - Method in class de.voidnode.trading4j.server.reporting.implementations.MailSenderIT
Shuts the test mail server down.
stopServer() - Method in class de.voidnode.trading4j.server.TradingServerAT
Stops the trading server after the tests.

T

threadSafeAccessToNotifiersShouldBeGuaranteed() - Method in class de.voidnode.trading4j.server.reporting.implementations.BackgroundSerializingNotifierIT
The notifiers should be accessed thread safe.
throwsAnExceptionWhenSendingAMailFailed() - Method in class de.voidnode.trading4j.server.reporting.implementations.MailSenderIT
The cut throws an exception when sending a mail failed.
traderEventsAreDistributedToAllTraders() - Method in class de.voidnode.trading4j.server.reporting.implementations.CombiningNotifierTest
The cut distributes trader events to all traders.
traderEventsAreSendToConfiguredMailAddress() - Method in class de.voidnode.trading4j.server.reporting.implementations.MailNotifierTest
Trade events are send to the configured E-Mail address.
TradingServerAT - Class in de.voidnode.trading4j.server
A system test that creates a trading server as users of this library would do it and checks if all parts work well together.
TradingServerAT() - Constructor for class de.voidnode.trading4j.server.TradingServerAT
 

U

unexpectedTradeEventsAreSendToConfiguredMailAddress() - Method in class de.voidnode.trading4j.server.reporting.implementations.MailNotifierTest
Unexpected trade events are send to the configured mail address.

W

whenAMessageReadExceptionOccurredTheConnectionShouldBeClosedAndTheAdminBeWarned() - Method in class de.voidnode.trading4j.server.protocol.ExceptionHandlerTest
When a MessageReadException occurred the connection should be closed and the admin should be warned.
whenAnUnknownCommunicationExceptionShouldBeHandledTheDeveloperShouldBeWarned() - Method in class de.voidnode.trading4j.server.protocol.ExceptionHandlerTest
When the ExceptionHandler should handle an unknown CommunicationException the developer should be notified of this error, the admin should be warned and the connection should be closed.
whenAProtocolExceptionOccurredTheConnectionShouldBeClosedAndTheAdminBeWarned() - Method in class de.voidnode.trading4j.server.protocol.ExceptionHandlerTest
When a ProtocolException occurred the connection should be closed and the admin should be warned.
whenARuntimeExceptionOccurredTheConnectionShouldBeClosedAndTheDeveloperBeWarned() - Method in class de.voidnode.trading4j.server.protocol.ExceptionHandlerTest
When any RuntimeException occurs, the connection should be closed, the developer should be notified on this error and the admin should be warned.
whenChangingCloseConditionsFailedTheExpertAdvisorShouldBeInformed() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.RemoteBrokerTest
When changing the CloseConditions failed on the remote side, the ExpertAdvisor should be informed correctly.
whenClosingTheConnectionFailedTheAdminShouldBeWarned() - Method in class de.voidnode.trading4j.server.protocol.ExceptionHandlerTest
When closing the connection failed the admin should be warned.
whenExpertAdvisorIsUnknownTheProtocolShouldFailWithAProtocolException() - Method in class de.voidnode.trading4j.server.protocol.expertadvisor.ExpertAdvisorProtocolTest
When an ExpertAdvisor number was passed to the protocol which is unknown, the protocol should fail with a ProtocolException.
whenIndicatorIsUnknownTheProtocolShouldFailWithAProtocolException() - Method in class de.voidnode.trading4j.server.protocol.IndicatorProtocolTest
If no indicator is known for the received number, the protocol should close the connection and throw a ProtocolException.
wireUpDependencyMocks() - Method in class de.voidnode.trading4j.server.protocol.ClientCommunicatorTest
Wires up the behavior of the dependency mocks.
A B C D E I L M N O P Q R S T U W 
Skip navigation links

Copyright © 2016. All rights reserved.