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 at7 *8 * http://www.apache.org/licenses/LICENSE-2.09 *10 * Unless required by applicable law or agreed to in writing, software11 * 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 and14 * limitations under the License.15 */1617package org.apache.juddi.replication;
1819import org.apache.commons.configuration.ConfigurationException;
20import org.apache.commons.logging.Log;
21import org.apache.commons.logging.LogFactory;
22import org.apache.juddi.Registry;
23import org.apache.juddi.api.impl.API_141_JIRATest;
24import org.apache.juddi.api.impl.UDDIReplicationImpl;
25import org.junit.AfterClass;
26import org.junit.Test;
27import org.junit.BeforeClass;
28import org.uddi.v3_service.UDDIReplicationPortType;
2930/**31 *32 * @author Alex O'Ree33 */34publicclassReplicationNotifierTest {
35privatestatic Log logger = LogFactory.getLog(API_141_JIRATest.class);
36static UDDIReplicationPortType repl = new UDDIReplicationImpl();
37static ReplicationNotifier notifier = null;
38protectedstatic String authInfoJoe = null;
39protectedstatic String authInfoMary = null;
40protectedstatic String authInfoSam = null;
41protectedstatic String authInfoRoot = null;
42protectedstatic String authInfoUDDI = null;
43 @AfterClass
44publicstaticvoid stopManager() throws ConfigurationException {
45 Registry.stop();
46 }
4748 @BeforeClass
49publicstaticvoid startManager() throws ConfigurationException {
50 Registry.start();
51 notifier = new ReplicationNotifier();
5253 }
54555657/**58 * Test of getNewChangeRecord method, of class ReplicationNotifier.59 */60 @Test
61publicvoid testGetNewChangeRecord() throws Exception {
62 System.out.println("getNewChangeRecord");
636465666768 }
6970 }