133N/A * The contents of this file are subject to the terms of the 133N/A * Common Development and Distribution License (the "License"). 133N/A * You may not use this file except in compliance with the License. 133N/A * language governing permissions and limitations under the License. 133N/A * When distributing Covered Code, include this CDDL HEADER in each 133N/A * If applicable, add the following below this CDDL HEADER, with the 133N/A * fields enclosed by brackets "[]" replaced with your own identifying 133N/A * information: Portions Copyright [yyyy] [name of copyright owner] 133N/A * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 133N/A * Use is subject to license terms. 133N/A * JUnit test for org.opensolaris.opengrok.util.Getopt 133N/A }
/* Test of reset method, of class Getopt. */ 133N/A fail(
"Parse shall not allow missing arguments");
134N/A // not the exception we expected 133N/A fail(
"Parse shall not allow unknown arguments");
134N/A // not the exception we expected