-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
2,185 additions
and
2,011 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{id:0,name:Param0,values:[a,b]} | ||
{id:1,name:Param1,values:[c,d,e,f]} | ||
{id:2,name:Param2,values:[01,001]} | ||
{id:3,name:Param3,values:[g,h,i]} | ||
{id:4,name:Param4,values:[j,k]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>jp.co.worksap.ate</groupId> | ||
<artifactId>jPICT</artifactId> | ||
<version>1.0.0-SNAPSHOT</version> | ||
<packaging>jar</packaging> | ||
|
||
<name>Java Pairwise Independent COmbination Testing</name> | ||
<url>http://www.worksap.co.jp</url> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>4.11</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.google.code.gson</groupId> | ||
<artifactId>gson</artifactId> | ||
<version>2.2.2</version> | ||
</dependency> | ||
</dependencies> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
public class AllPairFactor { | ||
private int factorId; | ||
private String factorName; | ||
private String[] values; | ||
private int factorId; | ||
private String factorName; | ||
private String[] values; | ||
|
||
public int getFactorId() { | ||
return factorId; | ||
} | ||
public int getFactorId() { | ||
return factorId; | ||
} | ||
|
||
public String getFactorName() { | ||
return factorName; | ||
} | ||
public String getFactorName() { | ||
return factorName; | ||
} | ||
|
||
public String[] getValues() { | ||
return values; | ||
} | ||
public String[] getValues() { | ||
return values; | ||
} | ||
|
||
public AllPairFactor(int factorId, String factorName, String[] values) { | ||
super(); | ||
this.factorId = factorId; | ||
this.factorName = factorName; | ||
this.values = values; | ||
} | ||
public AllPairFactor(int factorId, String factorName, String[] values) { | ||
super(); | ||
this.factorId = factorId; | ||
this.factorName = factorName; | ||
this.values = values; | ||
} | ||
|
||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
public class FactorValue { | ||
private int factorIndex; | ||
private String value; | ||
private int factorIndex; | ||
private String value; | ||
|
||
public int getFacorIndex() { | ||
return factorIndex; | ||
} | ||
public int getFacorIndex() { | ||
return factorIndex; | ||
} | ||
|
||
public String getValue() { | ||
return value; | ||
} | ||
public String getValue() { | ||
return value; | ||
} | ||
|
||
public FactorValue(int factorId, String value) { | ||
this.factorIndex = factorId; | ||
this.value = value; | ||
} | ||
public FactorValue(int factorId, String value) { | ||
this.factorIndex = factorId; | ||
this.value = value; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,29 @@ | ||
|
||
import java.util.List; | ||
|
||
public class Main { | ||
|
||
public static void main(String[] args) { | ||
System.out.println("\nBegin pair-wise testset generation\n"); | ||
public static void main(String[] args) { | ||
System.out.println("\nBegin pair-wise testset generation\n"); | ||
|
||
AllPairGenerator generator = new AllPairGenerator(); | ||
AllPairGenerator generator = new AllPairGenerator(); | ||
|
||
displayResults(generator.generateFromFile()); | ||
displayResults(generator.generateFromFile()); | ||
|
||
System.out.println("\nEnd\n"); | ||
} | ||
System.out.println("\nEnd\n"); | ||
} | ||
|
||
private static void displayResults(List<List<FactorValue>> patterns) { | ||
// Display results | ||
private static void displayResults(List<List<FactorValue>> patterns) { | ||
// Display results | ||
|
||
System.out.println("\nResult testsets: \n"); | ||
int index = 0; | ||
for (List<FactorValue> pattern : patterns) { | ||
System.out.print(index++ + ": "); | ||
for (FactorValue value : pattern) { | ||
System.out.print(value.getValue() + " "); | ||
} | ||
System.out.println(); | ||
} | ||
} | ||
System.out.println("\nResult testsets: \n"); | ||
int index = 0; | ||
for (List<FactorValue> pattern : patterns) { | ||
System.out.print(index++ + ": "); | ||
for (FactorValue value : pattern) { | ||
System.out.print(value.getValue() + " "); | ||
} | ||
System.out.println(); | ||
} | ||
} | ||
|
||
} |
This file was deleted.
Oops, something went wrong.
69 changes: 0 additions & 69 deletions
69
src/jqict/algorithm/fullcombination/FullCombinationAlgorithm.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.