Changeset 3290 for trunk/ProjectFortress/src/com/sun/fortress/tests/unit_tests/TransactionJUTest.java
- Timestamp:
- 01/06/09 06:44:38 (11 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/ProjectFortress/src/com/sun/fortress/tests/unit_tests/TransactionJUTest.java
r2449 r3290 1 1 /******************************************************************************* 2 Copyright 200 8Sun Microsystems, Inc.,2 Copyright 2009 Sun Microsystems, Inc., 3 3 4150 Network Circle, Santa Clara, California 95054, U.S.A. 4 4 All rights reserved. … … 14 14 Sun, Sun Microsystems, the Sun logo and Java are trademarks or registered 15 15 trademarks of Sun Microsystems, Inc. in the U.S. and other countries. 16 ******************************************************************************/16 ******************************************************************************/ 17 17 18 18 package com.sun.fortress.tests.unit_tests; … … 24 24 public class TransactionJUTest extends TestCaseWrapper { 25 25 public TransactionJUTest(String testName) { 26 super(testName);26 super(testName); 27 27 } 28 28 public TransactionJUTest() { 29 super("TransactionTest");29 super("TransactionTest"); 30 30 } 31 31 32 32 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); 37 37 } 38 38 }

