1090f9b4c879985bc747c214f82c62471e60c7742Jesse Wilson/*
27dd252788645e940eada959bdde927426e2531c9Paul Duffin * Copyright (C) 2012 The Guava Authors
3090f9b4c879985bc747c214f82c62471e60c7742Jesse Wilson *
4090f9b4c879985bc747c214f82c62471e60c7742Jesse Wilson * Licensed under the Apache License, Version 2.0 (the "License");
5090f9b4c879985bc747c214f82c62471e60c7742Jesse Wilson * you may not use this file except in compliance with the License.
6090f9b4c879985bc747c214f82c62471e60c7742Jesse Wilson * You may obtain a copy of the License at
7090f9b4c879985bc747c214f82c62471e60c7742Jesse Wilson *
8090f9b4c879985bc747c214f82c62471e60c7742Jesse Wilson * http://www.apache.org/licenses/LICENSE-2.0
9090f9b4c879985bc747c214f82c62471e60c7742Jesse Wilson *
10090f9b4c879985bc747c214f82c62471e60c7742Jesse Wilson * Unless required by applicable law or agreed to in writing, software
11090f9b4c879985bc747c214f82c62471e60c7742Jesse Wilson * distributed under the License is distributed on an "AS IS" BASIS,
12090f9b4c879985bc747c214f82c62471e60c7742Jesse Wilson * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13090f9b4c879985bc747c214f82c62471e60c7742Jesse Wilson * See the License for the specific language governing permissions and
14090f9b4c879985bc747c214f82c62471e60c7742Jesse Wilson * limitations under the License.
15090f9b4c879985bc747c214f82c62471e60c7742Jesse Wilson */
16090f9b4c879985bc747c214f82c62471e60c7742Jesse Wilson
177dd252788645e940eada959bdde927426e2531c9Paul Duffinpackage com.google.common.io;
18090f9b4c879985bc747c214f82c62471e60c7742Jesse Wilson
197dd252788645e940eada959bdde927426e2531c9Paul Duffinimport com.google.common.testing.AbstractPackageSanityTests;
207dd252788645e940eada959bdde927426e2531c9Paul Duffin
217dd252788645e940eada959bdde927426e2531c9Paul Duffinimport java.lang.reflect.Method;
220888a09821a98ac0680fad765217302858e70fa4Paul Duffinimport java.nio.channels.FileChannel.MapMode;
231d580d0f6ee4f21eb309ba7b509d2c6d671c4044Bjorn Bringert
24090f9b4c879985bc747c214f82c62471e60c7742Jesse Wilson/**
257dd252788645e940eada959bdde927426e2531c9Paul Duffin * Basic sanity tests for the entire package.
26090f9b4c879985bc747c214f82c62471e60c7742Jesse Wilson *
277dd252788645e940eada959bdde927426e2531c9Paul Duffin * @author Ben Yu
28090f9b4c879985bc747c214f82c62471e60c7742Jesse Wilson */
291d580d0f6ee4f21eb309ba7b509d2c6d671c4044Bjorn Bringert
307dd252788645e940eada959bdde927426e2531c9Paul Duffinpublic class PackageSanityTests extends AbstractPackageSanityTests {
317dd252788645e940eada959bdde927426e2531c9Paul Duffin  public PackageSanityTests() {
327dd252788645e940eada959bdde927426e2531c9Paul Duffin    setDefault(BaseEncoding.class, BaseEncoding.base64());
337dd252788645e940eada959bdde927426e2531c9Paul Duffin    setDefault(int.class, 32);
347dd252788645e940eada959bdde927426e2531c9Paul Duffin    setDefault(String.class, "abcd");
357dd252788645e940eada959bdde927426e2531c9Paul Duffin    setDefault(Method.class, AbstractPackageSanityTests.class.getDeclaredMethods()[0]);
360888a09821a98ac0680fad765217302858e70fa4Paul Duffin    setDefault(MapMode.class, MapMode.READ_ONLY);
37090f9b4c879985bc747c214f82c62471e60c7742Jesse Wilson  }
38090f9b4c879985bc747c214f82c62471e60c7742Jesse Wilson}
39