diff options
| author | Rajith Muditha Attapattu <rajith@apache.org> | 2012-03-08 21:41:45 +0000 |
|---|---|---|
| committer | Rajith Muditha Attapattu <rajith@apache.org> | 2012-03-08 21:41:45 +0000 |
| commit | 0091b048b3dcac0d69dc04b7764b4501c14de3af (patch) | |
| tree | 67d6c9f9e4d725de4de84f6bd52ef5512c680109 /qpid/java/jca | |
| parent | 93d17ee8444639886b0922f58721a4a447f67131 (diff) | |
| download | qpid-python-0091b048b3dcac0d69dc04b7764b4501c14de3af.tar.gz | |
QPID-3751 Committing patch from Weston Price.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298597 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/jca')
| -rw-r--r-- | qpid/java/jca/.gitignore | 1 | ||||
| -rw-r--r-- | qpid/java/jca/example/.gitignore | 1 | ||||
| -rw-r--r-- | qpid/java/jca/src/test/java/org/apache/qpid/ra/QpidResourceAdapterTest.java | 34 |
3 files changed, 34 insertions, 2 deletions
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)); + } + +} |
