1 /* 2 * Copyright (C) 2008 The Guava Authors 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package com.google.common.util.concurrent; 17 public class AtomicLongMapTest_gwt extends com.google.gwt.junit.client.GWTTestCase { getModuleName()18@Override public String getModuleName() { 19 return "com.google.common.util.concurrent.testModule"; 20 } testAddAndGet()21public void testAddAndGet() throws Exception { 22 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 23 testCase.testAddAndGet(); 24 } 25 testAddAndGet_zero()26public void testAddAndGet_zero() throws Exception { 27 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 28 testCase.testAddAndGet_zero(); 29 } 30 testClear()31public void testClear() throws Exception { 32 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 33 testCase.testClear(); 34 } 35 testCreate_map()36public void testCreate_map() throws Exception { 37 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 38 testCase.testCreate_map(); 39 } 40 testDecrementAndGet()41public void testDecrementAndGet() throws Exception { 42 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 43 testCase.testDecrementAndGet(); 44 } 45 testDecrementAndGet_zero()46public void testDecrementAndGet_zero() throws Exception { 47 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 48 testCase.testDecrementAndGet_zero(); 49 } 50 testEmpty()51public void testEmpty() throws Exception { 52 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 53 testCase.testEmpty(); 54 } 55 testGetAndAdd()56public void testGetAndAdd() throws Exception { 57 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 58 testCase.testGetAndAdd(); 59 } 60 testGetAndAdd_zero()61public void testGetAndAdd_zero() throws Exception { 62 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 63 testCase.testGetAndAdd_zero(); 64 } 65 testGetAndDecrement()66public void testGetAndDecrement() throws Exception { 67 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 68 testCase.testGetAndDecrement(); 69 } 70 testGetAndDecrement_zero()71public void testGetAndDecrement_zero() throws Exception { 72 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 73 testCase.testGetAndDecrement_zero(); 74 } 75 testGetAndIncrement()76public void testGetAndIncrement() throws Exception { 77 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 78 testCase.testGetAndIncrement(); 79 } 80 testGetAndIncrement_zero()81public void testGetAndIncrement_zero() throws Exception { 82 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 83 testCase.testGetAndIncrement_zero(); 84 } 85 testIncrementAndGet()86public void testIncrementAndGet() throws Exception { 87 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 88 testCase.testIncrementAndGet(); 89 } 90 testIncrementAndGet_zero()91public void testIncrementAndGet_zero() throws Exception { 92 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 93 testCase.testIncrementAndGet_zero(); 94 } 95 testPut()96public void testPut() throws Exception { 97 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 98 testCase.testPut(); 99 } 100 testPutAll()101public void testPutAll() throws Exception { 102 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 103 testCase.testPutAll(); 104 } 105 testPutIfAbsent()106public void testPutIfAbsent() throws Exception { 107 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 108 testCase.testPutIfAbsent(); 109 } 110 testPutIfAbsent_zero()111public void testPutIfAbsent_zero() throws Exception { 112 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 113 testCase.testPutIfAbsent_zero(); 114 } 115 testPut_zero()116public void testPut_zero() throws Exception { 117 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 118 testCase.testPut_zero(); 119 } 120 testRemove()121public void testRemove() throws Exception { 122 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 123 testCase.testRemove(); 124 } 125 testRemoveValue()126public void testRemoveValue() throws Exception { 127 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 128 testCase.testRemoveValue(); 129 } 130 testRemoveValue_zero()131public void testRemoveValue_zero() throws Exception { 132 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 133 testCase.testRemoveValue_zero(); 134 } 135 testRemoveZeros()136public void testRemoveZeros() throws Exception { 137 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 138 testCase.testRemoveZeros(); 139 } 140 testRemove_zero()141public void testRemove_zero() throws Exception { 142 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 143 testCase.testRemove_zero(); 144 } 145 testReplace()146public void testReplace() throws Exception { 147 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 148 testCase.testReplace(); 149 } 150 testReplace_zero()151public void testReplace_zero() throws Exception { 152 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 153 testCase.testReplace_zero(); 154 } 155 testSum()156public void testSum() throws Exception { 157 com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurrent.AtomicLongMapTest(); 158 testCase.testSum(); 159 } 160 } 161