[jboss-remoting-commits] JBoss Remoting SVN: r6101 - remoting3/trunk/jboss-remoting/src/test/java/org/jboss/remoting3/test.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Wed Sep 15 18:08:16 EDT 2010


Author: ron.sigal at jboss.com
Date: 2010-09-15 18:08:15 -0400 (Wed, 15 Sep 2010)
New Revision: 6101

Added:
   remoting3/trunk/jboss-remoting/src/test/java/org/jboss/remoting3/test/LocalOneArgConnectTestCase.java
Log:
JBREM-1228: New unit test.

Added: remoting3/trunk/jboss-remoting/src/test/java/org/jboss/remoting3/test/LocalOneArgConnectTestCase.java
===================================================================
--- remoting3/trunk/jboss-remoting/src/test/java/org/jboss/remoting3/test/LocalOneArgConnectTestCase.java	                        (rev 0)
+++ remoting3/trunk/jboss-remoting/src/test/java/org/jboss/remoting3/test/LocalOneArgConnectTestCase.java	2010-09-15 22:08:15 UTC (rev 6101)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.jboss.remoting3.test;
+
+import java.io.IOException;
+import java.net.URI;
+import org.jboss.remoting3.Connection;
+import org.testng.annotations.Test;
+
+ at Test(suiteName = "localOneArg")
+public final class LocalOneArgConnectTestCase extends InvocationTestBase {
+
+    protected Connection getConnection() throws IOException {
+        return endpoint.connect(URI.create("local:///")).get();
+    }
+}



More information about the jboss-remoting-commits mailing list