@@ -0,0 +1,992 @@
+/*%0ACopyright 2016, Johannes Mulder (Fraunhofer IOSB)%0A%0ALicensed under the Apache License, Version 2.0 (the %22License%22);%0Ayou may not use this file except in compliance with the License.%0AYou may obtain a copy of the License at%0A%0A    http://www.apache.org/licenses/LICENSE-2.0%0A%0AUnless required by applicable law or agreed to in writing, software%0Adistributed under the License is distributed on an %22AS IS%22 BASIS,%0AWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0ASee the License for the specific language governing permissions and%0Alimitations under the License.%0A*/%0A%0Apackage de.fraunhofer.iosb.ivct;%0A%0Aimport java.util.List;%0A%0Apublic class CommandCache %7B%0A%09private List%3CString%3E testcases;%0A%09private static int i = 0;%0A%0A%09CommandCache(final List%3CString%3E testcases) %7B%0A%09%09this.testcases = testcases;%0A%09%7D%0A%09%0A%09public String getNextTestCase() %7B%0A        System.out.println(%22getNextTestCase ENTER%22);%0A%0A%09%09if (i %3C testcases.size()) %7B%0A%09%09return testcases.get(i);%0A%09%09%7D else %7B%0A%09%09%09return null;%0A%09%09%7D%0A%09%7D%0A%7D%0A

Add command cache to handle test case lists