Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Typos: fixing minor typographic mistakes

Issue number: 5
  • Loading branch information...
commit 4a2d07e64289c49c7e53620e5b3fbda7d97925f3 1 parent 58068de
@ddejean ddejean authored
View
6 src/com/vmware/lmock/impl/StoryProcessor.java
@@ -62,7 +62,7 @@ private void moveToFirstExpectationIfNeeded() {
if (hasNotYetMovedToFirstExpectation()) {
Expectation expect = expectationList.getCurrentExpectation();
if (expect != null) {
- logger.trace("moveToFirstExpectationIfNeeded", "reseting");
+ logger.trace("moveToFirstExpectationIfNeeded", "resetting");
expect.getOccurrences().reset();
storyTracker.addExpectationReport(expect);
}
@@ -141,7 +141,7 @@ private void checkEveryExpectationIsSatisfied() {
while (currentExpectation != null) {
logger.trace("checkEveryExpectationIsSatisfied", "checking expectation=", currentExpectation);
if (!currentExpectation.getOccurrences().canEndNow()) {
- logger.trace("checkEveryExpectationIsSatisfied", "occurence=", currentExpectation, "can't end now!");
+ logger.trace("checkEveryExpectationIsSatisfied", "occurrence=", currentExpectation, "can't end now!");
throw new UnsatisfiedOccurrenceError(currentExpectation);
}
@@ -243,7 +243,7 @@ public InvocationResultProvider invoke(Invocation invocation) {
// case is not necessarily an error, because a subsequent
// expectation may be OK.
if (currentExpectation.getOccurrences().hasReachedLimit()) {
- logger.trace("invoke", "reached the limit of epectation", currentExpectation,
+ logger.trace("invoke", "reached the limit of expectation", currentExpectation,
"trying next expectation");
nextExpectation();
} else {
View
2  src/com/vmware/lmock/impl/StubProcessor.java
@@ -65,7 +65,7 @@ private Stub searchStubForInvocation(List<Stub> stubs, Invocation invocation) {
// Give the priority to the younger stubs.
for (int index = stubs.size() - 1; index >= 0; index--) {
Stub stub = stubs.get(index);
- logger.trace("searchStubForInvocation", "cheking stub", stub, "against invocation", invocation);
+ logger.trace("searchStubForInvocation", "checking stub", stub, "against invocation", invocation);
if (stub.valueIsCompatibleWith(invocation)) {
logger.trace("searchStubForInvocation", "stub matches");
return stub;
View
2  src/com/vmware/lmock/masquerade/StoryManager.java
@@ -45,7 +45,7 @@ protected boolean isStoryOngoing() {
protected Story createAndBeginNewStory(Actor... actors) {
// Be sure that we restart from a clean environment.
// We can't end the story at this level, because we may refer to
- // old (but incomplete) elements, leading to spurious unstatisfied
+ // old (but incomplete) elements, leading to spurious unsatisfied
// occurrence exceptions.
Cleaner.cleanup();
story = Story.createWithMultipleActors(actors);
Please sign in to comment.
Something went wrong with that request. Please try again.