• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Testcase generation tool for combinatorial interaction testing


Commit MetaInfo

Révision1182938a26ad4c02186aa4d26023fdf44f79aafe (tree)
l'heure2016-02-19 18:16:33
Auteurt-tutiya <tatsuhiro@ieee...>
Commitert-tutiya

Message de Log

Corrected CVS processing. (It is only used for processing a seeding
file.)

Change Summary

Modification

--- a/src/v1/Generator.java
+++ b/src/v1/Generator.java
@@ -134,7 +134,7 @@ class Generator2 extends Generator {
134134
135135 // for regression testing it should be reduced to 1
136136 final int NumOfIterationForEachTest = 20;
137-// final int NumOfIterationForEachTest = 1;
137+ // final int NumOfIterationForEachTest = 1;
138138
139139 Generator2(ParameterModel parametermodel, GList groupList,
140140 ConstraintHandler constrainthandler, List<Testcase> seed,
--- a/src/v1/Inputer.java
+++ b/src/v1/Inputer.java
@@ -42,17 +42,17 @@ public class Inputer {
4242 while ((row = parseCSVRow(reader)) != null) {
4343 // TODO debug
4444 // debug
45- /*
46- * System.out.print("seed:"); for (String str: row) {
47- * System.out.print(str + "\t"); } System.out.println();
48- */
45+ /**
46+ System.out.print("seed:"); for (String str: row) {
47+ System.out.print(str + "\t"); } System.out.println();
48+
4949
50- /*
51- * System.err.print(row.size() +": "); for (String str: row) {
52- * System.err.print(str + ","); } System.err.println();
53- */
50+
51+ System.err.print(row.size() +": "); for (String str: row) {
52+ System.err.print(str + ","); } System.err.println();
53+
5454
55- /*
55+
5656 * if (isValueConsistent(row, inputfiledata) == false) {
5757 * Error.printError("seedファイルの値の記述に誤りがあります"); return null; }
5858 */
@@ -142,15 +142,18 @@ public class Inputer {
142142 // line = line.replaceAll("#", ",#,");
143143 // #以降を消去
144144 line = line.replaceAll("#.*", "");
145+
145146 // ,から始まる場合,行頭にスペースを入れる
146147 // line = line.replaceAll(",", " ,");
148+ // ,の前後にスペースを入れる.2016/2/19以下を追加
149+ line = line.replaceAll(",", " , ");
147150 StringTokenizer st = new StringTokenizer(line, ",");
148151 while (st.hasMoreTokens()) {
149152 String token = st.nextToken();
150153 token = token.trim();
151154 // if (token.equals("#"))
152155 // break;
153- token = token.trim();
156+ // token = token.trim(); unnecessary
154157 tokenList.add(token);
155158 }
156159 } catch (IOException e) {