01: /*
02: * All content copyright (c) 2003-2007 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tctest;
06:
07: import java.util.HashMap;
08: import java.util.Map;
09:
10: public class LinkedHashMapSynchronousWriteTest extends
11: TransparentTestBase {
12:
13: private static final int NODE_COUNT = 3;
14:
15: public void doSetUp(TransparentTestIface t) throws Exception {
16: t.getTransparentAppConfig().setClientCount(NODE_COUNT)
17: .setIntensity(1);
18: t.initializeTestRunner();
19: }
20:
21: protected Map getOptionalAttributes() {
22: Map attributes = new HashMap();
23: attributes.put(LinkedHashMapTestApp.SYNCHRONOUS_WRITE, "true");
24: return attributes;
25: }
26:
27: protected Class getApplicationClass() {
28: return LinkedHashMapTestApp.class;
29: }
30:
31: }
|