This project has retired. For details please refer to its Attic page.
ReplicationNotifierTest xref
View Javadoc
1   /*
2    * Copyright 2014 The Apache Software Foundation.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  
17  package org.apache.juddi.replication;
18  
19  import org.apache.commons.configuration.ConfigurationException;
20  import org.apache.commons.logging.Log;
21  import org.apache.commons.logging.LogFactory;
22  import org.apache.juddi.Registry;
23  import org.apache.juddi.api.impl.API_141_JIRATest;
24  import org.apache.juddi.api.impl.UDDIReplicationImpl;
25  import org.junit.AfterClass;
26  import org.junit.Test;
27  import org.junit.BeforeClass;
28  import org.uddi.v3_service.UDDIReplicationPortType;
29  
30  /**
31   *
32   * @author Alex O'Ree
33   */
34  public class ReplicationNotifierTest {
35          private static Log logger = LogFactory.getLog(API_141_JIRATest.class);
36          static UDDIReplicationPortType repl = new UDDIReplicationImpl();
37          static ReplicationNotifier notifier = null;
38          protected static String authInfoJoe = null;
39          protected static String authInfoMary = null;
40          protected static String authInfoSam = null;
41          protected static String authInfoRoot = null;
42          protected static String authInfoUDDI = null;
43          @AfterClass
44          public static void stopManager() throws ConfigurationException {
45                  Registry.stop();
46          }
47  
48          @BeforeClass
49          public static void startManager() throws ConfigurationException {
50                  Registry.start();
51                  notifier = new ReplicationNotifier();
52  
53          }
54          
55         
56          
57          /**
58           * Test of getNewChangeRecord method, of class ReplicationNotifier.
59           */
60          @Test
61          public void testGetNewChangeRecord() throws Exception {
62                  System.out.println("getNewChangeRecord");
63                  
64   
65                       
66             
67                  
68          }
69          
70  }