tests/libjava-mauve/src/gnu/testlet/java/text/CharacterIterator/implement.java
branchjk_new_structure
changeset 1541 75c2e24dea9a
parent 1540 92ac284961c1
child 1542 be11db817bcf
equal deleted inserted replaced
1540:92ac284961c1 1541:75c2e24dea9a
     1 /*************************************************************************
       
     2 /* implement.java -- Test interface java.text.CharacterIterator
       
     3 /*
       
     4 /* Copyright (c) 1999 Free Software Foundation, Inc.
       
     5 /* Written by Aaron M. Renn (arenn@urbanophile.com)
       
     6 /*
       
     7 /* This program is free software; you can redistribute it and/or modify
       
     8 /* it under the terms of the GNU General Public License as published 
       
     9 /* by the Free Software Foundation, either version 2 of the License, or
       
    10 /* (at your option) any later version.
       
    11 /*
       
    12 /* This program is distributed in the hope that it will be useful, but
       
    13 /* WITHOUT ANY WARRANTY; without even the implied warranty of
       
    14 /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    15 /* GNU General Public License for more details.
       
    16 /*
       
    17 /* You should have received a copy of the GNU General Public License
       
    18 /* along with this program; if not, write to the Free Software Foundation
       
    19 /* Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307 USA
       
    20 /*************************************************************************/
       
    21 
       
    22 // Tags: JDK1.1
       
    23 
       
    24 package gnu.testlet.java.text.CharacterIterator;
       
    25 
       
    26 import gnu.testlet.Testlet;
       
    27 import gnu.testlet.TestHarness;
       
    28 import java.text.*;
       
    29 
       
    30 public class implement implements CharacterIterator, Testlet
       
    31 {
       
    32 
       
    33 public void 
       
    34 test(TestHarness harness)
       
    35 {
       
    36   harness.check(true, "Correctly implemented CharacterIterator");
       
    37 }
       
    38 
       
    39 public Object
       
    40 clone()
       
    41 {
       
    42   return(null);
       
    43 }
       
    44 public char
       
    45 current()
       
    46 {
       
    47   return('0');
       
    48 }
       
    49 public char
       
    50 first()
       
    51 {
       
    52   return('0');
       
    53 }
       
    54 public int
       
    55 getBeginIndex()
       
    56 {
       
    57   return(0);
       
    58 }
       
    59 public int
       
    60 getEndIndex()
       
    61 {
       
    62   return(0);
       
    63 }
       
    64 public int
       
    65 getIndex()
       
    66 {
       
    67   return(0);
       
    68 }
       
    69 public char
       
    70 last()
       
    71 {
       
    72   return('0');
       
    73 }
       
    74 public char
       
    75 next()
       
    76 {
       
    77   return('0');
       
    78 }
       
    79 public char
       
    80 previous()
       
    81 {
       
    82   return('0');
       
    83 }
       
    84 public char
       
    85 setIndex(int pos)
       
    86 {
       
    87   return('0');
       
    88 }
       
    89 
       
    90 } // class implement
       
    91