You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by se...@apache.org on 2015/03/29 18:36:56 UTC

[2/4] flink git commit: [tests] Remove incomplete and unused LineRankITCase.

[tests] Remove incomplete and unused LineRankITCase.


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/d6ea1f22
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/d6ea1f22
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/d6ea1f22

Branch: refs/heads/master
Commit: d6ea1f227a309a04bfef2d051d8240736fb186f0
Parents: 923a2ae
Author: Stephan Ewen <se...@apache.org>
Authored: Fri Mar 27 20:01:20 2015 +0100
Committer: Stephan Ewen <se...@apache.org>
Committed: Sun Mar 29 18:34:32 2015 +0200

----------------------------------------------------------------------
 .../flink/test/iterative/LineRankITCase.java    | 92 --------------------
 1 file changed, 92 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/d6ea1f22/flink-tests/src/test/java/org/apache/flink/test/iterative/LineRankITCase.java
----------------------------------------------------------------------
diff --git a/flink-tests/src/test/java/org/apache/flink/test/iterative/LineRankITCase.java b/flink-tests/src/test/java/org/apache/flink/test/iterative/LineRankITCase.java
deleted file mode 100644
index fa13656..0000000
--- a/flink-tests/src/test/java/org/apache/flink/test/iterative/LineRankITCase.java
+++ /dev/null
@@ -1,92 +0,0 @@
-///*
-// * Licensed to the Apache Software Foundation (ASF) under one
-// * or more contributor license agreements.  See the NOTICE file
-// * distributed with this work for additional information
-// * regarding copyright ownership.  The ASF licenses this file
-// * to you 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 org.apache.flink.test.iterative;
-//
-//import java.util.Collection;
-//
-//import org.apache.flink.api.common.Plan;
-//import org.apache.flink.configuration.Configuration;
-//import org.apache.flink.examples.scala.graph.LineRank;
-//import org.apache.flink.test.util.RecordAPITestBase;
-//import org.junit.runner.RunWith;
-//import org.junit.runners.Parameterized;
-//import org.junit.runners.Parameterized.Parameters;
-//
-//@RunWith(Parameterized.class)
-//public class LineRankITCase extends RecordAPITestBase {
-//
-//	private static final String SOURCE_INCIDENCE = "1,1,1\n" +
-//	                                               "2,1,1\n" +
-//	                                               "3,1,1\n" +
-//	                                               "4,2,1\n" +
-//	                                               "5,3,1\n" +
-//	                                               "6,3,1\n" +
-//	                                               "7,4,1\n" +
-//	                                               "8,4,1\n" +
-//	                                               "9,5,1\n";
-//
-//	private static final String TARGET_INCIDENCE = "1,2,1\n" +
-//	                                               "2,3,1\n" +
-//	                                               "3,4,1\n" +
-//	                                               "4,3,1\n" +
-//	                                               "5,2,1\n" +
-//	                                               "6,5,1\n" +
-//	                                               "7,1,1\n" +
-//	                                               "8,3,1\n" +
-//	                                               "9,4,1\n";
-//
-//	protected String sourcesPath;
-//	protected String targetsPath;
-//	protected String resultPath;
-//
-//
-//	public LineRankITCase(Configuration config) {
-//		super(config);
-//		setTaskManagerNumSlots(parallelism);
-//	}
-//
-//	@Override
-//	protected void preSubmit() throws Exception {
-//		sourcesPath = createTempFile("sourceIncidence.txt", SOURCE_INCIDENCE);
-//		targetsPath = createTempFile("targetIncidence.txt", TARGET_INCIDENCE);
-//		resultPath = getTempFilePath("results");
-//	}
-//
-//	@Override
-//	protected Plan getTestJob() {
-//		LineRank lr = new LineRank();
-//
-//		Plan plan = lr.getScalaPlan(
-//			config.getInteger("NumSubtasks", 1),
-//			sourcesPath,
-//			targetsPath,
-//			9,
-//			resultPath);
-//		return plan;
-//	}
-//
-//	@Parameters
-//	public static Collection<Object[]> getConfigurations() {
-//		Configuration config1 = new Configuration();
-//		config1.setInteger("NumSubtasks", parallelism);
-//		config1.setInteger("NumIterations", 5);
-//		return toParameterList(config1);
-//	}
-//}