Skip to content
Snippets Groups Projects
Commit fda679f0 authored by Christian Wulf's avatar Christian Wulf
Browse files

moved util classes from src/test to src/main

parent 850160f7
No related branches found
No related tags found
No related merge requests found
Showing
with 104 additions and 18 deletions
/**
* Copyright (C) 2015 TeeTime (http://teetime.sourceforge.net)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package teetime.util.concurrent.queue;
import java.util.Collection;
......
/**
* Copyright (C) 2015 TeeTime (http://teetime.sourceforge.net)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package teetime.util.concurrent.queue.putstrategy;
import java.util.Queue;
......
/**
* Copyright (C) 2015 TeeTime (http://teetime.sourceforge.net)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package teetime.util.concurrent.queue.putstrategy;
import java.util.Queue;
......
/**
* Copyright (C) 2015 TeeTime (http://teetime.sourceforge.net)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package teetime.util.concurrent.queue.takestrategy;
import java.util.Queue;
......
/**
* Copyright (C) 2015 TeeTime (http://teetime.sourceforge.net)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package teetime.util.concurrent.queue.takestrategy;
import java.util.Queue;
......
/**
* Copyright (C) 2015 TeeTime (http://teetime.sourceforge.net)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package teetime.util.concurrent.queue.takestrategy;
import java.util.Queue;
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package util.test.eval;
package teetime.util.test.eval;
import java.io.BufferedReader;
import java.io.File;
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package teetime.util;
package teetime.util.test.eval;
import java.util.List;
......
......@@ -13,12 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package util.test;
package teetime.util.test.eval;
import java.util.Map;
import util.test.eval.StatisticsUtil;
public class PerformanceResult {
public long overallDurationInNs;
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package util.test.eval;
package teetime.util.test.eval;
import java.util.ArrayList;
import java.util.Collections;
......@@ -24,9 +24,7 @@ import java.util.Map;
import java.util.Map.Entry;
import java.util.concurrent.TimeUnit;
import teetime.util.MathUtil;
import teetime.util.TimestampObject;
import util.test.PerformanceResult;
/**
* @author Christian Wulf
......
......@@ -20,8 +20,8 @@ import static org.junit.Assert.assertEquals;
import java.util.Map;
import java.util.Map.Entry;
import teetime.util.test.eval.PerformanceResult;
import util.test.AbstractProfiledPerformanceAssertion;
import util.test.PerformanceResult;
import util.test.PerformanceTest;
public class ChwHomeComparisonMethodcallWithPorts extends AbstractProfiledPerformanceAssertion {
......
......@@ -20,8 +20,8 @@ import static org.junit.Assert.assertEquals;
import java.util.Map;
import java.util.Map.Entry;
import teetime.util.test.eval.PerformanceResult;
import util.test.AbstractProfiledPerformanceAssertion;
import util.test.PerformanceResult;
import util.test.PerformanceTest;
public class ChwWorkComparisonMethodcallWithPorts extends AbstractProfiledPerformanceAssertion {
......
......@@ -20,8 +20,8 @@ import static org.junit.Assert.assertEquals;
import java.util.Map;
import java.util.Map.Entry;
import teetime.util.test.eval.PerformanceResult;
import util.test.AbstractProfiledPerformanceAssertion;
import util.test.PerformanceResult;
import util.test.PerformanceTest;
public class NieWorkComparisonMethodcallWithPorts extends AbstractProfiledPerformanceAssertion {
......
......@@ -17,8 +17,8 @@ package teetime.examples.experiment01;
import static org.junit.Assert.assertEquals;
import teetime.examples.HostName;
import teetime.util.test.eval.PerformanceResult;
import util.test.AbstractProfiledPerformanceAssertion;
import util.test.PerformanceResult;
import util.test.PerformanceTest;
class ChwHomePerformanceCheck extends AbstractProfiledPerformanceAssertion {
......
......@@ -16,7 +16,7 @@
package teetime.examples.experiment01;
import static org.junit.Assert.assertEquals;
import util.test.PerformanceResult;
import teetime.util.test.eval.PerformanceResult;
import util.test.PerformanceTest;
import util.test.AbstractProfiledPerformanceAssertion;
......
......@@ -16,9 +16,9 @@
package teetime.examples.experiment09pipeimpls;
import teetime.examples.experiment01.MethodCallThoughputTimestampAnalysis1Test;
import teetime.util.test.eval.PerformanceResult;
import util.test.AbstractProfiledPerformanceAssertion;
import util.test.MeasurementRepository;
import util.test.PerformanceResult;
import util.test.PerformanceTest;
abstract class AbstractPerformanceCheck extends AbstractProfiledPerformanceAssertion {
......
......@@ -17,8 +17,8 @@ package teetime.examples.experiment11;
import static org.junit.Assert.assertEquals;
import teetime.examples.HostName;
import teetime.util.test.eval.PerformanceResult;
import util.test.AbstractProfiledPerformanceAssertion;
import util.test.PerformanceResult;
import util.test.PerformanceTest;
class ChwHomePerformanceCheck extends AbstractProfiledPerformanceAssertion {
......
......@@ -16,7 +16,7 @@
package teetime.examples.experiment11;
import static org.junit.Assert.assertEquals;
import util.test.PerformanceResult;
import teetime.util.test.eval.PerformanceResult;
import util.test.PerformanceTest;
import util.test.AbstractProfiledPerformanceAssertion;
......
......@@ -17,8 +17,8 @@ package teetime.examples.experiment16;
import static org.junit.Assert.assertEquals;
import teetime.examples.HostName;
import teetime.util.test.eval.PerformanceResult;
import util.test.AbstractProfiledPerformanceAssertion;
import util.test.PerformanceResult;
import util.test.PerformanceTest;
class ChwHomePerformanceCheck extends AbstractProfiledPerformanceAssertion {
......
......@@ -16,8 +16,8 @@
package teetime.examples.experiment16;
import static org.junit.Assert.assertEquals;
import teetime.util.test.eval.PerformanceResult;
import util.test.AbstractProfiledPerformanceAssertion;
import util.test.PerformanceResult;
import util.test.PerformanceTest;
class ChwWorkPerformanceCheck extends AbstractProfiledPerformanceAssertion {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment