73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * CDDL HEADER START
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * The contents of this file are subject to the terms of the
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * Common Development and Distribution License, Version 1.0 only
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * (the "License"). You may not use this file except in compliance
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * with the License.
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * or http://forgerock.org/license/CDDLv1.0.html.
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * See the License for the specific language governing permissions
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * and limitations under the License.
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * When distributing Covered Code, include this CDDL HEADER in each
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * file and include the License file at legal-notices/CDDLv1_0.txt.
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * If applicable, add the following below this CDDL HEADER, with the
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * fields enclosed by brackets "[]" replaced with your own identifying
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * information:
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * Portions Copyright [yyyy] [name of copyright owner]
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * CDDL HEADER END
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * Copyright 2007-2008 Sun Microsystems, Inc.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * Message Tester.
fb98811412f1a61efdc30b38091bf4708148a806Allan Fosterpublic class MessageBuilderTest extends MessagesTestCase {
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster return new Object[][]{
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster // All strings
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster "Once upon a time." },
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster // All messages
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster "Once upon a time." },
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster // Mix of strings and messages
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster "Once upon a time." },
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster // Lots of messages
return new Object[][]{
{ new CharSequence[] {
{ new CharSequence[] {
return new Object[][] {