• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

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

Revision1182938a26ad4c02186aa4d26023fdf44f79aafe (tree)
Time2016-02-19 18:16:33
Authort-tutiya <tatsuhiro@ieee...>
Commitert-tutiya

Log Message

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

Change Summary

Incremental Difference

--- 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ƒtƒ@ƒCƒ‹‚Ì’l‚Ì‹Lq‚ÉŒë‚肪‚ ‚è‚Ü‚·"); return null; }
5858 */
@@ -142,15 +142,18 @@ public class Inputer {
142142 // line = line.replaceAll("#", ",#,");
143143 // #ˆÈ~‚ðÁ‹Ž
144144 line = line.replaceAll("#.*", "");
145+
145146 // ,‚©‚çŽn‚Ü‚éê‡Cs“ª‚ɃXƒy[ƒX‚ð“ü‚ê‚é
146147 // line = line.replaceAll(",", " ,");
148+ // ,‚Ì‘OŒã‚ɃXƒy[ƒX‚ð“ü‚ê‚éD2016/2/19ˆÈ‰º‚ð’ljÁ
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) {