Show
Ignore:
Timestamp:
01/06/09 06:44:38 (11 months ago)
Author:
chf
Message:

preliminary native code wrapping

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ProjectFortress/src/com/sun/fortress/tests/unit_tests/TransactionJUTest.java

    r2449 r3290  
    11/******************************************************************************* 
    2     Copyright 2008 Sun Microsystems, Inc., 
     2    Copyright 2009 Sun Microsystems, Inc., 
    33    4150 Network Circle, Santa Clara, California 95054, U.S.A. 
    44    All rights reserved. 
     
    1414    Sun, Sun Microsystems, the Sun logo and Java are trademarks or registered 
    1515    trademarks of Sun Microsystems, Inc. in the U.S. and other countries. 
    16  ******************************************************************************/ 
     16******************************************************************************/ 
    1717 
    1818package com.sun.fortress.tests.unit_tests; 
     
    2424public class TransactionJUTest extends TestCaseWrapper { 
    2525    public TransactionJUTest(String testName) { 
    26  super(testName); 
     26        super(testName); 
    2727    } 
    2828    public TransactionJUTest() { 
    29  super("TransactionTest"); 
     29        super("TransactionTest"); 
    3030    } 
    3131 
    3232    public void testReadSet() { 
    33  int numThreads = Runtime.getRuntime().availableProcessors(); 
    34  FortressTaskRunnerGroup group = new FortressTaskRunnerGroup(numThreads); 
    35  TestTask task = new TestTask(); 
    36  group.invoke(task); 
     33        int numThreads = Runtime.getRuntime().availableProcessors(); 
     34        FortressTaskRunnerGroup group = new FortressTaskRunnerGroup(numThreads); 
     35        TestTask task = new TestTask(); 
     36        group.invoke(task); 
    3737    } 
    3838}