IndexerTest.java revision 1470
58N/A * CDDL HEADER START 58N/A * The contents of this file are subject to the terms of the 58N/A * Common Development and Distribution License (the "License"). 58N/A * You may not use this file except in compliance with the License. 58N/A * language governing permissions and limitations under the License. 58N/A * When distributing Covered Code, include this CDDL HEADER in each 58N/A * If applicable, add the following below this CDDL HEADER, with the 58N/A * fields enclosed by brackets "[]" replaced with your own identifying 58N/A * information: Portions Copyright [yyyy] [name of copyright owner] 1252N/A * Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. 125N/A * Test of doIndexerExecution method, of class Indexer. 1125N/A * Test that rescanning for projects does not erase customization of 1218N/A * existing projects. Bug #16006. 1185N/A // Generate one project that will be found in source.zip, and set 1185N/A // some properties that we can verify after the rescan. 1185N/A // Generate one project that will not be found in source.zip, and that 1185N/A // should not be in the list of projects after the rescan. 1252N/A // Make the runtime environment aware of these two projects. 993N/A // Do a rescan of the projects, and only that (we don't care about 993N/A // the other aspects of indexing in this test case). 1185N/A false,
// don't search for repositories 993N/A true,
// scan and add projects 58N/A false,
// don't refresh history 58N/A false,
// don't list files 816N/A false,
// don't create dictionary 58N/A null,
// subFiles - not needed since we don't list files 58N/A null,
// repositories - not needed when not refreshing history 58N/A false);
// don't list repos 1118N/A // p2 should not be in the project list anymore 173N/A // The properties of p1 should be preserved 1016N/A * Test of doIndexerExecution method, of class Indexer. 773N/A +
" or could not find a ctags or an sccs I could use in path.");