_XPatternField.java (ef39d40d) _XPatternField.java (bb6af6bc)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 64 unchanged lines hidden (view full) ---

73 result &= newEdit.equals(edit[0]) ;
74 result &= newLiteral.equals(literal[0]) ;
75
76 tRes.tested("setMasks()", result) ;
77 }
78
79 /**
80 * Gets masks and stores them. <p>
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 64 unchanged lines hidden (view full) ---

73 result &= newEdit.equals(edit[0]) ;
74 result &= newLiteral.equals(literal[0]) ;
75
76 tRes.tested("setMasks()", result) ;
77 }
78
79 /**
80 * Gets masks and stores them. <p>
81 * Has <b> OK </b> status if no runtime exceptions occured.
81 * Has <b> OK </b> status if no runtime exceptions occurred.
82 */
83 public void _getMasks() {
84
85 boolean result = true ;
86 String[] edit = new String[1] ;
87 String[] literal = new String[1] ;
88 oObj.getMasks(edit, literal) ;
89

--- 32 unchanged lines hidden (view full) ---

122 + "', Get '" + getString + "'") ;
123 }
124
125 tRes.tested("setString()", result) ;
126 }
127
128 /**
129 * Gets current string and stores it. <p>
82 */
83 public void _getMasks() {
84
85 boolean result = true ;
86 String[] edit = new String[1] ;
87 String[] literal = new String[1] ;
88 oObj.getMasks(edit, literal) ;
89

--- 32 unchanged lines hidden (view full) ---

122 + "', Get '" + getString + "'") ;
123 }
124
125 tRes.tested("setString()", result) ;
126 }
127
128 /**
129 * Gets current string and stores it. <p>
130 * Has <b> OK </b> status if no runtime exceptions occured
130 * Has <b> OK </b> status if no runtime exceptions occurred
131 */
132 public void _getString() {
133
134 boolean result = true ;
135 string = oObj.getString() ;
136
137 tRes.tested("getString()", result) ;
138 }

--- 14 unchanged lines hidden (view full) ---

153
154 result = oObj.isStrictFormat() == !strict ;
155
156 tRes.tested("setStrictFormat()", result) ;
157 }
158
159 /**
160 * Gets the current strict state and stores it. <p>
131 */
132 public void _getString() {
133
134 boolean result = true ;
135 string = oObj.getString() ;
136
137 tRes.tested("getString()", result) ;
138 }

--- 14 unchanged lines hidden (view full) ---

153
154 result = oObj.isStrictFormat() == !strict ;
155
156 tRes.tested("setStrictFormat()", result) ;
157 }
158
159 /**
160 * Gets the current strict state and stores it. <p>
161 * Has <b> OK </b> status if no runtime exceptions occured.
161 * Has <b> OK </b> status if no runtime exceptions occurred.
162 */
163 public void _isStrictFormat() {
164
165 boolean result = true ;
166 strict = oObj.isStrictFormat() ;
167
168 tRes.tested("isStrictFormat()", result) ;
169 }
170}
171
172
162 */
163 public void _isStrictFormat() {
164
165 boolean result = true ;
166 strict = oObj.isStrictFormat() ;
167
168 tRes.tested("isStrictFormat()", result) ;
169 }
170}
171
172