forked from hornetq/hornetq
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request hornetq#84 from andytaylor/i18n_logging
migrated jms tests to jboss logging
- Loading branch information
Showing
157 changed files
with
397 additions
and
466 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
.../integration-tests/src/test/java/org/hornetq/tests/integration/IntegrationTestLogger.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/* | ||
* JBoss, Home of Professional Open Source. | ||
* Copyright 2010, Red Hat, Inc., and individual contributors | ||
* as indicated by the @author tags. See the copyright.txt file in the | ||
* distribution for a full listing of individual contributors. | ||
* | ||
* This is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU Lesser General Public License as | ||
* published by the Free Software Foundation; either version 2.1 of | ||
* the License, or (at your option) any later version. | ||
* | ||
* This software is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public | ||
* License along with this software; if not, write to the Free | ||
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | ||
* 02110-1301 USA, or see the FSF site: http://www.fsf.org. | ||
*/ | ||
package org.hornetq.tests.integration; | ||
|
||
import org.jboss.logging.BasicLogger; | ||
import org.jboss.logging.Logger; | ||
import org.jboss.logging.MessageLogger; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Andy Taylor</a> | ||
* 4/18/12 | ||
*/ | ||
@MessageLogger(projectCode = "HQTEST") | ||
public interface IntegrationTestLogger extends BasicLogger | ||
{ | ||
/** | ||
* The integration test logger. | ||
*/ | ||
IntegrationTestLogger LOGGER = Logger.getMessageLogger(IntegrationTestLogger.class, IntegrationTestLogger.class.getPackage().getName()); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,17 +27,17 @@ | |
import org.hornetq.api.core.client.MessageHandler; | ||
import org.hornetq.api.core.client.ServerLocator; | ||
import org.hornetq.core.client.impl.ClientSessionInternal; | ||
import org.hornetq.core.logging.Logger; | ||
import org.hornetq.core.server.HornetQServer; | ||
import org.hornetq.core.server.Queue; | ||
import org.hornetq.tests.integration.IntegrationTestLogger; | ||
import org.hornetq.tests.util.ServiceTestBase; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Andy Taylor</a> | ||
*/ | ||
public class AcknowledgeTest extends ServiceTestBase | ||
{ | ||
private static final Logger log = Logger.getLogger(AcknowledgeTest.class); | ||
private static final IntegrationTestLogger log = IntegrationTestLogger.LOGGER; | ||
|
||
public final SimpleString addressA = new SimpleString("addressA"); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,16 +25,16 @@ | |
import org.hornetq.api.core.client.ClientSessionFactory; | ||
import org.hornetq.api.core.client.MessageHandler; | ||
import org.hornetq.api.core.client.ServerLocator; | ||
import org.hornetq.core.logging.Logger; | ||
import org.hornetq.core.server.HornetQServer; | ||
import org.hornetq.tests.integration.IntegrationTestLogger; | ||
import org.hornetq.tests.util.ServiceTestBase; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Andy Taylor</a> | ||
*/ | ||
public class AutogroupIdTest extends ServiceTestBase | ||
{ | ||
private static final Logger log = Logger.getLogger(AutogroupIdTest.class); | ||
private static final IntegrationTestLogger log = IntegrationTestLogger.LOGGER; | ||
|
||
public final SimpleString addressA = new SimpleString("addressA"); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,16 +21,16 @@ | |
import org.hornetq.api.core.client.ClientSession; | ||
import org.hornetq.api.core.client.ClientSessionFactory; | ||
import org.hornetq.api.core.client.ServerLocator; | ||
import org.hornetq.core.logging.Logger; | ||
import org.hornetq.core.server.HornetQServer; | ||
import org.hornetq.tests.integration.IntegrationTestLogger; | ||
import org.hornetq.tests.util.ServiceTestBase; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Andy Taylor</a> | ||
*/ | ||
public class ConsumerRoundRobinTest extends ServiceTestBase | ||
{ | ||
private static final Logger log = Logger.getLogger(QueueBrowserTest.class); | ||
private static final IntegrationTestLogger log = IntegrationTestLogger.LOGGER; | ||
|
||
public final SimpleString addressA = new SimpleString("addressA"); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.