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.base; 17 public class FunctionsTest_gwt extends com.google.gwt.junit.client.GWTTestCase { getModuleName()18@Override public String getModuleName() { 19 return "com.google.common.base.testModule"; 20 } testComposeOfFunctionsIsAssociative()21public void testComposeOfFunctionsIsAssociative() throws Exception { 22 com.google.common.base.FunctionsTest testCase = new com.google.common.base.FunctionsTest(); 23 testCase.testComposeOfFunctionsIsAssociative(); 24 } 25 testComposeOfPredicateAndFunctionIsAssociative()26public void testComposeOfPredicateAndFunctionIsAssociative() throws Exception { 27 com.google.common.base.FunctionsTest testCase = new com.google.common.base.FunctionsTest(); 28 testCase.testComposeOfPredicateAndFunctionIsAssociative(); 29 } 30 testComposition()31public void testComposition() throws Exception { 32 com.google.common.base.FunctionsTest testCase = new com.google.common.base.FunctionsTest(); 33 testCase.testComposition(); 34 } 35 testCompositionWildcard()36public void testCompositionWildcard() throws Exception { 37 com.google.common.base.FunctionsTest testCase = new com.google.common.base.FunctionsTest(); 38 testCase.testCompositionWildcard(); 39 } 40 testConstant()41public void testConstant() throws Exception { 42 com.google.common.base.FunctionsTest testCase = new com.google.common.base.FunctionsTest(); 43 testCase.testConstant(); 44 } 45 testForMapWildCardWithDefault()46public void testForMapWildCardWithDefault() throws Exception { 47 com.google.common.base.FunctionsTest testCase = new com.google.common.base.FunctionsTest(); 48 testCase.testForMapWildCardWithDefault(); 49 } 50 testForMapWithDefault()51public void testForMapWithDefault() throws Exception { 52 com.google.common.base.FunctionsTest testCase = new com.google.common.base.FunctionsTest(); 53 testCase.testForMapWithDefault(); 54 } 55 testForMapWithDefault_null()56public void testForMapWithDefault_null() throws Exception { 57 com.google.common.base.FunctionsTest testCase = new com.google.common.base.FunctionsTest(); 58 testCase.testForMapWithDefault_null(); 59 } 60 testForMapWithoutDefault()61public void testForMapWithoutDefault() throws Exception { 62 com.google.common.base.FunctionsTest testCase = new com.google.common.base.FunctionsTest(); 63 testCase.testForMapWithoutDefault(); 64 } 65 testForPredicate()66public void testForPredicate() throws Exception { 67 com.google.common.base.FunctionsTest testCase = new com.google.common.base.FunctionsTest(); 68 testCase.testForPredicate(); 69 } 70 testForSupplier()71public void testForSupplier() throws Exception { 72 com.google.common.base.FunctionsTest testCase = new com.google.common.base.FunctionsTest(); 73 testCase.testForSupplier(); 74 } 75 testIdentity_notSame()76public void testIdentity_notSame() throws Exception { 77 com.google.common.base.FunctionsTest testCase = new com.google.common.base.FunctionsTest(); 78 testCase.testIdentity_notSame(); 79 } 80 testIdentity_same()81public void testIdentity_same() throws Exception { 82 com.google.common.base.FunctionsTest testCase = new com.google.common.base.FunctionsTest(); 83 testCase.testIdentity_same(); 84 } 85 testToStringFunction_apply()86public void testToStringFunction_apply() throws Exception { 87 com.google.common.base.FunctionsTest testCase = new com.google.common.base.FunctionsTest(); 88 testCase.testToStringFunction_apply(); 89 } 90 } 91