From 0091b048b3dcac0d69dc04b7764b4501c14de3af Mon Sep 17 00:00:00 2001 From: Rajith Muditha Attapattu Date: Thu, 8 Mar 2012 21:41:45 +0000 Subject: QPID-3751 Committing patch from Weston Price. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298597 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/java/jca/.gitignore | 1 - qpid/java/jca/example/.gitignore | 1 - .../apache/qpid/ra/QpidResourceAdapterTest.java | 34 ++++++++++++++++++++++ 3 files changed, 34 insertions(+), 2 deletions(-) delete mode 100644 qpid/java/jca/.gitignore create mode 100644 qpid/java/jca/src/test/java/org/apache/qpid/ra/QpidResourceAdapterTest.java (limited to 'qpid/java/jca') diff --git a/qpid/java/jca/.gitignore b/qpid/java/jca/.gitignore deleted file mode 100644 index 1377554ebe..0000000000 --- a/qpid/java/jca/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.swp diff --git a/qpid/java/jca/example/.gitignore b/qpid/java/jca/example/.gitignore index 54c810d4a0..71337b619c 100644 --- a/qpid/java/jca/example/.gitignore +++ b/qpid/java/jca/example/.gitignore @@ -1,4 +1,3 @@ build/* lib/* -*.swp build-properties.xml diff --git a/qpid/java/jca/src/test/java/org/apache/qpid/ra/QpidResourceAdapterTest.java b/qpid/java/jca/src/test/java/org/apache/qpid/ra/QpidResourceAdapterTest.java new file mode 100644 index 0000000000..0db7c710d9 --- /dev/null +++ b/qpid/java/jca/src/test/java/org/apache/qpid/ra/QpidResourceAdapterTest.java @@ -0,0 +1,34 @@ +/* + * + * 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.ra; + + +import junit.framework.TestCase; + +public class QpidResourceAdapterTest extends TestCase +{ + public void testGetXAResources() throws Exception + { + QpidResourceAdapter ra = new QpidResourceAdapter(); + assertNull(ra.getXAResources(null)); + } + +} -- cgit v1.2.1