790N/A * The contents of this file are subject to the terms of the 790N/A * Common Development and Distribution License (the "License"). 790N/A * You may not use this file except in compliance with the License. 790N/A * language governing permissions and limitations under the License. 790N/A * When distributing Covered Code, include this CDDL HEADER in each 790N/A * If applicable, add the following below this CDDL HEADER, with the 790N/A * fields enclosed by brackets "[]" replaced with your own identifying 790N/A * information: Portions Copyright [yyyy] [name of copyright owner] 967N/A * Copyright 2010 Sun Microsystems, Inc. All rights reserved. 790N/A * Use is subject to license terms. 790N/A * Tests for MercurialRepository. 790N/A * Revision numbers present in the Mercurial test repository, in the 790N/A * order they are supposed to be returned from getHistory(). 790N/A "2:585a1b3f2efb",
"1:f24a5fd7a85d",
"0:816b6279ae9c" 790N/A * Set up a test repository. Should be called by the tests that need it. 790N/A * The test repository will be destroyed automatically when the test 790N/A // Get all but the oldest revision 791N/A * Test that {@code getHistory()} throws an exception if the revision 791N/A * argument doesn't match any of the revisions in the history. 791N/A // Get the sequence number and the hash from one of the revisions. 791N/A // Construct a revision identifier that doesn't exist. 791N/A // expected exception, do nothing 791N/A // unexpected exception, rethrow it