1/* 2 * Copyright (c) 2007 - 2010 Apple Inc. All rights reserved. 3 * 4 * @APPLE_LICENSE_HEADER_START@ 5 * 6 * This file contains Original Code and/or Modifications of Original Code 7 * as defined in and that are subject to the Apple Public Source License 8 * Version 2.0 (the 'License'). You may not use this file except in 9 * compliance with the License. Please obtain a copy of the License at 10 * http://www.opensource.apple.com/apsl/ and read it before using this 11 * file. 12 * 13 * The Original Code and all software distributed under the License are 14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 18 * Please see the License for the specific language governing rights and 19 * limitations under the License. 20 * 21 * @APPLE_LICENSE_HEADER_END@ 22 */ 23 24#define MAX_NUMBER_TESTSTRING 6 25#define TESTSTRING1 "/George/J\\im/T:?.*est" 26#define TESTSTRING2 "/George/J\\im/T:?.*est/" 27#define TESTSTRING3 "George/J\\im/T:?.*est/" 28#define TESTSTRING4 "George/J\\im/T:?.*est" 29#define TESTSTRING5 "George" 30#define TESTSTRING6 "/" 31#define TESTSTRING7 "/George" 32 33#define MAX_URL_TO_DICT_TO_URL_TEST 4 34#define URL_TO_DICT_TO_URL_TEST_STR1 "smb://local1:local@[fe80::d9b6:f149:a17c:8307%25en1]/Vista-Share" 35#define URL_TO_DICT_TO_URL_TEST_STR2 "smb://local:local@colley%5B3%5D._smb._tcp.local/local" 36#define URL_TO_DICT_TO_URL_TEST_STR3 "smb://BAD%3A%3B%2FBAD@colley2/badbad" 37#define URL_TO_DICT_TO_URL_TEST_STR4 "smb://user:password@%7e%21%40%24%3b%27%28%29/share" 38 39 40#define LIST_SHARE_CONNECT_TEST 0 41#define MOUNT_WIN2003_VOLUME_TEST 1 42#define URL_TO_DICT_TO_URL_TEST 3 43#define DFS_MOUNT_TEST 6 44#define DFS_LOOP_TEST 7 45#define URL_TO_DICTIONARY 8 46#define FIND_VC_FROM_MP_TEST 9 47#define NETFS_TEST 10 48#define GETACCOUNTNAME_AND_SID_TEST 11 49#define FORCE_GUEST_ANON_TEST 12 50#define MOUNT_EXIST_TEST 13 51#define LIST_DFS_REFERRALS 14 52#define RUN_ALL_TEST -1 53 54#define START_UNIT_TEST LIST_SHARE_CONNECT_TEST 55#define END_UNIT_TEST LIST_DFS_REFERRALS 56/* Should always be greater than END_UNIT_TEST */ 57#define REMOUNT_UNIT_TEST END_UNIT_TEST+1 58 59