選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

FOPFontsTestSuite.java 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. * Licensed to the Apache Software Foundation (ASF) under one or more
  3. * contributor license agreements. See the NOTICE file distributed with
  4. * this work for additional information regarding copyright ownership.
  5. * The ASF licenses this file to You under the Apache License, Version 2.0
  6. * (the "License"); you may not use this file except in compliance with
  7. * the License. You may obtain a copy of the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS,
  13. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. * See the License for the specific language governing permissions and
  15. * limitations under the License.
  16. */
  17. /* $Id$ */
  18. package org.apache.fop.fonts;
  19. import junit.framework.Test;
  20. import junit.framework.TestSuite;
  21. import org.apache.fop.fonts.truetype.FontFileReaderTest;
  22. import org.apache.fop.fonts.truetype.TTFFileTest;
  23. import org.apache.fop.fonts.truetype.TTFSubSetFileTest;
  24. import org.apache.fop.fonts.truetype.TTFTableNameTest;
  25. /**
  26. * A test suite designed for org.apache.fop.fonts.*
  27. */
  28. public final class FOPFontsTestSuite {
  29. /**
  30. * Constructor
  31. */
  32. private FOPFontsTestSuite() {
  33. }
  34. /**
  35. * Testing org.apache.fop.fonts.*
  36. * @return test
  37. */
  38. public static Test suite() {
  39. TestSuite testSuite = new TestSuite("Test suite for FOPs fonts classes");
  40. //$JUnit-BEGIN$
  41. testSuite.addTest(new TestSuite(EncodingModeTest.class));
  42. testSuite.addTest(new TestSuite(FontFileReaderTest.class));
  43. testSuite.addTest(new TestSuite(TTFFileTest.class));
  44. testSuite.addTest(new TestSuite(TTFSubSetFileTest.class));
  45. testSuite.addTest(new TestSuite(TTFTableNameTest.class));
  46. //$JUnit-END$
  47. return testSuite;
  48. }
  49. }