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 | 1ad770827bfecd6d141c4c8f90a906c8513dd0ff (patch) | |
| tree | d8b4dcd26ecbee8eea76246114163d90fbe825a4 /java/jca | |
| parent | 8608a04e22b2e4def746b27f4f9ad428bb046a9c (diff) | |
| download | qpid-python-1ad770827bfecd6d141c4c8f90a906c8513dd0ff.tar.gz | |
QPID-3751 Committing patch from Weston Price.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1298597 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/jca')
| -rw-r--r-- | java/jca/.gitignore | 1 | ||||
| -rw-r--r-- | java/jca/example/.gitignore | 1 | ||||
| -rw-r--r-- | java/jca/src/test/java/org/apache/qpid/ra/QpidResourceAdapterTest.java | 34 |
3 files changed, 34 insertions, 2 deletions
diff --git a/java/jca/.gitignore b/java/jca/.gitignore deleted file mode 100644 index 1377554ebe..0000000000 --- a/java/jca/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.swp diff --git a/java/jca/example/.gitignore b/java/jca/example/.gitignore index 54c810d4a0..71337b619c 100644 --- a/java/jca/example/.gitignore +++ b/java/jca/example/.gitignore @@ -1,4 +1,3 @@ build/* lib/* -*.swp build-properties.xml diff --git a/java/jca/src/test/java/org/apache/qpid/ra/QpidResourceAdapterTest.java b/java/jca/src/test/java/org/apache/qpid/ra/QpidResourceAdapterTest.java new file mode 100644 index 0000000000..0db7c710d9 --- /dev/null +++ b/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)); + } + +} |
