• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

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

Revision50636160dafa089cc2644690d739a9418a2ca6ec (tree)
Time2015-05-01 15:36:00
Authort-tutiya <tatsuhiro@ieee...>
Commitert-tutiya

Log Message

1.01

Change Summary

Incremental Difference

--- a/src/v1/ConstraintHandler.java
+++ b/src/v1/ConstraintHandler.java
@@ -115,10 +115,15 @@ class ConstraintHandler {
115115 bdd.deref(g);
116116 }
117117 // bdd.ref(f);
118+ // 消すこと
119+ bdd.printSet(f);
118120
119121 // *を付加
120122 f = extendBddConstraint(f);
121-
123+
124+ // 消すこと
125+ bdd.printSet(f);
126+
122127 return f;
123128 }
124129
--- a/src/v1/Generator.java
+++ b/src/v1/Generator.java
@@ -56,7 +56,6 @@ abstract class Generator {
5656 // groupで全網羅するtupleの列を生成
5757 protected List<List<Testcase>> generateTupleSequenceList() {
5858 // protected List<TupleSequence> generateTupleSequence() {
59- // TODO Auto-generated method stub
6059 List<List<Testcase>> listOfTupleSequence = new ArrayList<List<Testcase>>();
6160 for (Group g: groupList) {
6261 listOfTupleSequence.add(generateTupleSequence(g));
@@ -64,6 +63,7 @@ abstract class Generator {
6463 return listOfTupleSequence;
6564 }
6665
66+ // groupを網羅するtuple列を生成し返す
6767 private List<Testcase> generateTupleSequence(Group g) {
6868 int numOfCombinations = 1;
6969 for (int i = 0; i < g.member.length; i++) {
@@ -100,6 +100,7 @@ abstract class Generator {
100100 return testSet;
101101 }
102102
103+ // 未カバーのtupleがあればture, そうでなければ false
103104 protected boolean hasTuplesToCover(List<List<Testcase>> tupleSequenceList) {
104105 // TODO Auto-generated method stub
105106 for (List<Testcase> tupleSequence : tupleSequenceList) {
@@ -299,7 +300,6 @@ class Generator2 extends Generator {
299300
300301
301302 private void addGroupedTuples(Testcase tmp, List<List<Testcase>> tupleSequenceList) {
302- // TODO Auto-generated method stub
303303 for (List<Testcase> TupleSequence : tupleSequenceList) {
304304 for (int i = 0; i < TupleSequence.size(); i++) {
305305 Testcase tuple = TupleSequence.get(i);
@@ -510,7 +510,6 @@ class PairTable extends TupleTable {
510510 }
511511
512512 boolean get(int p1, byte v1, int p2, byte v2) {
513- // TODO Auto-generated method stub
514513 if (p2 < p1) {
515514 int tmp = p1; p1 = p2; p2 = tmp;
516515 byte tmv = v1; v1 = v2; v2 = tmv;
--- a/src/v1/Main.java
+++ b/src/v1/Main.java
@@ -39,7 +39,7 @@ public class Main {
3939 // 制約処理 BDD作成
4040 ConstraintHandler conhndl = new ConstraintHandler(inputfiledata.parameterList, inputfiledata.constraintList);
4141 // DEBUG: BDDの表示
42- /* conhndl.printConstraintBDD(); */
42+ // conhndl.printConstraintBDD(); // コメントアウト必要
4343
4444 // シード読み込み
4545 List<Testcase> seed = Inputer.readSeed(seedFile, inputfiledata);