Get some basic unit testing in place for the RaftActor class 63/9963/4
authorMoiz Raja <moraja@cisco.com>
Thu, 14 Aug 2014 22:02:58 +0000 (15:02 -0700)
committerMoiz Raja <moraja@cisco.com>
Sun, 24 Aug 2014 19:17:14 +0000 (12:17 -0700)
commit83f7f24d355f87d8c1a850098d5b7c82e5d746dd
treea8863c6ee977867d5a5080cbe2cbe4b5ecfb7edf
parent38126131b91a300c7545df31b9b1ba846292696e
Get some basic unit testing in place for the RaftActor class

The two tests that were added do the following,
    - test construction
    - test finding a leader when the current raft actor is the leader

This commit also specifies the proper includes and excludes for code coverage

Change-Id: I5898c4a7f4044f13587fe5d58878d560f60e65dc
Signed-off-by: Moiz Raja <moraja@cisco.com>
opendaylight/md-sal/sal-akka-raft/pom.xml
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/RaftActor.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/client/messages/FindLeader.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/client/messages/FindLeaderReply.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/AbstractActorTest.java
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/RaftActorTest.java [new file with mode: 0644]
opendaylight/md-sal/sal-akka-raft/src/test/resources/application.conf

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.