juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From svi...@apache.org
Subject cvs commit: ws-juddi/test/src/juddi/org/apache/juddi/proxy PublishTest.java TestAll.java AdminTest.java InquiryTest.java
Date Sun, 16 Jan 2005 17:59:42 GMT
sviens      2005/01/16 09:59:42

  Added:       test/src/juddi/org/apache/juddi/proxy PublishTest.java
                        TestAll.java AdminTest.java InquiryTest.java
  Log:
  jUDDI Proxy functionality and compatibility tests.
  
  Revision  Changes    Path
  1.1                  ws-juddi/test/src/juddi/org/apache/juddi/proxy/PublishTest.java
  
  Index: PublishTest.java
  ===================================================================
  /*
   * Copyright 2001-2004 The Apache Software Foundation.
   * 
   * Licensed 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.juddi.proxy;
  
  import junit.framework.*;
  
  /**
   * @author Steve Viens (sviens@users.sourceforge.net)
   */
  public class PublishTest extends TestCase
  {
    public PublishTest(String testName)
    {
        super(testName);
    }
  
    public static Test suite()
    {
      TestSuite suite = new TestSuite();
  
  //    suite.addTest(AddPublisherAssertionsTest.suite());
  //    suite.addTest(DeleteBindingTest.suite());
  //    suite.addTest(DeleteBusinessTest.suite());
  //    suite.addTest(DeletePublisherAssertionTest.suite());
  //    suite.addTest(DeleteServiceTest.suite());
  //    suite.addTest(DeleteTModelTest.suite());
  //    suite.addTest(DiscardAuthTokenTest.suite());
  //    suite.addTest(GetAssertionStatusReport.suite());
  //    suite.addTest(GetAuthTokenTest.suite());
  //    suite.addTest(GetPublisherAssertionsTest.suite());
  //    suite.addTest(GetRegisteredInfoTest.suite());
  //    suite.addTest(SaveBindingTest.suite());
  //    suite.addTest(SaveBusinessTest.suite());
  //    suite.addTest(SaveServiceTest.suite());
  //    suite.addTest(SaveTModelTest.suite());
  //    suite.addTest(SetPublisherAssertionsTest.suite());
  
      return suite;
    }
  
    public static void main(String args[])
    {
      String[] testCaseName = { PublishTest.class.getName() };
      junit.textui.TestRunner.main(testCaseName);
    }
  }
  
  
  1.1                  ws-juddi/test/src/juddi/org/apache/juddi/proxy/TestAll.java
  
  Index: TestAll.java
  ===================================================================
  /*
   * Copyright 2001-2004 The Apache Software Foundation.
   * 
   * Licensed 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.juddi.proxy;
  
  import junit.framework.*;
  
  /**
   * @author Steve Viens (sviens@users.sourceforge.net)
   */
  public class TestAll extends TestCase
  {
    public TestAll(String testName)
    {
      super(testName);
    }
  
    public static Test suite()
    {
      TestSuite suite = new TestSuite();
  
      suite.addTest(InquiryTest.suite());
      suite.addTest(PublishTest.suite());
      suite.addTest(AdminTest.suite());
  
      return suite;
    }
  
    public static void main(String args[])
    {
      String[] testCaseName = { TestAll.class.getName() };
      junit.textui.TestRunner.main(testCaseName);
    }
  }
  
  
  1.1                  ws-juddi/test/src/juddi/org/apache/juddi/proxy/AdminTest.java
  
  Index: AdminTest.java
  ===================================================================
  /*
   * Copyright 2001-2004 The Apache Software Foundation.
   * 
   * Licensed 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.juddi.proxy;
  
  import junit.framework.*;
  
  /**
   * @author Steve Viens (sviens@users.sourceforge.net)
   */
  public class AdminTest extends TestCase
  {
    public AdminTest(String testName)
    {
      super(testName);
    }
  
    public static Test suite()
    {
      TestSuite suite = new TestSuite();
  
  //    suite.addTest(DeletePublisherTest.suite());
  //    suite.addTest(FindPublisherTest.suite());
  //    suite.addTest(GetPublisherDetailTest.suite());
  //    suite.addTest(SavePublisherTest.suite());
  
      return suite;
    }
  
    public static void main(String args[])
    {
      String[] testCaseName = { AdminTest.class.getName() };
      junit.textui.TestRunner.main(testCaseName);
    }
  }
  
  
  1.1                  ws-juddi/test/src/juddi/org/apache/juddi/proxy/InquiryTest.java
  
  Index: InquiryTest.java
  ===================================================================
  /*
   * Copyright 2001-2004 The Apache Software Foundation.
   * 
   * Licensed 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.juddi.proxy;
  
  import junit.framework.*;
  
  /**
   * @author Steve Viens (sviens@users.sourceforge.net)
   */
  public class InquiryTest extends TestCase
  {
    public InquiryTest(String testName)
    {
      super(testName);
    }
  
    public static Test suite()
    {
      TestSuite suite = new TestSuite();
  
  //    suite.addTest(FindBindingTest.suite());
  //    suite.addTest(FindBusinessTest.suite());
  //    suite.addTest(FindRelatedBusinessesTest.suite());
  //    suite.addTest(FindServiceTest.suite());
  //    suite.addTest(FindTModelTest.suite());
  //    suite.addTest(GetBindingDetailTest.suite());
  //    suite.addTest(GetBusinessDetailExtTest.suite());
  //    suite.addTest(GetBusinessDetailTest.suite());
  //    suite.addTest(GetServiceDetailTest.suite());
  //    suite.addTest(GetTModelDetailTest.suite());
  //    suite.addTest(ValidateValuesTest.suite());
  
      return suite;
    }
  
    public static void main(String args[])
    {
      String[] testCaseName = { InquiryTest.class.getName() };
      junit.textui.TestRunner.main(testCaseName);
    }
  }
  
  

Mime
View raw message