You are viewing an archived page from the original site. Go to the new numericalmethod.com →

Changeset 1496 in algoquant


Ignore:
Timestamp:
1/2/2014 7:40:28 PM (5 days ago)
Author:
kenyiu
Message:

CHG: Updated CombinedCacheTest? to make parallel testing feasible.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • core/pom.xml

    r1482 r1496  
    5757                </executions> 
    5858            </plugin> 
     59 
     60            <plugin> 
     61                <groupId>org.apache.maven.plugins</groupId> 
     62                <artifactId>maven-surefire-plugin</artifactId> 
     63                <version>2.16</version> 
     64                <configuration> 
     65                    <parallel>classesAndMethods</parallel> 
     66                    <perCoreThreadCount>true</perCoreThreadCount> 
     67                    <threadCount>1</threadCount> 
     68                </configuration> 
     69            </plugin> 
    5970        </plugins> 
    6071 
  • core/src/test/java/com/numericalmethod/algoquant/data/cache/CombinedCacheTest.java

    r1366 r1496  
    3838public class CombinedCacheTest { 
    3939 
    40     private static List<TimedEntry<Long>> times1; 
    41     private static List<TimedEntry<Long>> times2; 
    42     private static SequentialCache<Long> emptyCache; 
    43     private static SequentialCache<Long> times1Cache; 
    44     private static SequentialCache<Long> times2Cache; 
     40    private SequentialCache<Long> emptyCache; 
     41    private SequentialCache<Long> times1Cache; 
     42    private SequentialCache<Long> times2Cache; 
    4543 
    4644    @Before 
    4745    public void initCaches() { 
    48         times1 = new ArrayList<TimedEntry<Long>>(); 
    49         times2 = new ArrayList<TimedEntry<Long>>(); 
     46        List<TimedEntry<Long>> times1 = new ArrayList<TimedEntry<Long>>(); 
     47        List<TimedEntry<Long>> times2 = new ArrayList<TimedEntry<Long>>(); 
    5048 
    5149        DateTime baseDate = new DateTime(1323946336279L); 
  • demo/pom.xml

    r1482 r1496  
    2222        <dependency> 
    2323            <groupId>com.numericalmethod</groupId> 
    24             <artifactId>privatemodels</artifactId> 
    25             <version>0.8.0</version> 
     24            <artifactId>algoquant-addon</artifactId> 
     25            <version>0.9.0-SNAPSHOT</version> 
    2626        </dependency> 
    2727 
  • pom.xml

    r1493 r1496  
    8484                <configuration> 
    8585                    <argLine>-Xms1G -ea</argLine> 
    86                     <parallel>classes</parallel> 
    87                     <perCoreThreadCount>true</perCoreThreadCount> 
    88                     <threadCount>1</threadCount> 
    8986                </configuration> 
    9087            </plugin> 
Note: See TracChangeset for help on using the changeset viewer.