From 17eb05bddc5c52ae0cb121c7a3ee01e482afb523 Mon Sep 17 00:00:00 2001 From: Martin Ritchie Date: Thu, 23 Jul 2009 12:56:44 +0000 Subject: QPID-1992 : Fixed spelling errors git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@797049 13f79535-47bb-0310-9956-ffa450edef68 --- .../logging/messages/BindingMessagesTest.java | 25 ++++++++++++++++++++++ .../logging/subjects/AbstractTestLogSubject.java | 8 +++---- 2 files changed, 29 insertions(+), 4 deletions(-) create mode 100644 qpid/java/broker/src/test/java/org/apache/qpid/server/logging/messages/BindingMessagesTest.java (limited to 'qpid/java') diff --git a/qpid/java/broker/src/test/java/org/apache/qpid/server/logging/messages/BindingMessagesTest.java b/qpid/java/broker/src/test/java/org/apache/qpid/server/logging/messages/BindingMessagesTest.java new file mode 100644 index 0000000000..6e23b4a52f --- /dev/null +++ b/qpid/java/broker/src/test/java/org/apache/qpid/server/logging/messages/BindingMessagesTest.java @@ -0,0 +1,25 @@ +/* + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + */ +package org.apache.qpid.server.logging.messages; + +public class BindingMessagesTest +{ +} diff --git a/qpid/java/broker/src/test/java/org/apache/qpid/server/logging/subjects/AbstractTestLogSubject.java b/qpid/java/broker/src/test/java/org/apache/qpid/server/logging/subjects/AbstractTestLogSubject.java index 04081db8e3..02cdbdbe6a 100644 --- a/qpid/java/broker/src/test/java/org/apache/qpid/server/logging/subjects/AbstractTestLogSubject.java +++ b/qpid/java/broker/src/test/java/org/apache/qpid/server/logging/subjects/AbstractTestLogSubject.java @@ -57,9 +57,9 @@ public abstract class AbstractTestLogSubject extends TestCase RootMessageLogger rootLogger = new RootMessageLoggerImpl(serverConfig, logger); - LogActor actor_actor = new TestBlankActor(rootLogger); + LogActor actor = new TestBlankActor(rootLogger); - actor_actor.message(_subject, new LogMessage() + actor.message(_subject, new LogMessage() { public String toString() { @@ -228,7 +228,7 @@ public abstract class AbstractTestLogSubject extends TestCase { List logs = performLog(); - assertEquals("Log has to many messagse", 1, logs.size()); + assertEquals("Log has incorrect message count", 1, logs.size()); validateLogStatement(String.valueOf(logs.get(0))); } @@ -252,7 +252,7 @@ public abstract class AbstractTestLogSubject extends TestCase List logs = performLog(); - assertEquals("Log has to many messagse", 0, logs.size()); + assertEquals("Log has incorrect message count", 0, logs.size()); } } -- cgit v1.2.1