[jbossws-commits] JBossWS SVN: r4046 - trunk/testsuite/src/java/org/jboss/test/ws/jaxws/tools.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Wed Aug 1 06:15:24 EDT 2007


Author: heiko.braun at jboss.com
Date: 2007-08-01 06:15:24 -0400 (Wed, 01 Aug 2007)
New Revision: 4046

Added:
   trunk/testsuite/src/java/org/jboss/test/ws/jaxws/tools/WSProvideTestCase.java
Log:
Begin WSPorvide test case implementation

Added: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/tools/WSProvideTestCase.java
===================================================================
--- trunk/testsuite/src/java/org/jboss/test/ws/jaxws/tools/WSProvideTestCase.java	                        (rev 0)
+++ trunk/testsuite/src/java/org/jboss/test/ws/jaxws/tools/WSProvideTestCase.java	2007-08-01 10:15:24 UTC (rev 4046)
@@ -0,0 +1,131 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, 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.test.ws.jaxws.tools;
+
+import junit.framework.TestCase;
+
+import java.io.File;
+import java.io.PrintStream;
+
+import org.jboss.wsf.spi.tools.WSContractConsumer;
+import org.jboss.wsf.spi.tools.WSContractProvider;
+
+/**
+ * @author Heiko.Braun at jboss.com
+ * @version $Revision$
+ */
+public class WSProvideTestCase extends TestCase
+{
+   // tools delegate
+   WSContractProvider provider;
+
+   boolean toogleMessageOut;
+
+   File outputDirectory;
+
+   protected void setUp() throws Exception
+   {
+      super.setUp();
+
+       // create a new consumer for every test case
+      provider = WSContractProvider.newInstance();
+      if(toogleMessageOut) provider.setMessageStream(System.out);
+
+      // shared output directory, relative to test execution
+      outputDirectory = new File("wsprovide/java");
+   }
+
+   /**
+    * Enables/Disables WSDL generation.
+    *
+    */
+   public void testGenerateWsdl()
+   {
+      
+   }
+
+   /**
+    * Enables/Disables Java source generation.
+    *
+    */
+   public void testGenerateSource()
+   {
+      
+   }
+
+   /**
+    * Sets the main output directory.
+    * If the directory does not exist, it will be created.    
+    */
+   public void testOutputDirectory()
+   {
+      
+   }
+
+   /**
+    * Sets the resource directory. This directory will contain any generated
+    * WSDL and XSD files. If the directory does not exist, it will be created.
+    * If not specified, the output directory will be used instead.
+    *     
+    */
+   public void testResourceDirectory()
+   {
+      
+   }
+
+   /**
+    * Sets the source directory. This directory will contain any generated Java source.
+    * If the directory does not exist, it will be created. If not specified,
+    * the output directory will be used instead.
+    *
+    */
+   public void testSourceDirectory()
+   {
+
+   }
+
+   /**
+    * Sets the ClassLoader used to discover types.
+    * This defaults to the one used in instantiation.
+    *
+    */
+   public void testClassLoader()
+   {
+
+   }
+
+   /**
+    * Sets the PrintStream to use for status feedback. The simplest example
+    * would be to use System.out.
+    *
+    */
+   public void testMessageStream()
+   {
+
+   }
+
+   private void provide() throws Exception
+   {
+
+   }
+
+}


Property changes on: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/tools/WSProvideTestCase.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF




More information about the jbossws-commits mailing list