// Path: main/com/google/testing/threadtester/AnnotatedTestRunner.java
// public class AnnotatedTestRunner extends BaseThreadedTestRunner {
//   @Override
//   protected String getWrapperName() {
//     return AnnotatedTestWrapper.class.getName();
//   }
// }


import com.google.testing.threadtester.AnnotatedTestRunner;
import com.google.testing.threadtester.ThreadedAfter;
import com.google.testing.threadtester.ThreadedBefore;
import com.google.testing.threadtester.ThreadedMain;
import com.google.testing.threadtester.ThreadedSecondary;
import junit.framework.TestCase;
import java.util.Arrays;
import java.util.List;
/*
 * Copyright 2009 Weaver authors
 *
 * This code is part of the Weaver tutorial and may be freely used.
 */




/**
 * Unit test for NameManager. Demonstrates use of
 * {@link com.google.testing.threadtester.AnnotatedTestRunner}.
 *
 * @author alasdair.mackintosh@gmail.com (Alasdair Mackintosh)
 */
public class NameManagerTest extends TestCase {

  private static final String HELLO = "Hello";

  private volatile NameManager nameManager;

  public void testPutIfAbsent() {
    // Create an AnnotatedTestRunner that will run the threaded tests defined in
    // this class. These tests are expected to makes calls to NameManager.
// Path: main/com/google/testing/threadtester/AnnotatedTestRunner.java
// public class AnnotatedTestRunner extends BaseThreadedTestRunner {
//   @Override
//   protected String getWrapperName() {
//     return AnnotatedTestWrapper.class.getName();
//   }
// }


// Path: examples/NameManagerTest.java
import com.google.testing.threadtester.AnnotatedTestRunner;
import com.google.testing.threadtester.ThreadedAfter;
import com.google.testing.threadtester.ThreadedBefore;
import com.google.testing.threadtester.ThreadedMain;
import com.google.testing.threadtester.ThreadedSecondary;
import junit.framework.TestCase;
import java.util.Arrays;
import java.util.List;

/*
 * Copyright 2009 Weaver authors
 *
 * This code is part of the Weaver tutorial and may be freely used.
 */




/**
 * Unit test for NameManager. Demonstrates use of
 * {@link com.google.testing.threadtester.AnnotatedTestRunner}.
 *
 * @author alasdair.mackintosh@gmail.com (Alasdair Mackintosh)
 */
public class NameManagerTest extends TestCase {

  private static final String HELLO = "Hello";

  private volatile NameManager nameManager;

  public void testPutIfAbsent() {
    // Create an AnnotatedTestRunner that will run the threaded tests defined in
    // this class. These tests are expected to makes calls to NameManager.
    AnnotatedTestRunner runner = new AnnotatedTestRunner();