/*
 *  Unit-API - Units of Measurement API for Java
 *  Copyright (c) 2005-2015, Jean-Marie Dautelle, Werner Keil, V2COM.
 *
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
 *
 * 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
 *
 * 3. Neither the name of JSR-363 nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
package tec.units.tckusage;

import java.util.Collection;
import javax.measure.UnitConverter;

import tec.units.tck.util.ServiceConfiguration;

/**
 * ServiceLoaderConfiguration setup class. This is an example TCK setup class, that has to be written by
 * implementors to setup the JSR 363 TCK for running with their implementations.
 * <p>
 * Created by Werner Keil on 26.08.2015.
 */
public final class TCKTestSetup implements ServiceConfiguration {

	@Override
	public Collection<Class> getQuantityClasses() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Collection<Class> getUnitClasses() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Collection<UnitConverter> getUnitConverters4Test() {
		// TODO Auto-generated method stub
		return null;
	}

}
@@ -1643,16 +1643,41 @@
 usage;%0A%0A
+import java.util.Arrays;%0A
 import j
@@ -1697,16 +1697,17 @@
 ection;%0A
+%0A
 import j
@@ -1735,16 +1735,89 @@
 erter;%0A%0A
+import tec.units.ri.quantity.NumberQuantity;%0Aimport tec.units.ri.unit.*;%0A
 import t
@@ -1939,16 +1939,19 @@
 p class,
+%0A *
  that ha
@@ -1968,19 +1968,16 @@
 itten by
-%0A *
  impleme
@@ -2018,16 +2018,19 @@
  running
+%0A *
  with th
@@ -2235,56 +2235,66 @@
 %7B%0A%09%09
-// TODO Auto-generated method stub%0A%09%09return null
+return Arrays.asList(new Class%5B%5D %7B NumberQuantity.class %7D)
 ;%0A%09%7D
@@ -2357,56 +2357,127 @@
 %7B%0A%09%09
-// TODO Auto-gen
+return Arrays.asList(new Class%5B%5D %7B BaseUnit.class, Alt
 er
+n
 ate
-d method stub%0A%09%09return null
+Unit.class,%0A%09%09%09%09ProductUnit.class, TransformedUnit.class %7D)
 ;%0A%09%7D

Add Tests according to Spec Chapter 5