blob: 224a4be4e037d0c72b5461ecc6d33075aec718b2 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008, 2012 Oracle. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0, which accompanies this distribution
* and is available at https://www.eclipse.org/legal/epl-2.0/.
*
* Contributors:
* Oracle - initial API and implementation
******************************************************************************/
package org.eclipse.jpt.jaxb.core.tests.internal.utility;
import junit.framework.TestCase;
import org.eclipse.jpt.jaxb.core.utility.Synchronizer;
public class SynchronizerTests extends TestCase {
public SynchronizerTests(String name) {
super(name);
}
public void testNullSynchronizerStart() {
Synchronizer synchronizer = Synchronizer.Null.instance();
synchronizer.start(); // just make sure it doesn't blow up?
}
public void testNullSynchronizerSynchronize() {
Synchronizer synchronizer = Synchronizer.Null.instance();
synchronizer.synchronize(); // just make sure it doesn't blow up?
}
public void testNullSynchronizerStop() {
Synchronizer synchronizer = Synchronizer.Null.instance();
synchronizer.stop(); // just make sure it doesn't blow up?
}
public void testNullSynchronizerToString() {
Synchronizer synchronizer = Synchronizer.Null.instance();
assertNotNull(synchronizer.toString());
}
}