Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3940 lines
119 KiB

  1. AdminManager->Application - Perform tests of 'Application' objects that are children of 'AdminManager' objects
  2. AdminManager->Application - 'Admin Manager generic Child object test'
  3. AzInitialize '.\TestFile' (1)
  4. DupHandle
  5. GoSub
  6. AdminManager->Application - 'Gen object test'
  7. AzApplicationCreate 'Name1'
  8. AzCloseHandle
  9. AzApplicationEnum (ERROR_INVALID_HANDLE)
  10. AzApplicationEnum
  11. 1:
  12. DupHandle
  13. AzCloseHandle
  14. AzCloseHandle (ERROR_INVALID_HANDLE)
  15. AzCloseHandle (ERROR_INVALID_HANDLE)
  16. AzApplicationEnum
  17. 1:
  18. AzApplicationGetProperty (1)
  19. 'Name1'
  20. AzApplicationGetProperty (2)
  21. ''
  22. AzCloseHandle
  23. AzApplicationCreate 'Name2'
  24. AzApplicationEnum
  25. 1:
  26. AzApplicationGetProperty (1)
  27. 'Name1'
  28. AzApplicationGetProperty (2)
  29. ''
  30. AzCloseHandle
  31. 2:
  32. AzApplicationGetProperty (1)
  33. 'Name2'
  34. AzApplicationGetProperty (2)
  35. ''
  36. AzCloseHandle
  37. AzCloseHandle
  38. AdminManager->Application - 'Delete an object and make sure it doesn't get enumerated'
  39. AzApplicationCreate 'Name3'
  40. AzApplicationDelete 'Name3'
  41. AzCloseHandle
  42. AzApplicationEnum
  43. 1:
  44. AzApplicationGetProperty (1)
  45. 'Name1'
  46. AzApplicationGetProperty (2)
  47. ''
  48. AzCloseHandle
  49. 2:
  50. AzApplicationGetProperty (1)
  51. 'Name2'
  52. AzApplicationGetProperty (2)
  53. ''
  54. AzCloseHandle
  55. AdminManager->Application - 'Create an object whose name equals that of a deleted object'
  56. AzApplicationCreate 'Name3'
  57. AzCloseHandle
  58. AzApplicationEnum
  59. 1:
  60. AzApplicationGetProperty (1)
  61. 'Name1'
  62. AzApplicationGetProperty (2)
  63. ''
  64. AzCloseHandle
  65. 2:
  66. AzApplicationGetProperty (1)
  67. 'Name2'
  68. AzApplicationGetProperty (2)
  69. ''
  70. AzCloseHandle
  71. 4:
  72. AzApplicationGetProperty (1)
  73. 'Name3'
  74. AzApplicationGetProperty (2)
  75. ''
  76. AzCloseHandle
  77. AdminManager->Application - 'Delete an object that isn't on the tail end of the enum list'
  78. AzApplicationDelete 'Name2'
  79. AzApplicationEnum
  80. 1:
  81. AzApplicationGetProperty (1)
  82. 'Name1'
  83. AzApplicationGetProperty (2)
  84. ''
  85. AzCloseHandle
  86. 4:
  87. AzApplicationGetProperty (1)
  88. 'Name3'
  89. AzApplicationGetProperty (2)
  90. ''
  91. AzCloseHandle
  92. AdminManager->Application - 'Basic get/set property tests'
  93. AzApplicationCreate 'Name4'
  94. AzApplicationGetProperty (1)
  95. 'Name4'
  96. AzApplicationGetProperty (2)
  97. ''
  98. AzApplicationSetProperty 'WasName4' (1)
  99. AzApplicationSetProperty 'Nam4 Desc' (2)
  100. AzApplicationGetProperty (1)
  101. 'WasName4'
  102. AzApplicationGetProperty (2)
  103. 'Nam4 Desc'
  104. AzApplicationEnum
  105. 1:
  106. AzApplicationGetProperty (1)
  107. 'Name1'
  108. AzApplicationGetProperty (2)
  109. ''
  110. AzCloseHandle
  111. 4:
  112. AzApplicationGetProperty (1)
  113. 'Name3'
  114. AzApplicationGetProperty (2)
  115. ''
  116. AzCloseHandle
  117. 5:
  118. AzApplicationGetProperty (1)
  119. 'WasName4'
  120. AzApplicationGetProperty (2)
  121. 'Nam4 Desc'
  122. AzCloseHandle
  123. AzCloseHandle
  124. AdminManager->Application - 'Open test'
  125. AzApplicationOpen 'Name1'
  126. AzApplicationGetProperty (1)
  127. 'Name1'
  128. AzCloseHandle
  129. AzApplicationOpen 'NameBad' (ERROR_NOT_FOUND)
  130. AzCloseHandle
  131. AdminManager->Application - 'Test creating two objects with the same name'
  132. AzInitialize '.\TestFile' (1)
  133. AzApplicationCreate 'Name1'
  134. AzApplicationCreate 'Name1' (ERROR_ALREADY_EXISTS)
  135. AzCloseHandle
  136. AzCloseHandle
  137. AdminManager->Group - Perform tests of 'Group' objects that are children of 'AdminManager' objects
  138. AdminManager->Group - 'Admin Manager generic Child object test'
  139. AzInitialize '.\TestFile' (1)
  140. DupHandle
  141. GoSub
  142. AdminManager->Group - 'Gen object test'
  143. AzGroupCreate 'Name1'
  144. AzCloseHandle
  145. AzGroupEnum (ERROR_INVALID_HANDLE)
  146. AzGroupEnum
  147. 1:
  148. DupHandle
  149. AzCloseHandle
  150. AzCloseHandle (ERROR_INVALID_HANDLE)
  151. AzCloseHandle (ERROR_INVALID_HANDLE)
  152. AzGroupEnum
  153. 1:
  154. AzGroupGetProperty (1)
  155. 'Name1'
  156. AzGroupGetProperty (2)
  157. ''
  158. AzCloseHandle
  159. AzGroupCreate 'Name2'
  160. AzGroupEnum
  161. 1:
  162. AzGroupGetProperty (1)
  163. 'Name1'
  164. AzGroupGetProperty (2)
  165. ''
  166. AzCloseHandle
  167. 2:
  168. AzGroupGetProperty (1)
  169. 'Name2'
  170. AzGroupGetProperty (2)
  171. ''
  172. AzCloseHandle
  173. AzCloseHandle
  174. AdminManager->Group - 'Delete an object and make sure it doesn't get enumerated'
  175. AzGroupCreate 'Name3'
  176. AzGroupDelete 'Name3'
  177. AzCloseHandle
  178. AzGroupEnum
  179. 1:
  180. AzGroupGetProperty (1)
  181. 'Name1'
  182. AzGroupGetProperty (2)
  183. ''
  184. AzCloseHandle
  185. 2:
  186. AzGroupGetProperty (1)
  187. 'Name2'
  188. AzGroupGetProperty (2)
  189. ''
  190. AzCloseHandle
  191. AdminManager->Group - 'Create an object whose name equals that of a deleted object'
  192. AzGroupCreate 'Name3'
  193. AzCloseHandle
  194. AzGroupEnum
  195. 1:
  196. AzGroupGetProperty (1)
  197. 'Name1'
  198. AzGroupGetProperty (2)
  199. ''
  200. AzCloseHandle
  201. 2:
  202. AzGroupGetProperty (1)
  203. 'Name2'
  204. AzGroupGetProperty (2)
  205. ''
  206. AzCloseHandle
  207. 4:
  208. AzGroupGetProperty (1)
  209. 'Name3'
  210. AzGroupGetProperty (2)
  211. ''
  212. AzCloseHandle
  213. AdminManager->Group - 'Delete an object that isn't on the tail end of the enum list'
  214. AzGroupDelete 'Name2'
  215. AzGroupEnum
  216. 1:
  217. AzGroupGetProperty (1)
  218. 'Name1'
  219. AzGroupGetProperty (2)
  220. ''
  221. AzCloseHandle
  222. 4:
  223. AzGroupGetProperty (1)
  224. 'Name3'
  225. AzGroupGetProperty (2)
  226. ''
  227. AzCloseHandle
  228. AdminManager->Group - 'Basic get/set property tests'
  229. AzGroupCreate 'Name4'
  230. AzGroupGetProperty (1)
  231. 'Name4'
  232. AzGroupGetProperty (2)
  233. ''
  234. AzGroupSetProperty 'WasName4' (1)
  235. AzGroupSetProperty 'Nam4 Desc' (2)
  236. AzGroupGetProperty (1)
  237. 'WasName4'
  238. AzGroupGetProperty (2)
  239. 'Nam4 Desc'
  240. AzGroupEnum
  241. 1:
  242. AzGroupGetProperty (1)
  243. 'Name1'
  244. AzGroupGetProperty (2)
  245. ''
  246. AzCloseHandle
  247. 4:
  248. AzGroupGetProperty (1)
  249. 'Name3'
  250. AzGroupGetProperty (2)
  251. ''
  252. AzCloseHandle
  253. 5:
  254. AzGroupGetProperty (1)
  255. 'WasName4'
  256. AzGroupGetProperty (2)
  257. 'Nam4 Desc'
  258. AzCloseHandle
  259. AzCloseHandle
  260. AdminManager->Group - 'Open test'
  261. AzGroupOpen 'Name1'
  262. AzGroupGetProperty (1)
  263. 'Name1'
  264. AzCloseHandle
  265. AzGroupOpen 'NameBad' (ERROR_NOT_FOUND)
  266. AzCloseHandle
  267. AdminManager->Group - 'Test creating two objects with the same name'
  268. AzInitialize '.\TestFile' (1)
  269. AzGroupCreate 'Name1'
  270. AzGroupCreate 'Name1' (ERROR_ALREADY_EXISTS)
  271. AzCloseHandle
  272. AzCloseHandle
  273. AdminManager->Group - 'Group objects that are children of an admin manager'
  274. AzInitialize '.\TestFile' (1)
  275. DupHandle
  276. GoSub
  277. AdminManager->Group - 'Group object specific tests'
  278. AzGroupCreate 'Group A'
  279. AdminManager->Group - 'Create some groups to link the group to'
  280. AzGroupCreate 'Group 1'
  281. AzCloseHandle
  282. AzGroupCreate 'Group 2'
  283. AzCloseHandle
  284. AzGroupCreate 'Group 3'
  285. AzCloseHandle
  286. AdminManager->Group - 'Add membership to a group with no grouptype'
  287. [INVPARM] AzpGroupAddPropertyItem: invalid group type 0
  288. AzGroupAddProperty 'Group 1' (401) (ERROR_INVALID_PARAMETER)
  289. [INVPARM] AzpGroupAddPropertyItem: invalid group type 0
  290. AzGroupAddProperty '' (404) (ERROR_INVALID_PARAMETER)
  291. [INVPARM] AzpGroupGetProperty: invalid grouptype 8
  292. AzGroupSetProperty '8' (400) (ERROR_INVALID_PARAMETER)
  293. AzGroupSetProperty '2' (400)
  294. AdminManager->Group - 'Reference ourself'
  295. AzGroupGetProperty (401)
  296. AzGroupGetProperty (404)
  297. [INVPARM] Reference to self
  298. AzGroupAddProperty 'Group A' (401) (ERROR_DS_LOOP_DETECT)
  299. AdminManager->Group->Group - Test linking 'Group' objects to the object named 'Group A' using propid '401'.
  300. AdminManager->Group->Group - 'Create some objects to link the object to'
  301. AzGroupCreate 'Object 1'
  302. AzCloseHandle
  303. AzGroupCreate 'Object 2'
  304. AzCloseHandle
  305. AzGroupCreate 'Object 3'
  306. AzCloseHandle
  307. AdminManager->Group->Group - 'Reference an object that doesn't exist'
  308. AzGroupGetProperty (401)
  309. [INVPARM] AzpGroupSetProperty: invalid propid 401
  310. AzGroupSetProperty (401) (ERROR_INVALID_PARAMETER)
  311. AzGroupAddProperty 'random' (401) (ERROR_NOT_FOUND)
  312. AdminManager->Group->Group - 'Add and remove several objects'
  313. AzGroupAddProperty 'Object 2' (401)
  314. AzGroupGetProperty (401)
  315. 'Object 2'
  316. AzGroupAddProperty 'Object 3' (401)
  317. AzGroupGetProperty (401)
  318. 'Object 2'
  319. 'Object 3'
  320. AzGroupAddProperty 'Object 1' (401)
  321. AzGroupGetProperty (401)
  322. 'Object 1'
  323. 'Object 2'
  324. 'Object 3'
  325. AzGroupRemProperty 'Object 1' (401)
  326. AzGroupGetProperty (401)
  327. 'Object 2'
  328. 'Object 3'
  329. AzGroupRemProperty 'Object 2' (401)
  330. AzGroupGetProperty (401)
  331. 'Object 3'
  332. AdminManager->Group->Group - 'Add an item that already exists'
  333. AzGroupAddProperty 'Object 3' (401) (ERROR_ALREADY_EXISTS)
  334. AzGroupGetProperty (401)
  335. 'Object 3'
  336. AzGroupRemProperty 'Object 3' (401)
  337. AzGroupGetProperty (401)
  338. AdminManager->Group->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  339. AzGroupCreate 'Object 4'
  340. AzCloseHandle
  341. AzGroupCreate 'Object 5'
  342. AzCloseHandle
  343. AzGroupCreate 'Object 6'
  344. AzCloseHandle
  345. AzGroupAddProperty 'Object 1' (401)
  346. AzGroupAddProperty 'Object 4' (401)
  347. AzGroupAddProperty 'Object 2' (401)
  348. AzGroupAddProperty 'Object 5' (401)
  349. AzGroupAddProperty 'Object 3' (401)
  350. AzGroupAddProperty 'Object 6' (401)
  351. AzGroupGetProperty (401)
  352. 'Object 1'
  353. 'Object 2'
  354. 'Object 3'
  355. 'Object 4'
  356. 'Object 5'
  357. 'Object 6'
  358. AzGroupDelete 'Object 1' (401)
  359. AzGroupDelete 'Object 4' (401)
  360. AzGroupDelete 'Object 2' (401)
  361. AzGroupDelete 'Object 5' (401)
  362. AzGroupDelete 'Object 3' (401)
  363. AzGroupDelete 'Object 6' (401)
  364. AdminManager->Group->Sid - Test linking 'Sid' objects to the object named 'Group A' using propid '404'.
  365. AdminManager->Group->Sid - 'Add and remove several links to sids'
  366. AzGroupAddProperty '' (404)
  367. AzGroupGetProperty (404)
  368. 'S-1-1000-2'
  369. AzGroupAddProperty '' (404)
  370. AzGroupGetProperty (404)
  371. 'S-1-1000-2'
  372. 'S-1-1000-3'
  373. AzGroupAddProperty '' (404)
  374. AzGroupGetProperty (404)
  375. 'S-1-1000-1'
  376. 'S-1-1000-2'
  377. 'S-1-1000-3'
  378. AzGroupRemProperty '' (404)
  379. AzGroupGetProperty (404)
  380. 'S-1-1000-2'
  381. 'S-1-1000-3'
  382. AzGroupRemProperty '' (404)
  383. AzGroupGetProperty (404)
  384. 'S-1-1000-3'
  385. AdminManager->Group->Sid - 'Add a link that already exists'
  386. AzGroupAddProperty '' (404) (ERROR_ALREADY_EXISTS)
  387. AzGroupGetProperty (404)
  388. 'S-1-1000-3'
  389. AzGroupRemProperty '' (404)
  390. AzGroupGetProperty (404)
  391. AdminManager->Group->Sid - 'Try more than 4 since reference buckets come in multiples of 4'
  392. AzGroupAddProperty '' (404)
  393. AzGroupAddProperty '' (404)
  394. AzGroupAddProperty '' (404)
  395. AzGroupAddProperty '' (404)
  396. AzGroupAddProperty '' (404)
  397. AzGroupAddProperty '' (404)
  398. AzGroupGetProperty (404)
  399. 'S-1-1000-1'
  400. 'S-1-1000-2'
  401. 'S-1-1000-3'
  402. 'S-1-1000-4'
  403. 'S-1-1000-5'
  404. 'S-1-1000-6'
  405. AdminManager->Group - 'Same as above, but for the non-members attribute'
  406. AzGroupGetProperty (402)
  407. AzGroupGetProperty (405)
  408. [INVPARM] Reference to self
  409. AzGroupAddProperty 'Group A' (402) (ERROR_DS_LOOP_DETECT)
  410. AdminManager->Group->Group - Test linking 'Group' objects to the object named 'Group A' using propid '402'.
  411. AdminManager->Group->Group - 'Create some objects to link the object to'
  412. AzGroupCreate 'Object 1'
  413. AzCloseHandle
  414. AzGroupCreate 'Object 2'
  415. AzCloseHandle
  416. AzGroupCreate 'Object 3'
  417. AzCloseHandle
  418. AdminManager->Group->Group - 'Reference an object that doesn't exist'
  419. AzGroupGetProperty (402)
  420. [INVPARM] AzpGroupSetProperty: invalid propid 402
  421. AzGroupSetProperty (402) (ERROR_INVALID_PARAMETER)
  422. AzGroupAddProperty 'random' (402) (ERROR_NOT_FOUND)
  423. AdminManager->Group->Group - 'Add and remove several objects'
  424. AzGroupAddProperty 'Object 2' (402)
  425. AzGroupGetProperty (402)
  426. 'Object 2'
  427. AzGroupAddProperty 'Object 3' (402)
  428. AzGroupGetProperty (402)
  429. 'Object 2'
  430. 'Object 3'
  431. AzGroupAddProperty 'Object 1' (402)
  432. AzGroupGetProperty (402)
  433. 'Object 1'
  434. 'Object 2'
  435. 'Object 3'
  436. AzGroupRemProperty 'Object 1' (402)
  437. AzGroupGetProperty (402)
  438. 'Object 2'
  439. 'Object 3'
  440. AzGroupRemProperty 'Object 2' (402)
  441. AzGroupGetProperty (402)
  442. 'Object 3'
  443. AdminManager->Group->Group - 'Add an item that already exists'
  444. AzGroupAddProperty 'Object 3' (402) (ERROR_ALREADY_EXISTS)
  445. AzGroupGetProperty (402)
  446. 'Object 3'
  447. AzGroupRemProperty 'Object 3' (402)
  448. AzGroupGetProperty (402)
  449. AdminManager->Group->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  450. AzGroupCreate 'Object 4'
  451. AzCloseHandle
  452. AzGroupCreate 'Object 5'
  453. AzCloseHandle
  454. AzGroupCreate 'Object 6'
  455. AzCloseHandle
  456. AzGroupAddProperty 'Object 1' (402)
  457. AzGroupAddProperty 'Object 4' (402)
  458. AzGroupAddProperty 'Object 2' (402)
  459. AzGroupAddProperty 'Object 5' (402)
  460. AzGroupAddProperty 'Object 3' (402)
  461. AzGroupAddProperty 'Object 6' (402)
  462. AzGroupGetProperty (402)
  463. 'Object 1'
  464. 'Object 2'
  465. 'Object 3'
  466. 'Object 4'
  467. 'Object 5'
  468. 'Object 6'
  469. AzGroupDelete 'Object 1' (402)
  470. AzGroupDelete 'Object 4' (402)
  471. AzGroupDelete 'Object 2' (402)
  472. AzGroupDelete 'Object 5' (402)
  473. AzGroupDelete 'Object 3' (402)
  474. AzGroupDelete 'Object 6' (402)
  475. AdminManager->Group->Sid - Test linking 'Sid' objects to the object named 'Group A' using propid '405'.
  476. AdminManager->Group->Sid - 'Add and remove several links to sids'
  477. AzGroupAddProperty '' (405)
  478. AzGroupGetProperty (405)
  479. 'S-1-1000-2'
  480. AzGroupAddProperty '' (405)
  481. AzGroupGetProperty (405)
  482. 'S-1-1000-2'
  483. 'S-1-1000-3'
  484. AzGroupAddProperty '' (405)
  485. AzGroupGetProperty (405)
  486. 'S-1-1000-1'
  487. 'S-1-1000-2'
  488. 'S-1-1000-3'
  489. AzGroupRemProperty '' (405)
  490. AzGroupGetProperty (405)
  491. 'S-1-1000-2'
  492. 'S-1-1000-3'
  493. AzGroupRemProperty '' (405)
  494. AzGroupGetProperty (405)
  495. 'S-1-1000-3'
  496. AdminManager->Group->Sid - 'Add a link that already exists'
  497. AzGroupAddProperty '' (405) (ERROR_ALREADY_EXISTS)
  498. AzGroupGetProperty (405)
  499. 'S-1-1000-3'
  500. AzGroupRemProperty '' (405)
  501. AzGroupGetProperty (405)
  502. AdminManager->Group->Sid - 'Try more than 4 since reference buckets come in multiples of 4'
  503. AzGroupAddProperty '' (405)
  504. AzGroupAddProperty '' (405)
  505. AzGroupAddProperty '' (405)
  506. AzGroupAddProperty '' (405)
  507. AzGroupAddProperty '' (405)
  508. AzGroupAddProperty '' (405)
  509. AzGroupGetProperty (405)
  510. 'S-1-1000-1'
  511. 'S-1-1000-2'
  512. 'S-1-1000-3'
  513. 'S-1-1000-4'
  514. 'S-1-1000-5'
  515. 'S-1-1000-6'
  516. AdminManager->Group - 'Set LdapQuery string'
  517. AzGroupGetProperty (403)
  518. ''
  519. [INVPARM] AzpGroupSetProperty: can't set ldap query before group type
  520. AzGroupSetProperty 'TheQuery' (403) (ERROR_INVALID_PARAMETER)
  521. AzGroupSetProperty '1' (400)
  522. AzGroupSetProperty 'TheQuery' (403)
  523. AzGroupGetProperty (403)
  524. 'TheQuery'
  525. AzGroupSetProperty '2' (400)
  526. [INVPARM] AzpGroupSetProperty: can't set ldap query before group type
  527. AzGroupSetProperty 'TheQuery' (403) (ERROR_INVALID_PARAMETER)
  528. AzGroupSetProperty '' (403)
  529. AdminManager->Group - 'Test loops'
  530. AzGroupCreate 'Group B'
  531. AzGroupSetProperty '2' (400)
  532. AzGroupAddProperty 'Group B' (401)
  533. AzGroupAddProperty 'Group A' (401) (ERROR_DS_LOOP_DETECT)
  534. AzGroupAddProperty 'Group B' (402)
  535. AzGroupAddProperty 'Group A' (402) (ERROR_DS_LOOP_DETECT)
  536. AzGroupRemProperty 'Group B' (402)
  537. AzGroupRemProperty 'Group B' (401)
  538. AzCloseHandle
  539. AzCloseHandle
  540. AzCloseHandle
  541. Application->Operation - Perform tests of 'Operation' objects that are children of 'Application' objects
  542. Application->Operation - 'Application generic Child object test'
  543. AzInitialize '.\TestFile' (1)
  544. AzApplicationCreate 'MyApp'
  545. DupHandle
  546. GoSub
  547. Application->Operation - 'Gen object test'
  548. AzOperationCreate 'Name1'
  549. AzCloseHandle
  550. AzOperationEnum (ERROR_INVALID_HANDLE)
  551. AzOperationEnum
  552. 1:
  553. DupHandle
  554. AzCloseHandle
  555. AzCloseHandle (ERROR_INVALID_HANDLE)
  556. AzCloseHandle (ERROR_INVALID_HANDLE)
  557. AzOperationEnum
  558. 1:
  559. AzOperationGetProperty (1)
  560. 'Name1'
  561. AzOperationGetProperty (2)
  562. ''
  563. AzCloseHandle
  564. AzOperationCreate 'Name2'
  565. AzOperationEnum
  566. 1:
  567. AzOperationGetProperty (1)
  568. 'Name1'
  569. AzOperationGetProperty (2)
  570. ''
  571. AzCloseHandle
  572. 2:
  573. AzOperationGetProperty (1)
  574. 'Name2'
  575. AzOperationGetProperty (2)
  576. ''
  577. AzCloseHandle
  578. AzCloseHandle
  579. Application->Operation - 'Delete an object and make sure it doesn't get enumerated'
  580. AzOperationCreate 'Name3'
  581. AzOperationDelete 'Name3'
  582. AzCloseHandle
  583. AzOperationEnum
  584. 1:
  585. AzOperationGetProperty (1)
  586. 'Name1'
  587. AzOperationGetProperty (2)
  588. ''
  589. AzCloseHandle
  590. 2:
  591. AzOperationGetProperty (1)
  592. 'Name2'
  593. AzOperationGetProperty (2)
  594. ''
  595. AzCloseHandle
  596. Application->Operation - 'Create an object whose name equals that of a deleted object'
  597. AzOperationCreate 'Name3'
  598. AzCloseHandle
  599. AzOperationEnum
  600. 1:
  601. AzOperationGetProperty (1)
  602. 'Name1'
  603. AzOperationGetProperty (2)
  604. ''
  605. AzCloseHandle
  606. 2:
  607. AzOperationGetProperty (1)
  608. 'Name2'
  609. AzOperationGetProperty (2)
  610. ''
  611. AzCloseHandle
  612. 4:
  613. AzOperationGetProperty (1)
  614. 'Name3'
  615. AzOperationGetProperty (2)
  616. ''
  617. AzCloseHandle
  618. Application->Operation - 'Delete an object that isn't on the tail end of the enum list'
  619. AzOperationDelete 'Name2'
  620. AzOperationEnum
  621. 1:
  622. AzOperationGetProperty (1)
  623. 'Name1'
  624. AzOperationGetProperty (2)
  625. ''
  626. AzCloseHandle
  627. 4:
  628. AzOperationGetProperty (1)
  629. 'Name3'
  630. AzOperationGetProperty (2)
  631. ''
  632. AzCloseHandle
  633. Application->Operation - 'Basic get/set property tests'
  634. AzOperationCreate 'Name4'
  635. AzOperationGetProperty (1)
  636. 'Name4'
  637. AzOperationGetProperty (2)
  638. ''
  639. AzOperationSetProperty 'WasName4' (1)
  640. AzOperationSetProperty 'Nam4 Desc' (2)
  641. AzOperationGetProperty (1)
  642. 'WasName4'
  643. AzOperationGetProperty (2)
  644. 'Nam4 Desc'
  645. AzOperationEnum
  646. 1:
  647. AzOperationGetProperty (1)
  648. 'Name1'
  649. AzOperationGetProperty (2)
  650. ''
  651. AzCloseHandle
  652. 4:
  653. AzOperationGetProperty (1)
  654. 'Name3'
  655. AzOperationGetProperty (2)
  656. ''
  657. AzCloseHandle
  658. 5:
  659. AzOperationGetProperty (1)
  660. 'WasName4'
  661. AzOperationGetProperty (2)
  662. 'Nam4 Desc'
  663. AzCloseHandle
  664. AzCloseHandle
  665. Application->Operation - 'Open test'
  666. AzOperationOpen 'Name1'
  667. AzOperationGetProperty (1)
  668. 'Name1'
  669. AzCloseHandle
  670. AzOperationOpen 'NameBad' (ERROR_NOT_FOUND)
  671. AzCloseHandle
  672. AzCloseHandle
  673. Application->Operation - 'Test closing the same handle twice'
  674. AzInitialize '.\TestFile' (1)
  675. AzApplicationCreate 'MyApp'
  676. DupHandle
  677. AzCloseHandle (ERROR_SERVER_HAS_OPEN_HANDLES)
  678. AzCloseHandle
  679. AzCloseHandle
  680. Application->Operation - 'Test creating two objects with the same name'
  681. AzInitialize '.\TestFile' (1)
  682. AzApplicationCreate 'MyApp'
  683. AzApplicationCreate 'MyApp' (ERROR_ALREADY_EXISTS)
  684. AzOperationCreate 'Name1'
  685. AzOperationCreate 'Name1' (ERROR_ALREADY_EXISTS)
  686. AzCloseHandle
  687. AzCloseHandle
  688. AzCloseHandle
  689. Application->Operation - 'Operation object specific tests'
  690. AzInitialize '.\TestFile' (1)
  691. AzApplicationCreate 'MyApp'
  692. AzOperationCreate 'Oper 1'
  693. AzOperationGetProperty (200)
  694. '0'
  695. AzOperationSetProperty '8' (200)
  696. AzOperationGetProperty (200)
  697. '8'
  698. AzCloseHandle
  699. AzCloseHandle
  700. AzCloseHandle
  701. Application->Task - Perform tests of 'Task' objects that are children of 'Application' objects
  702. Application->Task - 'Application generic Child object test'
  703. AzInitialize '.\TestFile' (1)
  704. AzApplicationCreate 'MyApp'
  705. DupHandle
  706. GoSub
  707. Application->Task - 'Gen object test'
  708. AzTaskCreate 'Name1'
  709. AzCloseHandle
  710. AzTaskEnum (ERROR_INVALID_HANDLE)
  711. AzTaskEnum
  712. 1:
  713. DupHandle
  714. AzCloseHandle
  715. AzCloseHandle (ERROR_INVALID_HANDLE)
  716. AzCloseHandle (ERROR_INVALID_HANDLE)
  717. AzTaskEnum
  718. 1:
  719. AzTaskGetProperty (1)
  720. 'Name1'
  721. AzTaskGetProperty (2)
  722. ''
  723. AzCloseHandle
  724. AzTaskCreate 'Name2'
  725. AzTaskEnum
  726. 1:
  727. AzTaskGetProperty (1)
  728. 'Name1'
  729. AzTaskGetProperty (2)
  730. ''
  731. AzCloseHandle
  732. 2:
  733. AzTaskGetProperty (1)
  734. 'Name2'
  735. AzTaskGetProperty (2)
  736. ''
  737. AzCloseHandle
  738. AzCloseHandle
  739. Application->Task - 'Delete an object and make sure it doesn't get enumerated'
  740. AzTaskCreate 'Name3'
  741. AzTaskDelete 'Name3'
  742. AzCloseHandle
  743. AzTaskEnum
  744. 1:
  745. AzTaskGetProperty (1)
  746. 'Name1'
  747. AzTaskGetProperty (2)
  748. ''
  749. AzCloseHandle
  750. 2:
  751. AzTaskGetProperty (1)
  752. 'Name2'
  753. AzTaskGetProperty (2)
  754. ''
  755. AzCloseHandle
  756. Application->Task - 'Create an object whose name equals that of a deleted object'
  757. AzTaskCreate 'Name3'
  758. AzCloseHandle
  759. AzTaskEnum
  760. 1:
  761. AzTaskGetProperty (1)
  762. 'Name1'
  763. AzTaskGetProperty (2)
  764. ''
  765. AzCloseHandle
  766. 2:
  767. AzTaskGetProperty (1)
  768. 'Name2'
  769. AzTaskGetProperty (2)
  770. ''
  771. AzCloseHandle
  772. 4:
  773. AzTaskGetProperty (1)
  774. 'Name3'
  775. AzTaskGetProperty (2)
  776. ''
  777. AzCloseHandle
  778. Application->Task - 'Delete an object that isn't on the tail end of the enum list'
  779. AzTaskDelete 'Name2'
  780. AzTaskEnum
  781. 1:
  782. AzTaskGetProperty (1)
  783. 'Name1'
  784. AzTaskGetProperty (2)
  785. ''
  786. AzCloseHandle
  787. 4:
  788. AzTaskGetProperty (1)
  789. 'Name3'
  790. AzTaskGetProperty (2)
  791. ''
  792. AzCloseHandle
  793. Application->Task - 'Basic get/set property tests'
  794. AzTaskCreate 'Name4'
  795. AzTaskGetProperty (1)
  796. 'Name4'
  797. AzTaskGetProperty (2)
  798. ''
  799. AzTaskSetProperty 'WasName4' (1)
  800. AzTaskSetProperty 'Nam4 Desc' (2)
  801. AzTaskGetProperty (1)
  802. 'WasName4'
  803. AzTaskGetProperty (2)
  804. 'Nam4 Desc'
  805. AzTaskEnum
  806. 1:
  807. AzTaskGetProperty (1)
  808. 'Name1'
  809. AzTaskGetProperty (2)
  810. ''
  811. AzCloseHandle
  812. 4:
  813. AzTaskGetProperty (1)
  814. 'Name3'
  815. AzTaskGetProperty (2)
  816. ''
  817. AzCloseHandle
  818. 5:
  819. AzTaskGetProperty (1)
  820. 'WasName4'
  821. AzTaskGetProperty (2)
  822. 'Nam4 Desc'
  823. AzCloseHandle
  824. AzCloseHandle
  825. Application->Task - 'Open test'
  826. AzTaskOpen 'Name1'
  827. AzTaskGetProperty (1)
  828. 'Name1'
  829. AzCloseHandle
  830. AzTaskOpen 'NameBad' (ERROR_NOT_FOUND)
  831. AzCloseHandle
  832. AzCloseHandle
  833. Application->Task - 'Test closing the same handle twice'
  834. AzInitialize '.\TestFile' (1)
  835. AzApplicationCreate 'MyApp'
  836. DupHandle
  837. AzCloseHandle (ERROR_SERVER_HAS_OPEN_HANDLES)
  838. AzCloseHandle
  839. AzCloseHandle
  840. Application->Task - 'Test creating two objects with the same name'
  841. AzInitialize '.\TestFile' (1)
  842. AzApplicationCreate 'MyApp'
  843. AzApplicationCreate 'MyApp' (ERROR_ALREADY_EXISTS)
  844. AzTaskCreate 'Name1'
  845. AzTaskCreate 'Name1' (ERROR_ALREADY_EXISTS)
  846. AzCloseHandle
  847. AzCloseHandle
  848. AzCloseHandle
  849. Application->Task - 'Task object specific tests'
  850. AzInitialize '.\TestFile' (1)
  851. AzApplicationCreate 'MyApp'
  852. AzTaskCreate 'Task 1'
  853. AzTaskGetProperty (301)
  854. ''
  855. AzTaskSetProperty 'Rule1' (301)
  856. AzTaskGetProperty (301)
  857. 'Rule1'
  858. Application->Task - 'Try an invalid language'
  859. AzTaskGetProperty (302)
  860. ''
  861. [INVPARM] AzTaskSetProperty: invalid language LANG1
  862. AzTaskSetProperty 'LANG1' (302) (ERROR_INVALID_PARAMETER)
  863. AzTaskGetProperty (302)
  864. ''
  865. Application->Task - 'Try the valid languages'
  866. AzTaskSetProperty 'VBScript' (302)
  867. AzTaskGetProperty (302)
  868. 'VBScript'
  869. AzTaskSetProperty 'Jscript' (302)
  870. AzTaskGetProperty (302)
  871. 'Jscript'
  872. Application->Task->Operation - Test linking 'Operation' objects to the object named 'Task 1' using propid '300'.
  873. Application->Task->Operation - 'Create some objects to link the object to'
  874. AzOperationCreate 'Object 1'
  875. AzCloseHandle
  876. AzOperationCreate 'Object 2'
  877. AzCloseHandle
  878. AzOperationCreate 'Object 3'
  879. AzCloseHandle
  880. Application->Task->Operation - 'Reference an object that doesn't exist'
  881. AzTaskGetProperty (300)
  882. [INVPARM] AzTaskSetProperty: invalid prop id 300
  883. AzTaskSetProperty (300) (ERROR_INVALID_PARAMETER)
  884. AzTaskAddProperty 'random' (300) (ERROR_NOT_FOUND)
  885. Application->Task->Operation - 'Add and remove several objects'
  886. AzTaskAddProperty 'Object 2' (300)
  887. AzTaskGetProperty (300)
  888. 'Object 2'
  889. AzTaskAddProperty 'Object 3' (300)
  890. AzTaskGetProperty (300)
  891. 'Object 2'
  892. 'Object 3'
  893. AzTaskAddProperty 'Object 1' (300)
  894. AzTaskGetProperty (300)
  895. 'Object 1'
  896. 'Object 2'
  897. 'Object 3'
  898. AzTaskRemProperty 'Object 1' (300)
  899. AzTaskGetProperty (300)
  900. 'Object 2'
  901. 'Object 3'
  902. AzTaskRemProperty 'Object 2' (300)
  903. AzTaskGetProperty (300)
  904. 'Object 3'
  905. Application->Task->Operation - 'Add an item that already exists'
  906. AzTaskAddProperty 'Object 3' (300) (ERROR_ALREADY_EXISTS)
  907. AzTaskGetProperty (300)
  908. 'Object 3'
  909. AzTaskRemProperty 'Object 3' (300)
  910. AzTaskGetProperty (300)
  911. Application->Task->Operation - 'Try more than 4 since reference buckets come in multiples of 4'
  912. AzOperationCreate 'Object 4'
  913. AzCloseHandle
  914. AzOperationCreate 'Object 5'
  915. AzCloseHandle
  916. AzOperationCreate 'Object 6'
  917. AzCloseHandle
  918. AzTaskAddProperty 'Object 1' (300)
  919. AzTaskAddProperty 'Object 4' (300)
  920. AzTaskAddProperty 'Object 2' (300)
  921. AzTaskAddProperty 'Object 5' (300)
  922. AzTaskAddProperty 'Object 3' (300)
  923. AzTaskAddProperty 'Object 6' (300)
  924. AzTaskGetProperty (300)
  925. 'Object 1'
  926. 'Object 2'
  927. 'Object 3'
  928. 'Object 4'
  929. 'Object 5'
  930. 'Object 6'
  931. AzOperationDelete 'Object 1' (300)
  932. AzOperationDelete 'Object 4' (300)
  933. AzOperationDelete 'Object 2' (300)
  934. AzOperationDelete 'Object 5' (300)
  935. AzOperationDelete 'Object 3' (300)
  936. AzOperationDelete 'Object 6' (300)
  937. AzCloseHandle
  938. AzCloseHandle
  939. AzCloseHandle
  940. Application->Scope - Perform tests of 'Scope' objects that are children of 'Application' objects
  941. Application->Scope - 'Application generic Child object test'
  942. AzInitialize '.\TestFile' (1)
  943. AzApplicationCreate 'MyApp'
  944. DupHandle
  945. GoSub
  946. Application->Scope - 'Gen object test'
  947. AzScopeCreate 'Name1'
  948. AzCloseHandle
  949. AzScopeEnum (ERROR_INVALID_HANDLE)
  950. AzScopeEnum
  951. 1:
  952. DupHandle
  953. AzCloseHandle
  954. AzCloseHandle (ERROR_INVALID_HANDLE)
  955. AzCloseHandle (ERROR_INVALID_HANDLE)
  956. AzScopeEnum
  957. 1:
  958. AzScopeGetProperty (1)
  959. 'Name1'
  960. AzScopeGetProperty (2)
  961. ''
  962. AzCloseHandle
  963. AzScopeCreate 'Name2'
  964. AzScopeEnum
  965. 1:
  966. AzScopeGetProperty (1)
  967. 'Name1'
  968. AzScopeGetProperty (2)
  969. ''
  970. AzCloseHandle
  971. 2:
  972. AzScopeGetProperty (1)
  973. 'Name2'
  974. AzScopeGetProperty (2)
  975. ''
  976. AzCloseHandle
  977. AzCloseHandle
  978. Application->Scope - 'Delete an object and make sure it doesn't get enumerated'
  979. AzScopeCreate 'Name3'
  980. AzScopeDelete 'Name3'
  981. AzCloseHandle
  982. AzScopeEnum
  983. 1:
  984. AzScopeGetProperty (1)
  985. 'Name1'
  986. AzScopeGetProperty (2)
  987. ''
  988. AzCloseHandle
  989. 2:
  990. AzScopeGetProperty (1)
  991. 'Name2'
  992. AzScopeGetProperty (2)
  993. ''
  994. AzCloseHandle
  995. Application->Scope - 'Create an object whose name equals that of a deleted object'
  996. AzScopeCreate 'Name3'
  997. AzCloseHandle
  998. AzScopeEnum
  999. 1:
  1000. AzScopeGetProperty (1)
  1001. 'Name1'
  1002. AzScopeGetProperty (2)
  1003. ''
  1004. AzCloseHandle
  1005. 2:
  1006. AzScopeGetProperty (1)
  1007. 'Name2'
  1008. AzScopeGetProperty (2)
  1009. ''
  1010. AzCloseHandle
  1011. 4:
  1012. AzScopeGetProperty (1)
  1013. 'Name3'
  1014. AzScopeGetProperty (2)
  1015. ''
  1016. AzCloseHandle
  1017. Application->Scope - 'Delete an object that isn't on the tail end of the enum list'
  1018. AzScopeDelete 'Name2'
  1019. AzScopeEnum
  1020. 1:
  1021. AzScopeGetProperty (1)
  1022. 'Name1'
  1023. AzScopeGetProperty (2)
  1024. ''
  1025. AzCloseHandle
  1026. 4:
  1027. AzScopeGetProperty (1)
  1028. 'Name3'
  1029. AzScopeGetProperty (2)
  1030. ''
  1031. AzCloseHandle
  1032. Application->Scope - 'Basic get/set property tests'
  1033. AzScopeCreate 'Name4'
  1034. AzScopeGetProperty (1)
  1035. 'Name4'
  1036. AzScopeGetProperty (2)
  1037. ''
  1038. AzScopeSetProperty 'WasName4' (1)
  1039. AzScopeSetProperty 'Nam4 Desc' (2)
  1040. AzScopeGetProperty (1)
  1041. 'WasName4'
  1042. AzScopeGetProperty (2)
  1043. 'Nam4 Desc'
  1044. AzScopeEnum
  1045. 1:
  1046. AzScopeGetProperty (1)
  1047. 'Name1'
  1048. AzScopeGetProperty (2)
  1049. ''
  1050. AzCloseHandle
  1051. 4:
  1052. AzScopeGetProperty (1)
  1053. 'Name3'
  1054. AzScopeGetProperty (2)
  1055. ''
  1056. AzCloseHandle
  1057. 5:
  1058. AzScopeGetProperty (1)
  1059. 'WasName4'
  1060. AzScopeGetProperty (2)
  1061. 'Nam4 Desc'
  1062. AzCloseHandle
  1063. AzCloseHandle
  1064. Application->Scope - 'Open test'
  1065. AzScopeOpen 'Name1'
  1066. AzScopeGetProperty (1)
  1067. 'Name1'
  1068. AzCloseHandle
  1069. AzScopeOpen 'NameBad' (ERROR_NOT_FOUND)
  1070. AzCloseHandle
  1071. AzCloseHandle
  1072. Application->Scope - 'Test closing the same handle twice'
  1073. AzInitialize '.\TestFile' (1)
  1074. AzApplicationCreate 'MyApp'
  1075. DupHandle
  1076. AzCloseHandle (ERROR_SERVER_HAS_OPEN_HANDLES)
  1077. AzCloseHandle
  1078. AzCloseHandle
  1079. Application->Scope - 'Test creating two objects with the same name'
  1080. AzInitialize '.\TestFile' (1)
  1081. AzApplicationCreate 'MyApp'
  1082. AzApplicationCreate 'MyApp' (ERROR_ALREADY_EXISTS)
  1083. AzScopeCreate 'Name1'
  1084. AzScopeCreate 'Name1' (ERROR_ALREADY_EXISTS)
  1085. AzCloseHandle
  1086. AzCloseHandle
  1087. AzCloseHandle
  1088. Application->Group - Perform tests of 'Group' objects that are children of 'Application' objects
  1089. Application->Group - 'Application generic Child object test'
  1090. AzInitialize '.\TestFile' (1)
  1091. AzApplicationCreate 'MyApp'
  1092. DupHandle
  1093. GoSub
  1094. Application->Group - 'Gen object test'
  1095. AzGroupCreate 'Name1'
  1096. AzCloseHandle
  1097. AzGroupEnum (ERROR_INVALID_HANDLE)
  1098. AzGroupEnum
  1099. 1:
  1100. DupHandle
  1101. AzCloseHandle
  1102. AzCloseHandle (ERROR_INVALID_HANDLE)
  1103. AzCloseHandle (ERROR_INVALID_HANDLE)
  1104. AzGroupEnum
  1105. 1:
  1106. AzGroupGetProperty (1)
  1107. 'Name1'
  1108. AzGroupGetProperty (2)
  1109. ''
  1110. AzCloseHandle
  1111. AzGroupCreate 'Name2'
  1112. AzGroupEnum
  1113. 1:
  1114. AzGroupGetProperty (1)
  1115. 'Name1'
  1116. AzGroupGetProperty (2)
  1117. ''
  1118. AzCloseHandle
  1119. 2:
  1120. AzGroupGetProperty (1)
  1121. 'Name2'
  1122. AzGroupGetProperty (2)
  1123. ''
  1124. AzCloseHandle
  1125. AzCloseHandle
  1126. Application->Group - 'Delete an object and make sure it doesn't get enumerated'
  1127. AzGroupCreate 'Name3'
  1128. AzGroupDelete 'Name3'
  1129. AzCloseHandle
  1130. AzGroupEnum
  1131. 1:
  1132. AzGroupGetProperty (1)
  1133. 'Name1'
  1134. AzGroupGetProperty (2)
  1135. ''
  1136. AzCloseHandle
  1137. 2:
  1138. AzGroupGetProperty (1)
  1139. 'Name2'
  1140. AzGroupGetProperty (2)
  1141. ''
  1142. AzCloseHandle
  1143. Application->Group - 'Create an object whose name equals that of a deleted object'
  1144. AzGroupCreate 'Name3'
  1145. AzCloseHandle
  1146. AzGroupEnum
  1147. 1:
  1148. AzGroupGetProperty (1)
  1149. 'Name1'
  1150. AzGroupGetProperty (2)
  1151. ''
  1152. AzCloseHandle
  1153. 2:
  1154. AzGroupGetProperty (1)
  1155. 'Name2'
  1156. AzGroupGetProperty (2)
  1157. ''
  1158. AzCloseHandle
  1159. 4:
  1160. AzGroupGetProperty (1)
  1161. 'Name3'
  1162. AzGroupGetProperty (2)
  1163. ''
  1164. AzCloseHandle
  1165. Application->Group - 'Delete an object that isn't on the tail end of the enum list'
  1166. AzGroupDelete 'Name2'
  1167. AzGroupEnum
  1168. 1:
  1169. AzGroupGetProperty (1)
  1170. 'Name1'
  1171. AzGroupGetProperty (2)
  1172. ''
  1173. AzCloseHandle
  1174. 4:
  1175. AzGroupGetProperty (1)
  1176. 'Name3'
  1177. AzGroupGetProperty (2)
  1178. ''
  1179. AzCloseHandle
  1180. Application->Group - 'Basic get/set property tests'
  1181. AzGroupCreate 'Name4'
  1182. AzGroupGetProperty (1)
  1183. 'Name4'
  1184. AzGroupGetProperty (2)
  1185. ''
  1186. AzGroupSetProperty 'WasName4' (1)
  1187. AzGroupSetProperty 'Nam4 Desc' (2)
  1188. AzGroupGetProperty (1)
  1189. 'WasName4'
  1190. AzGroupGetProperty (2)
  1191. 'Nam4 Desc'
  1192. AzGroupEnum
  1193. 1:
  1194. AzGroupGetProperty (1)
  1195. 'Name1'
  1196. AzGroupGetProperty (2)
  1197. ''
  1198. AzCloseHandle
  1199. 4:
  1200. AzGroupGetProperty (1)
  1201. 'Name3'
  1202. AzGroupGetProperty (2)
  1203. ''
  1204. AzCloseHandle
  1205. 5:
  1206. AzGroupGetProperty (1)
  1207. 'WasName4'
  1208. AzGroupGetProperty (2)
  1209. 'Nam4 Desc'
  1210. AzCloseHandle
  1211. AzCloseHandle
  1212. Application->Group - 'Open test'
  1213. AzGroupOpen 'Name1'
  1214. AzGroupGetProperty (1)
  1215. 'Name1'
  1216. AzCloseHandle
  1217. AzGroupOpen 'NameBad' (ERROR_NOT_FOUND)
  1218. AzCloseHandle
  1219. AzCloseHandle
  1220. Application->Group - 'Test closing the same handle twice'
  1221. AzInitialize '.\TestFile' (1)
  1222. AzApplicationCreate 'MyApp'
  1223. DupHandle
  1224. AzCloseHandle (ERROR_SERVER_HAS_OPEN_HANDLES)
  1225. AzCloseHandle
  1226. AzCloseHandle
  1227. Application->Group - 'Test creating two objects with the same name'
  1228. AzInitialize '.\TestFile' (1)
  1229. AzApplicationCreate 'MyApp'
  1230. AzApplicationCreate 'MyApp' (ERROR_ALREADY_EXISTS)
  1231. AzGroupCreate 'Name1'
  1232. AzGroupCreate 'Name1' (ERROR_ALREADY_EXISTS)
  1233. AzCloseHandle
  1234. AzCloseHandle
  1235. AzCloseHandle
  1236. Application->Group - 'Group objects that are children of an application'
  1237. AzInitialize '.\TestFile' (1)
  1238. AzApplicationCreate 'MyApp'
  1239. DupHandle
  1240. GoSub
  1241. Application->Group - 'Group object specific tests'
  1242. AzGroupCreate 'Group A'
  1243. Application->Group - 'Create some groups to link the group to'
  1244. AzGroupCreate 'Group 1'
  1245. AzCloseHandle
  1246. AzGroupCreate 'Group 2'
  1247. AzCloseHandle
  1248. AzGroupCreate 'Group 3'
  1249. AzCloseHandle
  1250. Application->Group - 'Add membership to a group with no grouptype'
  1251. [INVPARM] AzpGroupAddPropertyItem: invalid group type 0
  1252. AzGroupAddProperty 'Group 1' (401) (ERROR_INVALID_PARAMETER)
  1253. [INVPARM] AzpGroupAddPropertyItem: invalid group type 0
  1254. AzGroupAddProperty '' (404) (ERROR_INVALID_PARAMETER)
  1255. [INVPARM] AzpGroupGetProperty: invalid grouptype 8
  1256. AzGroupSetProperty '8' (400) (ERROR_INVALID_PARAMETER)
  1257. AzGroupSetProperty '2' (400)
  1258. Application->Group - 'Reference ourself'
  1259. AzGroupGetProperty (401)
  1260. AzGroupGetProperty (404)
  1261. [INVPARM] Reference to self
  1262. AzGroupAddProperty 'Group A' (401) (ERROR_DS_LOOP_DETECT)
  1263. Application->Group->Group - Test linking 'Group' objects to the object named 'Group A' using propid '401'.
  1264. Application->Group->Group - 'Create some objects to link the object to'
  1265. AzGroupCreate 'Object 1'
  1266. AzCloseHandle
  1267. AzGroupCreate 'Object 2'
  1268. AzCloseHandle
  1269. AzGroupCreate 'Object 3'
  1270. AzCloseHandle
  1271. Application->Group->Group - 'Reference an object that doesn't exist'
  1272. AzGroupGetProperty (401)
  1273. [INVPARM] AzpGroupSetProperty: invalid propid 401
  1274. AzGroupSetProperty (401) (ERROR_INVALID_PARAMETER)
  1275. AzGroupAddProperty 'random' (401) (ERROR_NOT_FOUND)
  1276. Application->Group->Group - 'Add and remove several objects'
  1277. AzGroupAddProperty 'Object 2' (401)
  1278. AzGroupGetProperty (401)
  1279. 'Object 2'
  1280. AzGroupAddProperty 'Object 3' (401)
  1281. AzGroupGetProperty (401)
  1282. 'Object 2'
  1283. 'Object 3'
  1284. AzGroupAddProperty 'Object 1' (401)
  1285. AzGroupGetProperty (401)
  1286. 'Object 1'
  1287. 'Object 2'
  1288. 'Object 3'
  1289. AzGroupRemProperty 'Object 1' (401)
  1290. AzGroupGetProperty (401)
  1291. 'Object 2'
  1292. 'Object 3'
  1293. AzGroupRemProperty 'Object 2' (401)
  1294. AzGroupGetProperty (401)
  1295. 'Object 3'
  1296. Application->Group->Group - 'Add an item that already exists'
  1297. AzGroupAddProperty 'Object 3' (401) (ERROR_ALREADY_EXISTS)
  1298. AzGroupGetProperty (401)
  1299. 'Object 3'
  1300. AzGroupRemProperty 'Object 3' (401)
  1301. AzGroupGetProperty (401)
  1302. Application->Group->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  1303. AzGroupCreate 'Object 4'
  1304. AzCloseHandle
  1305. AzGroupCreate 'Object 5'
  1306. AzCloseHandle
  1307. AzGroupCreate 'Object 6'
  1308. AzCloseHandle
  1309. AzGroupAddProperty 'Object 1' (401)
  1310. AzGroupAddProperty 'Object 4' (401)
  1311. AzGroupAddProperty 'Object 2' (401)
  1312. AzGroupAddProperty 'Object 5' (401)
  1313. AzGroupAddProperty 'Object 3' (401)
  1314. AzGroupAddProperty 'Object 6' (401)
  1315. AzGroupGetProperty (401)
  1316. 'Object 1'
  1317. 'Object 2'
  1318. 'Object 3'
  1319. 'Object 4'
  1320. 'Object 5'
  1321. 'Object 6'
  1322. AzGroupDelete 'Object 1' (401)
  1323. AzGroupDelete 'Object 4' (401)
  1324. AzGroupDelete 'Object 2' (401)
  1325. AzGroupDelete 'Object 5' (401)
  1326. AzGroupDelete 'Object 3' (401)
  1327. AzGroupDelete 'Object 6' (401)
  1328. Application->Group->Sid - Test linking 'Sid' objects to the object named 'Group A' using propid '404'.
  1329. Application->Group->Sid - 'Add and remove several links to sids'
  1330. AzGroupAddProperty '' (404)
  1331. AzGroupGetProperty (404)
  1332. 'S-1-1000-2'
  1333. AzGroupAddProperty '' (404)
  1334. AzGroupGetProperty (404)
  1335. 'S-1-1000-2'
  1336. 'S-1-1000-3'
  1337. AzGroupAddProperty '' (404)
  1338. AzGroupGetProperty (404)
  1339. 'S-1-1000-1'
  1340. 'S-1-1000-2'
  1341. 'S-1-1000-3'
  1342. AzGroupRemProperty '' (404)
  1343. AzGroupGetProperty (404)
  1344. 'S-1-1000-2'
  1345. 'S-1-1000-3'
  1346. AzGroupRemProperty '' (404)
  1347. AzGroupGetProperty (404)
  1348. 'S-1-1000-3'
  1349. Application->Group->Sid - 'Add a link that already exists'
  1350. AzGroupAddProperty '' (404) (ERROR_ALREADY_EXISTS)
  1351. AzGroupGetProperty (404)
  1352. 'S-1-1000-3'
  1353. AzGroupRemProperty '' (404)
  1354. AzGroupGetProperty (404)
  1355. Application->Group->Sid - 'Try more than 4 since reference buckets come in multiples of 4'
  1356. AzGroupAddProperty '' (404)
  1357. AzGroupAddProperty '' (404)
  1358. AzGroupAddProperty '' (404)
  1359. AzGroupAddProperty '' (404)
  1360. AzGroupAddProperty '' (404)
  1361. AzGroupAddProperty '' (404)
  1362. AzGroupGetProperty (404)
  1363. 'S-1-1000-1'
  1364. 'S-1-1000-2'
  1365. 'S-1-1000-3'
  1366. 'S-1-1000-4'
  1367. 'S-1-1000-5'
  1368. 'S-1-1000-6'
  1369. Application->Group - 'Same as above, but for the non-members attribute'
  1370. AzGroupGetProperty (402)
  1371. AzGroupGetProperty (405)
  1372. [INVPARM] Reference to self
  1373. AzGroupAddProperty 'Group A' (402) (ERROR_DS_LOOP_DETECT)
  1374. Application->Group->Group - Test linking 'Group' objects to the object named 'Group A' using propid '402'.
  1375. Application->Group->Group - 'Create some objects to link the object to'
  1376. AzGroupCreate 'Object 1'
  1377. AzCloseHandle
  1378. AzGroupCreate 'Object 2'
  1379. AzCloseHandle
  1380. AzGroupCreate 'Object 3'
  1381. AzCloseHandle
  1382. Application->Group->Group - 'Reference an object that doesn't exist'
  1383. AzGroupGetProperty (402)
  1384. [INVPARM] AzpGroupSetProperty: invalid propid 402
  1385. AzGroupSetProperty (402) (ERROR_INVALID_PARAMETER)
  1386. AzGroupAddProperty 'random' (402) (ERROR_NOT_FOUND)
  1387. Application->Group->Group - 'Add and remove several objects'
  1388. AzGroupAddProperty 'Object 2' (402)
  1389. AzGroupGetProperty (402)
  1390. 'Object 2'
  1391. AzGroupAddProperty 'Object 3' (402)
  1392. AzGroupGetProperty (402)
  1393. 'Object 2'
  1394. 'Object 3'
  1395. AzGroupAddProperty 'Object 1' (402)
  1396. AzGroupGetProperty (402)
  1397. 'Object 1'
  1398. 'Object 2'
  1399. 'Object 3'
  1400. AzGroupRemProperty 'Object 1' (402)
  1401. AzGroupGetProperty (402)
  1402. 'Object 2'
  1403. 'Object 3'
  1404. AzGroupRemProperty 'Object 2' (402)
  1405. AzGroupGetProperty (402)
  1406. 'Object 3'
  1407. Application->Group->Group - 'Add an item that already exists'
  1408. AzGroupAddProperty 'Object 3' (402) (ERROR_ALREADY_EXISTS)
  1409. AzGroupGetProperty (402)
  1410. 'Object 3'
  1411. AzGroupRemProperty 'Object 3' (402)
  1412. AzGroupGetProperty (402)
  1413. Application->Group->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  1414. AzGroupCreate 'Object 4'
  1415. AzCloseHandle
  1416. AzGroupCreate 'Object 5'
  1417. AzCloseHandle
  1418. AzGroupCreate 'Object 6'
  1419. AzCloseHandle
  1420. AzGroupAddProperty 'Object 1' (402)
  1421. AzGroupAddProperty 'Object 4' (402)
  1422. AzGroupAddProperty 'Object 2' (402)
  1423. AzGroupAddProperty 'Object 5' (402)
  1424. AzGroupAddProperty 'Object 3' (402)
  1425. AzGroupAddProperty 'Object 6' (402)
  1426. AzGroupGetProperty (402)
  1427. 'Object 1'
  1428. 'Object 2'
  1429. 'Object 3'
  1430. 'Object 4'
  1431. 'Object 5'
  1432. 'Object 6'
  1433. AzGroupDelete 'Object 1' (402)
  1434. AzGroupDelete 'Object 4' (402)
  1435. AzGroupDelete 'Object 2' (402)
  1436. AzGroupDelete 'Object 5' (402)
  1437. AzGroupDelete 'Object 3' (402)
  1438. AzGroupDelete 'Object 6' (402)
  1439. Application->Group->Sid - Test linking 'Sid' objects to the object named 'Group A' using propid '405'.
  1440. Application->Group->Sid - 'Add and remove several links to sids'
  1441. AzGroupAddProperty '' (405)
  1442. AzGroupGetProperty (405)
  1443. 'S-1-1000-2'
  1444. AzGroupAddProperty '' (405)
  1445. AzGroupGetProperty (405)
  1446. 'S-1-1000-2'
  1447. 'S-1-1000-3'
  1448. AzGroupAddProperty '' (405)
  1449. AzGroupGetProperty (405)
  1450. 'S-1-1000-1'
  1451. 'S-1-1000-2'
  1452. 'S-1-1000-3'
  1453. AzGroupRemProperty '' (405)
  1454. AzGroupGetProperty (405)
  1455. 'S-1-1000-2'
  1456. 'S-1-1000-3'
  1457. AzGroupRemProperty '' (405)
  1458. AzGroupGetProperty (405)
  1459. 'S-1-1000-3'
  1460. Application->Group->Sid - 'Add a link that already exists'
  1461. AzGroupAddProperty '' (405) (ERROR_ALREADY_EXISTS)
  1462. AzGroupGetProperty (405)
  1463. 'S-1-1000-3'
  1464. AzGroupRemProperty '' (405)
  1465. AzGroupGetProperty (405)
  1466. Application->Group->Sid - 'Try more than 4 since reference buckets come in multiples of 4'
  1467. AzGroupAddProperty '' (405)
  1468. AzGroupAddProperty '' (405)
  1469. AzGroupAddProperty '' (405)
  1470. AzGroupAddProperty '' (405)
  1471. AzGroupAddProperty '' (405)
  1472. AzGroupAddProperty '' (405)
  1473. AzGroupGetProperty (405)
  1474. 'S-1-1000-1'
  1475. 'S-1-1000-2'
  1476. 'S-1-1000-3'
  1477. 'S-1-1000-4'
  1478. 'S-1-1000-5'
  1479. 'S-1-1000-6'
  1480. Application->Group - 'Set LdapQuery string'
  1481. AzGroupGetProperty (403)
  1482. ''
  1483. [INVPARM] AzpGroupSetProperty: can't set ldap query before group type
  1484. AzGroupSetProperty 'TheQuery' (403) (ERROR_INVALID_PARAMETER)
  1485. AzGroupSetProperty '1' (400)
  1486. AzGroupSetProperty 'TheQuery' (403)
  1487. AzGroupGetProperty (403)
  1488. 'TheQuery'
  1489. AzGroupSetProperty '2' (400)
  1490. [INVPARM] AzpGroupSetProperty: can't set ldap query before group type
  1491. AzGroupSetProperty 'TheQuery' (403) (ERROR_INVALID_PARAMETER)
  1492. AzGroupSetProperty '' (403)
  1493. Application->Group - 'Test loops'
  1494. AzGroupCreate 'Group B'
  1495. AzGroupSetProperty '2' (400)
  1496. AzGroupAddProperty 'Group B' (401)
  1497. AzGroupAddProperty 'Group A' (401) (ERROR_DS_LOOP_DETECT)
  1498. AzGroupAddProperty 'Group B' (402)
  1499. AzGroupAddProperty 'Group A' (402) (ERROR_DS_LOOP_DETECT)
  1500. AzGroupRemProperty 'Group B' (402)
  1501. AzGroupRemProperty 'Group B' (401)
  1502. AzCloseHandle
  1503. AzCloseHandle
  1504. Application->Group - 'Test linking to groups that are children of the same admin manager as this group.'
  1505. AzGroupOpen 'Group A'
  1506. Application->Group->Group - Test linking 'Group' objects to the object named 'Group A' using propid '401'.
  1507. Application->Group->Group - 'Create some objects to link the object to'
  1508. AzGroupCreate 'Object 1'
  1509. AzCloseHandle
  1510. AzGroupCreate 'Object 2'
  1511. AzCloseHandle
  1512. AzGroupCreate 'Object 3'
  1513. AzCloseHandle
  1514. Application->Group->Group - 'Reference an object that doesn't exist'
  1515. AzGroupGetProperty (401)
  1516. [INVPARM] AzpGroupSetProperty: invalid propid 401
  1517. AzGroupSetProperty (401) (ERROR_INVALID_PARAMETER)
  1518. AzGroupAddProperty 'random' (401) (ERROR_NOT_FOUND)
  1519. Application->Group->Group - 'Add and remove several objects'
  1520. AzGroupAddProperty 'Object 2' (401)
  1521. AzGroupGetProperty (401)
  1522. 'Object 2'
  1523. AzGroupAddProperty 'Object 3' (401)
  1524. AzGroupGetProperty (401)
  1525. 'Object 2'
  1526. 'Object 3'
  1527. AzGroupAddProperty 'Object 1' (401)
  1528. AzGroupGetProperty (401)
  1529. 'Object 1'
  1530. 'Object 2'
  1531. 'Object 3'
  1532. AzGroupRemProperty 'Object 1' (401)
  1533. AzGroupGetProperty (401)
  1534. 'Object 2'
  1535. 'Object 3'
  1536. AzGroupRemProperty 'Object 2' (401)
  1537. AzGroupGetProperty (401)
  1538. 'Object 3'
  1539. Application->Group->Group - 'Add an item that already exists'
  1540. AzGroupAddProperty 'Object 3' (401) (ERROR_ALREADY_EXISTS)
  1541. AzGroupGetProperty (401)
  1542. 'Object 3'
  1543. AzGroupRemProperty 'Object 3' (401)
  1544. AzGroupGetProperty (401)
  1545. Application->Group->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  1546. AzGroupCreate 'Object 4'
  1547. AzCloseHandle
  1548. AzGroupCreate 'Object 5'
  1549. AzCloseHandle
  1550. AzGroupCreate 'Object 6'
  1551. AzCloseHandle
  1552. AzGroupAddProperty 'Object 1' (401)
  1553. AzGroupAddProperty 'Object 4' (401)
  1554. AzGroupAddProperty 'Object 2' (401)
  1555. AzGroupAddProperty 'Object 5' (401)
  1556. AzGroupAddProperty 'Object 3' (401)
  1557. AzGroupAddProperty 'Object 6' (401)
  1558. AzGroupGetProperty (401)
  1559. 'Object 1'
  1560. 'Object 2'
  1561. 'Object 3'
  1562. 'Object 4'
  1563. 'Object 5'
  1564. 'Object 6'
  1565. AzGroupDelete 'Object 1' (401)
  1566. AzGroupDelete 'Object 4' (401)
  1567. AzGroupDelete 'Object 2' (401)
  1568. AzGroupDelete 'Object 5' (401)
  1569. AzGroupDelete 'Object 3' (401)
  1570. AzGroupDelete 'Object 6' (401)
  1571. Application->Group->Group - Test linking 'Group' objects to the object named 'Group A' using propid '402'.
  1572. Application->Group->Group - 'Create some objects to link the object to'
  1573. AzGroupCreate 'Object 1'
  1574. AzCloseHandle
  1575. AzGroupCreate 'Object 2'
  1576. AzCloseHandle
  1577. AzGroupCreate 'Object 3'
  1578. AzCloseHandle
  1579. Application->Group->Group - 'Reference an object that doesn't exist'
  1580. AzGroupGetProperty (402)
  1581. [INVPARM] AzpGroupSetProperty: invalid propid 402
  1582. AzGroupSetProperty (402) (ERROR_INVALID_PARAMETER)
  1583. AzGroupAddProperty 'random' (402) (ERROR_NOT_FOUND)
  1584. Application->Group->Group - 'Add and remove several objects'
  1585. AzGroupAddProperty 'Object 2' (402)
  1586. AzGroupGetProperty (402)
  1587. 'Object 2'
  1588. AzGroupAddProperty 'Object 3' (402)
  1589. AzGroupGetProperty (402)
  1590. 'Object 2'
  1591. 'Object 3'
  1592. AzGroupAddProperty 'Object 1' (402)
  1593. AzGroupGetProperty (402)
  1594. 'Object 1'
  1595. 'Object 2'
  1596. 'Object 3'
  1597. AzGroupRemProperty 'Object 1' (402)
  1598. AzGroupGetProperty (402)
  1599. 'Object 2'
  1600. 'Object 3'
  1601. AzGroupRemProperty 'Object 2' (402)
  1602. AzGroupGetProperty (402)
  1603. 'Object 3'
  1604. Application->Group->Group - 'Add an item that already exists'
  1605. AzGroupAddProperty 'Object 3' (402) (ERROR_ALREADY_EXISTS)
  1606. AzGroupGetProperty (402)
  1607. 'Object 3'
  1608. AzGroupRemProperty 'Object 3' (402)
  1609. AzGroupGetProperty (402)
  1610. Application->Group->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  1611. AzGroupCreate 'Object 4'
  1612. AzCloseHandle
  1613. AzGroupCreate 'Object 5'
  1614. AzCloseHandle
  1615. AzGroupCreate 'Object 6'
  1616. AzCloseHandle
  1617. AzGroupAddProperty 'Object 1' (402)
  1618. AzGroupAddProperty 'Object 4' (402)
  1619. AzGroupAddProperty 'Object 2' (402)
  1620. AzGroupAddProperty 'Object 5' (402)
  1621. AzGroupAddProperty 'Object 3' (402)
  1622. AzGroupAddProperty 'Object 6' (402)
  1623. AzGroupGetProperty (402)
  1624. 'Object 1'
  1625. 'Object 2'
  1626. 'Object 3'
  1627. 'Object 4'
  1628. 'Object 5'
  1629. 'Object 6'
  1630. AzGroupDelete 'Object 1' (402)
  1631. AzGroupDelete 'Object 4' (402)
  1632. AzGroupDelete 'Object 2' (402)
  1633. AzGroupDelete 'Object 5' (402)
  1634. AzGroupDelete 'Object 3' (402)
  1635. AzGroupDelete 'Object 6' (402)
  1636. AzCloseHandle
  1637. AzCloseHandle
  1638. AzCloseHandle
  1639. Application->Role - Perform tests of 'Role' objects that are children of 'Application' objects
  1640. Application->Role - 'Application generic Child object test'
  1641. AzInitialize '.\TestFile' (1)
  1642. AzApplicationCreate 'MyApp'
  1643. DupHandle
  1644. GoSub
  1645. Application->Role - 'Gen object test'
  1646. AzRoleCreate 'Name1'
  1647. AzCloseHandle
  1648. AzRoleEnum (ERROR_INVALID_HANDLE)
  1649. AzRoleEnum
  1650. 1:
  1651. DupHandle
  1652. AzCloseHandle
  1653. AzCloseHandle (ERROR_INVALID_HANDLE)
  1654. AzCloseHandle (ERROR_INVALID_HANDLE)
  1655. AzRoleEnum
  1656. 1:
  1657. AzRoleGetProperty (1)
  1658. 'Name1'
  1659. AzRoleGetProperty (2)
  1660. ''
  1661. AzCloseHandle
  1662. AzRoleCreate 'Name2'
  1663. AzRoleEnum
  1664. 1:
  1665. AzRoleGetProperty (1)
  1666. 'Name1'
  1667. AzRoleGetProperty (2)
  1668. ''
  1669. AzCloseHandle
  1670. 2:
  1671. AzRoleGetProperty (1)
  1672. 'Name2'
  1673. AzRoleGetProperty (2)
  1674. ''
  1675. AzCloseHandle
  1676. AzCloseHandle
  1677. Application->Role - 'Delete an object and make sure it doesn't get enumerated'
  1678. AzRoleCreate 'Name3'
  1679. AzRoleDelete 'Name3'
  1680. AzCloseHandle
  1681. AzRoleEnum
  1682. 1:
  1683. AzRoleGetProperty (1)
  1684. 'Name1'
  1685. AzRoleGetProperty (2)
  1686. ''
  1687. AzCloseHandle
  1688. 2:
  1689. AzRoleGetProperty (1)
  1690. 'Name2'
  1691. AzRoleGetProperty (2)
  1692. ''
  1693. AzCloseHandle
  1694. Application->Role - 'Create an object whose name equals that of a deleted object'
  1695. AzRoleCreate 'Name3'
  1696. AzCloseHandle
  1697. AzRoleEnum
  1698. 1:
  1699. AzRoleGetProperty (1)
  1700. 'Name1'
  1701. AzRoleGetProperty (2)
  1702. ''
  1703. AzCloseHandle
  1704. 2:
  1705. AzRoleGetProperty (1)
  1706. 'Name2'
  1707. AzRoleGetProperty (2)
  1708. ''
  1709. AzCloseHandle
  1710. 4:
  1711. AzRoleGetProperty (1)
  1712. 'Name3'
  1713. AzRoleGetProperty (2)
  1714. ''
  1715. AzCloseHandle
  1716. Application->Role - 'Delete an object that isn't on the tail end of the enum list'
  1717. AzRoleDelete 'Name2'
  1718. AzRoleEnum
  1719. 1:
  1720. AzRoleGetProperty (1)
  1721. 'Name1'
  1722. AzRoleGetProperty (2)
  1723. ''
  1724. AzCloseHandle
  1725. 4:
  1726. AzRoleGetProperty (1)
  1727. 'Name3'
  1728. AzRoleGetProperty (2)
  1729. ''
  1730. AzCloseHandle
  1731. Application->Role - 'Basic get/set property tests'
  1732. AzRoleCreate 'Name4'
  1733. AzRoleGetProperty (1)
  1734. 'Name4'
  1735. AzRoleGetProperty (2)
  1736. ''
  1737. AzRoleSetProperty 'WasName4' (1)
  1738. AzRoleSetProperty 'Nam4 Desc' (2)
  1739. AzRoleGetProperty (1)
  1740. 'WasName4'
  1741. AzRoleGetProperty (2)
  1742. 'Nam4 Desc'
  1743. AzRoleEnum
  1744. 1:
  1745. AzRoleGetProperty (1)
  1746. 'Name1'
  1747. AzRoleGetProperty (2)
  1748. ''
  1749. AzCloseHandle
  1750. 4:
  1751. AzRoleGetProperty (1)
  1752. 'Name3'
  1753. AzRoleGetProperty (2)
  1754. ''
  1755. AzCloseHandle
  1756. 5:
  1757. AzRoleGetProperty (1)
  1758. 'WasName4'
  1759. AzRoleGetProperty (2)
  1760. 'Nam4 Desc'
  1761. AzCloseHandle
  1762. AzCloseHandle
  1763. Application->Role - 'Open test'
  1764. AzRoleOpen 'Name1'
  1765. AzRoleGetProperty (1)
  1766. 'Name1'
  1767. AzCloseHandle
  1768. AzRoleOpen 'NameBad' (ERROR_NOT_FOUND)
  1769. AzCloseHandle
  1770. AzCloseHandle
  1771. Application->Role - 'Test closing the same handle twice'
  1772. AzInitialize '.\TestFile' (1)
  1773. AzApplicationCreate 'MyApp'
  1774. DupHandle
  1775. AzCloseHandle (ERROR_SERVER_HAS_OPEN_HANDLES)
  1776. AzCloseHandle
  1777. AzCloseHandle
  1778. Application->Role - 'Test creating two objects with the same name'
  1779. AzInitialize '.\TestFile' (1)
  1780. AzApplicationCreate 'MyApp'
  1781. AzApplicationCreate 'MyApp' (ERROR_ALREADY_EXISTS)
  1782. AzRoleCreate 'Name1'
  1783. AzRoleCreate 'Name1' (ERROR_ALREADY_EXISTS)
  1784. AzCloseHandle
  1785. AzCloseHandle
  1786. AzCloseHandle
  1787. Application->Role - 'Role objects that are children of an application'
  1788. AzInitialize '.\TestFile' (1)
  1789. AzApplicationCreate 'MyApp'
  1790. AzRoleCreate 'Role A'
  1791. Application->Role - 'Test linking to groups that are children of the same admin manager as the role object.'
  1792. Application->Role->Group - Test linking 'Group' objects to the object named 'Role A' using propid '500'.
  1793. Application->Role->Group - 'Create some objects to link the object to'
  1794. AzGroupCreate 'Object 1'
  1795. AzCloseHandle
  1796. AzGroupCreate 'Object 2'
  1797. AzCloseHandle
  1798. AzGroupCreate 'Object 3'
  1799. AzCloseHandle
  1800. Application->Role->Group - 'Reference an object that doesn't exist'
  1801. AzRoleGetProperty (500)
  1802. [INVPARM] ObCommonSetProperty: non set property routine
  1803. AzRoleSetProperty (500) (ERROR_INVALID_PARAMETER)
  1804. AzRoleAddProperty 'random' (500) (ERROR_NOT_FOUND)
  1805. Application->Role->Group - 'Add and remove several objects'
  1806. AzRoleAddProperty 'Object 2' (500)
  1807. AzRoleGetProperty (500)
  1808. 'Object 2'
  1809. AzRoleAddProperty 'Object 3' (500)
  1810. AzRoleGetProperty (500)
  1811. 'Object 2'
  1812. 'Object 3'
  1813. AzRoleAddProperty 'Object 1' (500)
  1814. AzRoleGetProperty (500)
  1815. 'Object 1'
  1816. 'Object 2'
  1817. 'Object 3'
  1818. AzRoleRemProperty 'Object 1' (500)
  1819. AzRoleGetProperty (500)
  1820. 'Object 2'
  1821. 'Object 3'
  1822. AzRoleRemProperty 'Object 2' (500)
  1823. AzRoleGetProperty (500)
  1824. 'Object 3'
  1825. Application->Role->Group - 'Add an item that already exists'
  1826. AzRoleAddProperty 'Object 3' (500) (ERROR_ALREADY_EXISTS)
  1827. AzRoleGetProperty (500)
  1828. 'Object 3'
  1829. AzRoleRemProperty 'Object 3' (500)
  1830. AzRoleGetProperty (500)
  1831. Application->Role->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  1832. AzGroupCreate 'Object 4'
  1833. AzCloseHandle
  1834. AzGroupCreate 'Object 5'
  1835. AzCloseHandle
  1836. AzGroupCreate 'Object 6'
  1837. AzCloseHandle
  1838. AzRoleAddProperty 'Object 1' (500)
  1839. AzRoleAddProperty 'Object 4' (500)
  1840. AzRoleAddProperty 'Object 2' (500)
  1841. AzRoleAddProperty 'Object 5' (500)
  1842. AzRoleAddProperty 'Object 3' (500)
  1843. AzRoleAddProperty 'Object 6' (500)
  1844. AzRoleGetProperty (500)
  1845. 'Object 1'
  1846. 'Object 2'
  1847. 'Object 3'
  1848. 'Object 4'
  1849. 'Object 5'
  1850. 'Object 6'
  1851. AzGroupDelete 'Object 1' (500)
  1852. AzGroupDelete 'Object 4' (500)
  1853. AzGroupDelete 'Object 2' (500)
  1854. AzGroupDelete 'Object 5' (500)
  1855. AzGroupDelete 'Object 3' (500)
  1856. AzGroupDelete 'Object 6' (500)
  1857. Application->Role - 'Test linking to groups that are children of the same application as the role object.'
  1858. Application->Role->Group - Test linking 'Group' objects to the object named 'Role A' using propid '500'.
  1859. Application->Role->Group - 'Create some objects to link the object to'
  1860. AzGroupCreate 'Object 1'
  1861. AzCloseHandle
  1862. AzGroupCreate 'Object 2'
  1863. AzCloseHandle
  1864. AzGroupCreate 'Object 3'
  1865. AzCloseHandle
  1866. Application->Role->Group - 'Reference an object that doesn't exist'
  1867. AzRoleGetProperty (500)
  1868. [INVPARM] ObCommonSetProperty: non set property routine
  1869. AzRoleSetProperty (500) (ERROR_INVALID_PARAMETER)
  1870. AzRoleAddProperty 'random' (500) (ERROR_NOT_FOUND)
  1871. Application->Role->Group - 'Add and remove several objects'
  1872. AzRoleAddProperty 'Object 2' (500)
  1873. AzRoleGetProperty (500)
  1874. 'Object 2'
  1875. AzRoleAddProperty 'Object 3' (500)
  1876. AzRoleGetProperty (500)
  1877. 'Object 2'
  1878. 'Object 3'
  1879. AzRoleAddProperty 'Object 1' (500)
  1880. AzRoleGetProperty (500)
  1881. 'Object 1'
  1882. 'Object 2'
  1883. 'Object 3'
  1884. AzRoleRemProperty 'Object 1' (500)
  1885. AzRoleGetProperty (500)
  1886. 'Object 2'
  1887. 'Object 3'
  1888. AzRoleRemProperty 'Object 2' (500)
  1889. AzRoleGetProperty (500)
  1890. 'Object 3'
  1891. Application->Role->Group - 'Add an item that already exists'
  1892. AzRoleAddProperty 'Object 3' (500) (ERROR_ALREADY_EXISTS)
  1893. AzRoleGetProperty (500)
  1894. 'Object 3'
  1895. AzRoleRemProperty 'Object 3' (500)
  1896. AzRoleGetProperty (500)
  1897. Application->Role->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  1898. AzGroupCreate 'Object 4'
  1899. AzCloseHandle
  1900. AzGroupCreate 'Object 5'
  1901. AzCloseHandle
  1902. AzGroupCreate 'Object 6'
  1903. AzCloseHandle
  1904. AzRoleAddProperty 'Object 1' (500)
  1905. AzRoleAddProperty 'Object 4' (500)
  1906. AzRoleAddProperty 'Object 2' (500)
  1907. AzRoleAddProperty 'Object 5' (500)
  1908. AzRoleAddProperty 'Object 3' (500)
  1909. AzRoleAddProperty 'Object 6' (500)
  1910. AzRoleGetProperty (500)
  1911. 'Object 1'
  1912. 'Object 2'
  1913. 'Object 3'
  1914. 'Object 4'
  1915. 'Object 5'
  1916. 'Object 6'
  1917. AzGroupDelete 'Object 1' (500)
  1918. AzGroupDelete 'Object 4' (500)
  1919. AzGroupDelete 'Object 2' (500)
  1920. AzGroupDelete 'Object 5' (500)
  1921. AzGroupDelete 'Object 3' (500)
  1922. AzGroupDelete 'Object 6' (500)
  1923. Application->Role - 'Test linking to SIDs.'
  1924. Application->Role->Sid - Test linking 'Sid' objects to the object named 'Role A' using propid '501'.
  1925. Application->Role->Sid - 'Add and remove several links to sids'
  1926. AzRoleAddProperty '' (501)
  1927. AzRoleGetProperty (501)
  1928. 'S-1-1000-2'
  1929. AzRoleAddProperty '' (501)
  1930. AzRoleGetProperty (501)
  1931. 'S-1-1000-2'
  1932. 'S-1-1000-3'
  1933. AzRoleAddProperty '' (501)
  1934. AzRoleGetProperty (501)
  1935. 'S-1-1000-1'
  1936. 'S-1-1000-2'
  1937. 'S-1-1000-3'
  1938. AzRoleRemProperty '' (501)
  1939. AzRoleGetProperty (501)
  1940. 'S-1-1000-2'
  1941. 'S-1-1000-3'
  1942. AzRoleRemProperty '' (501)
  1943. AzRoleGetProperty (501)
  1944. 'S-1-1000-3'
  1945. Application->Role->Sid - 'Add a link that already exists'
  1946. AzRoleAddProperty '' (501) (ERROR_ALREADY_EXISTS)
  1947. AzRoleGetProperty (501)
  1948. 'S-1-1000-3'
  1949. AzRoleRemProperty '' (501)
  1950. AzRoleGetProperty (501)
  1951. Application->Role->Sid - 'Try more than 4 since reference buckets come in multiples of 4'
  1952. AzRoleAddProperty '' (501)
  1953. AzRoleAddProperty '' (501)
  1954. AzRoleAddProperty '' (501)
  1955. AzRoleAddProperty '' (501)
  1956. AzRoleAddProperty '' (501)
  1957. AzRoleAddProperty '' (501)
  1958. AzRoleGetProperty (501)
  1959. 'S-1-1000-1'
  1960. 'S-1-1000-2'
  1961. 'S-1-1000-3'
  1962. 'S-1-1000-4'
  1963. 'S-1-1000-5'
  1964. 'S-1-1000-6'
  1965. Application->Role->Operation - Test linking 'Operation' objects to the object named 'Role A' using propid '502'.
  1966. Application->Role->Operation - 'Create some objects to link the object to'
  1967. AzOperationCreate 'Object 1'
  1968. AzCloseHandle
  1969. AzOperationCreate 'Object 2'
  1970. AzCloseHandle
  1971. AzOperationCreate 'Object 3'
  1972. AzCloseHandle
  1973. Application->Role->Operation - 'Reference an object that doesn't exist'
  1974. AzRoleGetProperty (502)
  1975. [INVPARM] ObCommonSetProperty: non set property routine
  1976. AzRoleSetProperty (502) (ERROR_INVALID_PARAMETER)
  1977. AzRoleAddProperty 'random' (502) (ERROR_NOT_FOUND)
  1978. Application->Role->Operation - 'Add and remove several objects'
  1979. AzRoleAddProperty 'Object 2' (502)
  1980. AzRoleGetProperty (502)
  1981. 'Object 2'
  1982. AzRoleAddProperty 'Object 3' (502)
  1983. AzRoleGetProperty (502)
  1984. 'Object 2'
  1985. 'Object 3'
  1986. AzRoleAddProperty 'Object 1' (502)
  1987. AzRoleGetProperty (502)
  1988. 'Object 1'
  1989. 'Object 2'
  1990. 'Object 3'
  1991. AzRoleRemProperty 'Object 1' (502)
  1992. AzRoleGetProperty (502)
  1993. 'Object 2'
  1994. 'Object 3'
  1995. AzRoleRemProperty 'Object 2' (502)
  1996. AzRoleGetProperty (502)
  1997. 'Object 3'
  1998. Application->Role->Operation - 'Add an item that already exists'
  1999. AzRoleAddProperty 'Object 3' (502) (ERROR_ALREADY_EXISTS)
  2000. AzRoleGetProperty (502)
  2001. 'Object 3'
  2002. AzRoleRemProperty 'Object 3' (502)
  2003. AzRoleGetProperty (502)
  2004. Application->Role->Operation - 'Try more than 4 since reference buckets come in multiples of 4'
  2005. AzOperationCreate 'Object 4'
  2006. AzCloseHandle
  2007. AzOperationCreate 'Object 5'
  2008. AzCloseHandle
  2009. AzOperationCreate 'Object 6'
  2010. AzCloseHandle
  2011. AzRoleAddProperty 'Object 1' (502)
  2012. AzRoleAddProperty 'Object 4' (502)
  2013. AzRoleAddProperty 'Object 2' (502)
  2014. AzRoleAddProperty 'Object 5' (502)
  2015. AzRoleAddProperty 'Object 3' (502)
  2016. AzRoleAddProperty 'Object 6' (502)
  2017. AzRoleGetProperty (502)
  2018. 'Object 1'
  2019. 'Object 2'
  2020. 'Object 3'
  2021. 'Object 4'
  2022. 'Object 5'
  2023. 'Object 6'
  2024. AzOperationDelete 'Object 1' (502)
  2025. AzOperationDelete 'Object 4' (502)
  2026. AzOperationDelete 'Object 2' (502)
  2027. AzOperationDelete 'Object 5' (502)
  2028. AzOperationDelete 'Object 3' (502)
  2029. AzOperationDelete 'Object 6' (502)
  2030. Application->Role->Scope - Test linking 'Scope' objects to the object named 'Role A' using propid '503'.
  2031. Application->Role->Scope - 'Create some objects to link the object to'
  2032. AzScopeCreate 'Object 1'
  2033. AzCloseHandle
  2034. AzScopeCreate 'Object 2'
  2035. AzCloseHandle
  2036. AzScopeCreate 'Object 3'
  2037. AzCloseHandle
  2038. Application->Role->Scope - 'Reference an object that doesn't exist'
  2039. AzRoleGetProperty (503)
  2040. [INVPARM] ObCommonSetProperty: non set property routine
  2041. AzRoleSetProperty (503) (ERROR_INVALID_PARAMETER)
  2042. AzRoleAddProperty 'random' (503) (ERROR_NOT_FOUND)
  2043. Application->Role->Scope - 'Add and remove several objects'
  2044. AzRoleAddProperty 'Object 2' (503)
  2045. AzRoleGetProperty (503)
  2046. 'Object 2'
  2047. AzRoleAddProperty 'Object 3' (503)
  2048. AzRoleGetProperty (503)
  2049. 'Object 2'
  2050. 'Object 3'
  2051. AzRoleAddProperty 'Object 1' (503)
  2052. AzRoleGetProperty (503)
  2053. 'Object 1'
  2054. 'Object 2'
  2055. 'Object 3'
  2056. AzRoleRemProperty 'Object 1' (503)
  2057. AzRoleGetProperty (503)
  2058. 'Object 2'
  2059. 'Object 3'
  2060. AzRoleRemProperty 'Object 2' (503)
  2061. AzRoleGetProperty (503)
  2062. 'Object 3'
  2063. Application->Role->Scope - 'Add an item that already exists'
  2064. AzRoleAddProperty 'Object 3' (503) (ERROR_ALREADY_EXISTS)
  2065. AzRoleGetProperty (503)
  2066. 'Object 3'
  2067. AzRoleRemProperty 'Object 3' (503)
  2068. AzRoleGetProperty (503)
  2069. Application->Role->Scope - 'Try more than 4 since reference buckets come in multiples of 4'
  2070. AzScopeCreate 'Object 4'
  2071. AzCloseHandle
  2072. AzScopeCreate 'Object 5'
  2073. AzCloseHandle
  2074. AzScopeCreate 'Object 6'
  2075. AzCloseHandle
  2076. AzRoleAddProperty 'Object 1' (503)
  2077. AzRoleAddProperty 'Object 4' (503)
  2078. AzRoleAddProperty 'Object 2' (503)
  2079. AzRoleAddProperty 'Object 5' (503)
  2080. AzRoleAddProperty 'Object 3' (503)
  2081. AzRoleAddProperty 'Object 6' (503)
  2082. AzRoleGetProperty (503)
  2083. 'Object 1'
  2084. 'Object 2'
  2085. 'Object 3'
  2086. 'Object 4'
  2087. 'Object 5'
  2088. 'Object 6'
  2089. AzScopeDelete 'Object 1' (503)
  2090. AzScopeDelete 'Object 4' (503)
  2091. AzScopeDelete 'Object 2' (503)
  2092. AzScopeDelete 'Object 5' (503)
  2093. AzScopeDelete 'Object 3' (503)
  2094. AzScopeDelete 'Object 6' (503)
  2095. AzCloseHandle
  2096. AzCloseHandle
  2097. AzCloseHandle
  2098. Application->JunctionPoint - Perform tests of 'JunctionPoint' objects that are children of 'Application' objects
  2099. Application->JunctionPoint - 'Application generic Child object test'
  2100. AzInitialize '.\TestFile' (1)
  2101. AzApplicationCreate 'MyApp'
  2102. DupHandle
  2103. GoSub
  2104. Application->JunctionPoint - 'Gen object test'
  2105. AzJunctionPointCreate 'Name1'
  2106. AzCloseHandle
  2107. AzJunctionPointEnum (ERROR_INVALID_HANDLE)
  2108. AzJunctionPointEnum
  2109. 1:
  2110. DupHandle
  2111. AzCloseHandle
  2112. AzCloseHandle (ERROR_INVALID_HANDLE)
  2113. AzCloseHandle (ERROR_INVALID_HANDLE)
  2114. AzJunctionPointEnum
  2115. 1:
  2116. AzJunctionPointGetProperty (1)
  2117. 'Name1'
  2118. AzJunctionPointGetProperty (2)
  2119. ''
  2120. AzCloseHandle
  2121. AzJunctionPointCreate 'Name2'
  2122. AzJunctionPointEnum
  2123. 1:
  2124. AzJunctionPointGetProperty (1)
  2125. 'Name1'
  2126. AzJunctionPointGetProperty (2)
  2127. ''
  2128. AzCloseHandle
  2129. 2:
  2130. AzJunctionPointGetProperty (1)
  2131. 'Name2'
  2132. AzJunctionPointGetProperty (2)
  2133. ''
  2134. AzCloseHandle
  2135. AzCloseHandle
  2136. Application->JunctionPoint - 'Delete an object and make sure it doesn't get enumerated'
  2137. AzJunctionPointCreate 'Name3'
  2138. AzJunctionPointDelete 'Name3'
  2139. AzCloseHandle
  2140. AzJunctionPointEnum
  2141. 1:
  2142. AzJunctionPointGetProperty (1)
  2143. 'Name1'
  2144. AzJunctionPointGetProperty (2)
  2145. ''
  2146. AzCloseHandle
  2147. 2:
  2148. AzJunctionPointGetProperty (1)
  2149. 'Name2'
  2150. AzJunctionPointGetProperty (2)
  2151. ''
  2152. AzCloseHandle
  2153. Application->JunctionPoint - 'Create an object whose name equals that of a deleted object'
  2154. AzJunctionPointCreate 'Name3'
  2155. AzCloseHandle
  2156. AzJunctionPointEnum
  2157. 1:
  2158. AzJunctionPointGetProperty (1)
  2159. 'Name1'
  2160. AzJunctionPointGetProperty (2)
  2161. ''
  2162. AzCloseHandle
  2163. 2:
  2164. AzJunctionPointGetProperty (1)
  2165. 'Name2'
  2166. AzJunctionPointGetProperty (2)
  2167. ''
  2168. AzCloseHandle
  2169. 4:
  2170. AzJunctionPointGetProperty (1)
  2171. 'Name3'
  2172. AzJunctionPointGetProperty (2)
  2173. ''
  2174. AzCloseHandle
  2175. Application->JunctionPoint - 'Delete an object that isn't on the tail end of the enum list'
  2176. AzJunctionPointDelete 'Name2'
  2177. AzJunctionPointEnum
  2178. 1:
  2179. AzJunctionPointGetProperty (1)
  2180. 'Name1'
  2181. AzJunctionPointGetProperty (2)
  2182. ''
  2183. AzCloseHandle
  2184. 4:
  2185. AzJunctionPointGetProperty (1)
  2186. 'Name3'
  2187. AzJunctionPointGetProperty (2)
  2188. ''
  2189. AzCloseHandle
  2190. Application->JunctionPoint - 'Basic get/set property tests'
  2191. AzJunctionPointCreate 'Name4'
  2192. AzJunctionPointGetProperty (1)
  2193. 'Name4'
  2194. AzJunctionPointGetProperty (2)
  2195. ''
  2196. AzJunctionPointSetProperty 'WasName4' (1)
  2197. AzJunctionPointSetProperty 'Nam4 Desc' (2)
  2198. AzJunctionPointGetProperty (1)
  2199. 'WasName4'
  2200. AzJunctionPointGetProperty (2)
  2201. 'Nam4 Desc'
  2202. AzJunctionPointEnum
  2203. 1:
  2204. AzJunctionPointGetProperty (1)
  2205. 'Name1'
  2206. AzJunctionPointGetProperty (2)
  2207. ''
  2208. AzCloseHandle
  2209. 4:
  2210. AzJunctionPointGetProperty (1)
  2211. 'Name3'
  2212. AzJunctionPointGetProperty (2)
  2213. ''
  2214. AzCloseHandle
  2215. 5:
  2216. AzJunctionPointGetProperty (1)
  2217. 'WasName4'
  2218. AzJunctionPointGetProperty (2)
  2219. 'Nam4 Desc'
  2220. AzCloseHandle
  2221. AzCloseHandle
  2222. Application->JunctionPoint - 'Open test'
  2223. AzJunctionPointOpen 'Name1'
  2224. AzJunctionPointGetProperty (1)
  2225. 'Name1'
  2226. AzCloseHandle
  2227. AzJunctionPointOpen 'NameBad' (ERROR_NOT_FOUND)
  2228. AzCloseHandle
  2229. AzCloseHandle
  2230. Application->JunctionPoint - 'Test closing the same handle twice'
  2231. AzInitialize '.\TestFile' (1)
  2232. AzApplicationCreate 'MyApp'
  2233. DupHandle
  2234. AzCloseHandle (ERROR_SERVER_HAS_OPEN_HANDLES)
  2235. AzCloseHandle
  2236. AzCloseHandle
  2237. Application->JunctionPoint - 'Test creating two objects with the same name'
  2238. AzInitialize '.\TestFile' (1)
  2239. AzApplicationCreate 'MyApp'
  2240. AzApplicationCreate 'MyApp' (ERROR_ALREADY_EXISTS)
  2241. AzJunctionPointCreate 'Name1'
  2242. AzJunctionPointCreate 'Name1' (ERROR_ALREADY_EXISTS)
  2243. AzCloseHandle
  2244. AzCloseHandle
  2245. AzCloseHandle
  2246. Application->JunctionPoint - 'JunctionPoint object specific tests'
  2247. AzInitialize '.\TestFile' (1)
  2248. AzApplicationCreate 'App 1'
  2249. AzApplicationCreate 'App 3'
  2250. AzCloseHandle
  2251. AzApplicationCreate 'App 2'
  2252. AzJunctionPointCreate 'JunctionPoint 1'
  2253. AzJunctionPointGetProperty (600)
  2254. ''
  2255. AzJunctionPointSetProperty 'App 2' (600)
  2256. AzJunctionPointGetProperty (600)
  2257. 'App 2'
  2258. Application->JunctionPoint - 'Ensure setting the attribute really changes it'
  2259. AzJunctionPointSetProperty 'App 3' (600)
  2260. AzJunctionPointGetProperty (600)
  2261. 'App 3'
  2262. Application->JunctionPoint - 'Ensure deleting the app deletes the reference'
  2263. AzApplicationDelete 'App 3'
  2264. AzJunctionPointGetProperty (600)
  2265. ''
  2266. Application->JunctionPoint - 'Link a junction point to its own app'
  2267. AzJunctionPointSetProperty 'App 1' (600) (ERROR_DS_LOOP_DETECT)
  2268. Application->JunctionPoint - 'Detect a more complex cycle'
  2269. AzJunctionPointSetProperty 'App 2' (600)
  2270. AzJunctionPointCreate 'JunctionPoint A'
  2271. AzJunctionPointSetProperty 'App 1' (600) (ERROR_DS_LOOP_DETECT)
  2272. AzJunctionPointCreate 'JunctionPoint B'
  2273. AzJunctionPointSetProperty 'App 1' (600) (ERROR_DS_LOOP_DETECT)
  2274. AzJunctionPointSetProperty 'App 1' (600) (ERROR_DS_LOOP_DETECT)
  2275. AzCloseHandle
  2276. AzCloseHandle
  2277. AzCloseHandle
  2278. AzCloseHandle
  2279. AzCloseHandle
  2280. AzCloseHandle
  2281. Scope->Group - Perform tests of 'Group' objects that are children of 'Scope' objects
  2282. Scope->Group - 'Scope generic Child object test'
  2283. AzInitialize '.\TestFile' (1)
  2284. AzApplicationCreate 'MyApp'
  2285. AzScopeCreate 'Scope 1'
  2286. DupHandle
  2287. GoSub
  2288. Scope->Group - 'Gen object test'
  2289. AzGroupCreate 'Name1'
  2290. AzCloseHandle
  2291. AzGroupEnum (ERROR_INVALID_HANDLE)
  2292. AzGroupEnum
  2293. 1:
  2294. DupHandle
  2295. AzCloseHandle
  2296. AzCloseHandle (ERROR_INVALID_HANDLE)
  2297. AzCloseHandle (ERROR_INVALID_HANDLE)
  2298. AzGroupEnum
  2299. 1:
  2300. AzGroupGetProperty (1)
  2301. 'Name1'
  2302. AzGroupGetProperty (2)
  2303. ''
  2304. AzCloseHandle
  2305. AzGroupCreate 'Name2'
  2306. AzGroupEnum
  2307. 1:
  2308. AzGroupGetProperty (1)
  2309. 'Name1'
  2310. AzGroupGetProperty (2)
  2311. ''
  2312. AzCloseHandle
  2313. 2:
  2314. AzGroupGetProperty (1)
  2315. 'Name2'
  2316. AzGroupGetProperty (2)
  2317. ''
  2318. AzCloseHandle
  2319. AzCloseHandle
  2320. Scope->Group - 'Delete an object and make sure it doesn't get enumerated'
  2321. AzGroupCreate 'Name3'
  2322. AzGroupDelete 'Name3'
  2323. AzCloseHandle
  2324. AzGroupEnum
  2325. 1:
  2326. AzGroupGetProperty (1)
  2327. 'Name1'
  2328. AzGroupGetProperty (2)
  2329. ''
  2330. AzCloseHandle
  2331. 2:
  2332. AzGroupGetProperty (1)
  2333. 'Name2'
  2334. AzGroupGetProperty (2)
  2335. ''
  2336. AzCloseHandle
  2337. Scope->Group - 'Create an object whose name equals that of a deleted object'
  2338. AzGroupCreate 'Name3'
  2339. AzCloseHandle
  2340. AzGroupEnum
  2341. 1:
  2342. AzGroupGetProperty (1)
  2343. 'Name1'
  2344. AzGroupGetProperty (2)
  2345. ''
  2346. AzCloseHandle
  2347. 2:
  2348. AzGroupGetProperty (1)
  2349. 'Name2'
  2350. AzGroupGetProperty (2)
  2351. ''
  2352. AzCloseHandle
  2353. 4:
  2354. AzGroupGetProperty (1)
  2355. 'Name3'
  2356. AzGroupGetProperty (2)
  2357. ''
  2358. AzCloseHandle
  2359. Scope->Group - 'Delete an object that isn't on the tail end of the enum list'
  2360. AzGroupDelete 'Name2'
  2361. AzGroupEnum
  2362. 1:
  2363. AzGroupGetProperty (1)
  2364. 'Name1'
  2365. AzGroupGetProperty (2)
  2366. ''
  2367. AzCloseHandle
  2368. 4:
  2369. AzGroupGetProperty (1)
  2370. 'Name3'
  2371. AzGroupGetProperty (2)
  2372. ''
  2373. AzCloseHandle
  2374. Scope->Group - 'Basic get/set property tests'
  2375. AzGroupCreate 'Name4'
  2376. AzGroupGetProperty (1)
  2377. 'Name4'
  2378. AzGroupGetProperty (2)
  2379. ''
  2380. AzGroupSetProperty 'WasName4' (1)
  2381. AzGroupSetProperty 'Nam4 Desc' (2)
  2382. AzGroupGetProperty (1)
  2383. 'WasName4'
  2384. AzGroupGetProperty (2)
  2385. 'Nam4 Desc'
  2386. AzGroupEnum
  2387. 1:
  2388. AzGroupGetProperty (1)
  2389. 'Name1'
  2390. AzGroupGetProperty (2)
  2391. ''
  2392. AzCloseHandle
  2393. 4:
  2394. AzGroupGetProperty (1)
  2395. 'Name3'
  2396. AzGroupGetProperty (2)
  2397. ''
  2398. AzCloseHandle
  2399. 5:
  2400. AzGroupGetProperty (1)
  2401. 'WasName4'
  2402. AzGroupGetProperty (2)
  2403. 'Nam4 Desc'
  2404. AzCloseHandle
  2405. AzCloseHandle
  2406. Scope->Group - 'Open test'
  2407. AzGroupOpen 'Name1'
  2408. AzGroupGetProperty (1)
  2409. 'Name1'
  2410. AzCloseHandle
  2411. AzGroupOpen 'NameBad' (ERROR_NOT_FOUND)
  2412. AzCloseHandle
  2413. AzCloseHandle
  2414. AzCloseHandle
  2415. Scope->Group - 'Test creating two objects with the same name'
  2416. AzInitialize '.\TestFile' (1)
  2417. AzApplicationCreate 'MyApp'
  2418. AzScopeCreate 'Scope 1'
  2419. AzGroupCreate 'Name1'
  2420. AzGroupCreate 'Name1' (ERROR_ALREADY_EXISTS)
  2421. AzCloseHandle
  2422. AzCloseHandle
  2423. AzCloseHandle
  2424. AzCloseHandle
  2425. Scope->Group - 'Group objects that are children of an application'
  2426. AzInitialize '.\TestFile' (1)
  2427. AzApplicationCreate 'MyApp'
  2428. AzScopeCreate 'Scope 1'
  2429. DupHandle
  2430. GoSub
  2431. Scope->Group - 'Group object specific tests'
  2432. AzGroupCreate 'Group A'
  2433. Scope->Group - 'Create some groups to link the group to'
  2434. AzGroupCreate 'Group 1'
  2435. AzCloseHandle
  2436. AzGroupCreate 'Group 2'
  2437. AzCloseHandle
  2438. AzGroupCreate 'Group 3'
  2439. AzCloseHandle
  2440. Scope->Group - 'Add membership to a group with no grouptype'
  2441. [INVPARM] AzpGroupAddPropertyItem: invalid group type 0
  2442. AzGroupAddProperty 'Group 1' (401) (ERROR_INVALID_PARAMETER)
  2443. [INVPARM] AzpGroupAddPropertyItem: invalid group type 0
  2444. AzGroupAddProperty '' (404) (ERROR_INVALID_PARAMETER)
  2445. [INVPARM] AzpGroupGetProperty: invalid grouptype 8
  2446. AzGroupSetProperty '8' (400) (ERROR_INVALID_PARAMETER)
  2447. AzGroupSetProperty '2' (400)
  2448. Scope->Group - 'Reference ourself'
  2449. AzGroupGetProperty (401)
  2450. AzGroupGetProperty (404)
  2451. [INVPARM] Reference to self
  2452. AzGroupAddProperty 'Group A' (401) (ERROR_DS_LOOP_DETECT)
  2453. Scope->Group->Group - Test linking 'Group' objects to the object named 'Group A' using propid '401'.
  2454. Scope->Group->Group - 'Create some objects to link the object to'
  2455. AzGroupCreate 'Object 1'
  2456. AzCloseHandle
  2457. AzGroupCreate 'Object 2'
  2458. AzCloseHandle
  2459. AzGroupCreate 'Object 3'
  2460. AzCloseHandle
  2461. Scope->Group->Group - 'Reference an object that doesn't exist'
  2462. AzGroupGetProperty (401)
  2463. [INVPARM] AzpGroupSetProperty: invalid propid 401
  2464. AzGroupSetProperty (401) (ERROR_INVALID_PARAMETER)
  2465. AzGroupAddProperty 'random' (401) (ERROR_NOT_FOUND)
  2466. Scope->Group->Group - 'Add and remove several objects'
  2467. AzGroupAddProperty 'Object 2' (401)
  2468. AzGroupGetProperty (401)
  2469. 'Object 2'
  2470. AzGroupAddProperty 'Object 3' (401)
  2471. AzGroupGetProperty (401)
  2472. 'Object 2'
  2473. 'Object 3'
  2474. AzGroupAddProperty 'Object 1' (401)
  2475. AzGroupGetProperty (401)
  2476. 'Object 1'
  2477. 'Object 2'
  2478. 'Object 3'
  2479. AzGroupRemProperty 'Object 1' (401)
  2480. AzGroupGetProperty (401)
  2481. 'Object 2'
  2482. 'Object 3'
  2483. AzGroupRemProperty 'Object 2' (401)
  2484. AzGroupGetProperty (401)
  2485. 'Object 3'
  2486. Scope->Group->Group - 'Add an item that already exists'
  2487. AzGroupAddProperty 'Object 3' (401) (ERROR_ALREADY_EXISTS)
  2488. AzGroupGetProperty (401)
  2489. 'Object 3'
  2490. AzGroupRemProperty 'Object 3' (401)
  2491. AzGroupGetProperty (401)
  2492. Scope->Group->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  2493. AzGroupCreate 'Object 4'
  2494. AzCloseHandle
  2495. AzGroupCreate 'Object 5'
  2496. AzCloseHandle
  2497. AzGroupCreate 'Object 6'
  2498. AzCloseHandle
  2499. AzGroupAddProperty 'Object 1' (401)
  2500. AzGroupAddProperty 'Object 4' (401)
  2501. AzGroupAddProperty 'Object 2' (401)
  2502. AzGroupAddProperty 'Object 5' (401)
  2503. AzGroupAddProperty 'Object 3' (401)
  2504. AzGroupAddProperty 'Object 6' (401)
  2505. AzGroupGetProperty (401)
  2506. 'Object 1'
  2507. 'Object 2'
  2508. 'Object 3'
  2509. 'Object 4'
  2510. 'Object 5'
  2511. 'Object 6'
  2512. AzGroupDelete 'Object 1' (401)
  2513. AzGroupDelete 'Object 4' (401)
  2514. AzGroupDelete 'Object 2' (401)
  2515. AzGroupDelete 'Object 5' (401)
  2516. AzGroupDelete 'Object 3' (401)
  2517. AzGroupDelete 'Object 6' (401)
  2518. Scope->Group->Sid - Test linking 'Sid' objects to the object named 'Group A' using propid '404'.
  2519. Scope->Group->Sid - 'Add and remove several links to sids'
  2520. AzGroupAddProperty '' (404)
  2521. AzGroupGetProperty (404)
  2522. 'S-1-1000-2'
  2523. AzGroupAddProperty '' (404)
  2524. AzGroupGetProperty (404)
  2525. 'S-1-1000-2'
  2526. 'S-1-1000-3'
  2527. AzGroupAddProperty '' (404)
  2528. AzGroupGetProperty (404)
  2529. 'S-1-1000-1'
  2530. 'S-1-1000-2'
  2531. 'S-1-1000-3'
  2532. AzGroupRemProperty '' (404)
  2533. AzGroupGetProperty (404)
  2534. 'S-1-1000-2'
  2535. 'S-1-1000-3'
  2536. AzGroupRemProperty '' (404)
  2537. AzGroupGetProperty (404)
  2538. 'S-1-1000-3'
  2539. Scope->Group->Sid - 'Add a link that already exists'
  2540. AzGroupAddProperty '' (404) (ERROR_ALREADY_EXISTS)
  2541. AzGroupGetProperty (404)
  2542. 'S-1-1000-3'
  2543. AzGroupRemProperty '' (404)
  2544. AzGroupGetProperty (404)
  2545. Scope->Group->Sid - 'Try more than 4 since reference buckets come in multiples of 4'
  2546. AzGroupAddProperty '' (404)
  2547. AzGroupAddProperty '' (404)
  2548. AzGroupAddProperty '' (404)
  2549. AzGroupAddProperty '' (404)
  2550. AzGroupAddProperty '' (404)
  2551. AzGroupAddProperty '' (404)
  2552. AzGroupGetProperty (404)
  2553. 'S-1-1000-1'
  2554. 'S-1-1000-2'
  2555. 'S-1-1000-3'
  2556. 'S-1-1000-4'
  2557. 'S-1-1000-5'
  2558. 'S-1-1000-6'
  2559. Scope->Group - 'Same as above, but for the non-members attribute'
  2560. AzGroupGetProperty (402)
  2561. AzGroupGetProperty (405)
  2562. [INVPARM] Reference to self
  2563. AzGroupAddProperty 'Group A' (402) (ERROR_DS_LOOP_DETECT)
  2564. Scope->Group->Group - Test linking 'Group' objects to the object named 'Group A' using propid '402'.
  2565. Scope->Group->Group - 'Create some objects to link the object to'
  2566. AzGroupCreate 'Object 1'
  2567. AzCloseHandle
  2568. AzGroupCreate 'Object 2'
  2569. AzCloseHandle
  2570. AzGroupCreate 'Object 3'
  2571. AzCloseHandle
  2572. Scope->Group->Group - 'Reference an object that doesn't exist'
  2573. AzGroupGetProperty (402)
  2574. [INVPARM] AzpGroupSetProperty: invalid propid 402
  2575. AzGroupSetProperty (402) (ERROR_INVALID_PARAMETER)
  2576. AzGroupAddProperty 'random' (402) (ERROR_NOT_FOUND)
  2577. Scope->Group->Group - 'Add and remove several objects'
  2578. AzGroupAddProperty 'Object 2' (402)
  2579. AzGroupGetProperty (402)
  2580. 'Object 2'
  2581. AzGroupAddProperty 'Object 3' (402)
  2582. AzGroupGetProperty (402)
  2583. 'Object 2'
  2584. 'Object 3'
  2585. AzGroupAddProperty 'Object 1' (402)
  2586. AzGroupGetProperty (402)
  2587. 'Object 1'
  2588. 'Object 2'
  2589. 'Object 3'
  2590. AzGroupRemProperty 'Object 1' (402)
  2591. AzGroupGetProperty (402)
  2592. 'Object 2'
  2593. 'Object 3'
  2594. AzGroupRemProperty 'Object 2' (402)
  2595. AzGroupGetProperty (402)
  2596. 'Object 3'
  2597. Scope->Group->Group - 'Add an item that already exists'
  2598. AzGroupAddProperty 'Object 3' (402) (ERROR_ALREADY_EXISTS)
  2599. AzGroupGetProperty (402)
  2600. 'Object 3'
  2601. AzGroupRemProperty 'Object 3' (402)
  2602. AzGroupGetProperty (402)
  2603. Scope->Group->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  2604. AzGroupCreate 'Object 4'
  2605. AzCloseHandle
  2606. AzGroupCreate 'Object 5'
  2607. AzCloseHandle
  2608. AzGroupCreate 'Object 6'
  2609. AzCloseHandle
  2610. AzGroupAddProperty 'Object 1' (402)
  2611. AzGroupAddProperty 'Object 4' (402)
  2612. AzGroupAddProperty 'Object 2' (402)
  2613. AzGroupAddProperty 'Object 5' (402)
  2614. AzGroupAddProperty 'Object 3' (402)
  2615. AzGroupAddProperty 'Object 6' (402)
  2616. AzGroupGetProperty (402)
  2617. 'Object 1'
  2618. 'Object 2'
  2619. 'Object 3'
  2620. 'Object 4'
  2621. 'Object 5'
  2622. 'Object 6'
  2623. AzGroupDelete 'Object 1' (402)
  2624. AzGroupDelete 'Object 4' (402)
  2625. AzGroupDelete 'Object 2' (402)
  2626. AzGroupDelete 'Object 5' (402)
  2627. AzGroupDelete 'Object 3' (402)
  2628. AzGroupDelete 'Object 6' (402)
  2629. Scope->Group->Sid - Test linking 'Sid' objects to the object named 'Group A' using propid '405'.
  2630. Scope->Group->Sid - 'Add and remove several links to sids'
  2631. AzGroupAddProperty '' (405)
  2632. AzGroupGetProperty (405)
  2633. 'S-1-1000-2'
  2634. AzGroupAddProperty '' (405)
  2635. AzGroupGetProperty (405)
  2636. 'S-1-1000-2'
  2637. 'S-1-1000-3'
  2638. AzGroupAddProperty '' (405)
  2639. AzGroupGetProperty (405)
  2640. 'S-1-1000-1'
  2641. 'S-1-1000-2'
  2642. 'S-1-1000-3'
  2643. AzGroupRemProperty '' (405)
  2644. AzGroupGetProperty (405)
  2645. 'S-1-1000-2'
  2646. 'S-1-1000-3'
  2647. AzGroupRemProperty '' (405)
  2648. AzGroupGetProperty (405)
  2649. 'S-1-1000-3'
  2650. Scope->Group->Sid - 'Add a link that already exists'
  2651. AzGroupAddProperty '' (405) (ERROR_ALREADY_EXISTS)
  2652. AzGroupGetProperty (405)
  2653. 'S-1-1000-3'
  2654. AzGroupRemProperty '' (405)
  2655. AzGroupGetProperty (405)
  2656. Scope->Group->Sid - 'Try more than 4 since reference buckets come in multiples of 4'
  2657. AzGroupAddProperty '' (405)
  2658. AzGroupAddProperty '' (405)
  2659. AzGroupAddProperty '' (405)
  2660. AzGroupAddProperty '' (405)
  2661. AzGroupAddProperty '' (405)
  2662. AzGroupAddProperty '' (405)
  2663. AzGroupGetProperty (405)
  2664. 'S-1-1000-1'
  2665. 'S-1-1000-2'
  2666. 'S-1-1000-3'
  2667. 'S-1-1000-4'
  2668. 'S-1-1000-5'
  2669. 'S-1-1000-6'
  2670. Scope->Group - 'Set LdapQuery string'
  2671. AzGroupGetProperty (403)
  2672. ''
  2673. [INVPARM] AzpGroupSetProperty: can't set ldap query before group type
  2674. AzGroupSetProperty 'TheQuery' (403) (ERROR_INVALID_PARAMETER)
  2675. AzGroupSetProperty '1' (400)
  2676. AzGroupSetProperty 'TheQuery' (403)
  2677. AzGroupGetProperty (403)
  2678. 'TheQuery'
  2679. AzGroupSetProperty '2' (400)
  2680. [INVPARM] AzpGroupSetProperty: can't set ldap query before group type
  2681. AzGroupSetProperty 'TheQuery' (403) (ERROR_INVALID_PARAMETER)
  2682. AzGroupSetProperty '' (403)
  2683. Scope->Group - 'Test loops'
  2684. AzGroupCreate 'Group B'
  2685. AzGroupSetProperty '2' (400)
  2686. AzGroupAddProperty 'Group B' (401)
  2687. AzGroupAddProperty 'Group A' (401) (ERROR_DS_LOOP_DETECT)
  2688. AzGroupAddProperty 'Group B' (402)
  2689. AzGroupAddProperty 'Group A' (402) (ERROR_DS_LOOP_DETECT)
  2690. AzGroupRemProperty 'Group B' (402)
  2691. AzGroupRemProperty 'Group B' (401)
  2692. AzCloseHandle
  2693. AzCloseHandle
  2694. Scope->Group - 'Test linking to groups that are children of the same admin manager as this group.'
  2695. AzGroupOpen 'Group A'
  2696. Scope->Group->Group - Test linking 'Group' objects to the object named 'Group A' using propid '401'.
  2697. Scope->Group->Group - 'Create some objects to link the object to'
  2698. AzGroupCreate 'Object 1'
  2699. AzCloseHandle
  2700. AzGroupCreate 'Object 2'
  2701. AzCloseHandle
  2702. AzGroupCreate 'Object 3'
  2703. AzCloseHandle
  2704. Scope->Group->Group - 'Reference an object that doesn't exist'
  2705. AzGroupGetProperty (401)
  2706. [INVPARM] AzpGroupSetProperty: invalid propid 401
  2707. AzGroupSetProperty (401) (ERROR_INVALID_PARAMETER)
  2708. AzGroupAddProperty 'random' (401) (ERROR_NOT_FOUND)
  2709. Scope->Group->Group - 'Add and remove several objects'
  2710. AzGroupAddProperty 'Object 2' (401)
  2711. AzGroupGetProperty (401)
  2712. 'Object 2'
  2713. AzGroupAddProperty 'Object 3' (401)
  2714. AzGroupGetProperty (401)
  2715. 'Object 2'
  2716. 'Object 3'
  2717. AzGroupAddProperty 'Object 1' (401)
  2718. AzGroupGetProperty (401)
  2719. 'Object 1'
  2720. 'Object 2'
  2721. 'Object 3'
  2722. AzGroupRemProperty 'Object 1' (401)
  2723. AzGroupGetProperty (401)
  2724. 'Object 2'
  2725. 'Object 3'
  2726. AzGroupRemProperty 'Object 2' (401)
  2727. AzGroupGetProperty (401)
  2728. 'Object 3'
  2729. Scope->Group->Group - 'Add an item that already exists'
  2730. AzGroupAddProperty 'Object 3' (401) (ERROR_ALREADY_EXISTS)
  2731. AzGroupGetProperty (401)
  2732. 'Object 3'
  2733. AzGroupRemProperty 'Object 3' (401)
  2734. AzGroupGetProperty (401)
  2735. Scope->Group->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  2736. AzGroupCreate 'Object 4'
  2737. AzCloseHandle
  2738. AzGroupCreate 'Object 5'
  2739. AzCloseHandle
  2740. AzGroupCreate 'Object 6'
  2741. AzCloseHandle
  2742. AzGroupAddProperty 'Object 1' (401)
  2743. AzGroupAddProperty 'Object 4' (401)
  2744. AzGroupAddProperty 'Object 2' (401)
  2745. AzGroupAddProperty 'Object 5' (401)
  2746. AzGroupAddProperty 'Object 3' (401)
  2747. AzGroupAddProperty 'Object 6' (401)
  2748. AzGroupGetProperty (401)
  2749. 'Object 1'
  2750. 'Object 2'
  2751. 'Object 3'
  2752. 'Object 4'
  2753. 'Object 5'
  2754. 'Object 6'
  2755. AzGroupDelete 'Object 1' (401)
  2756. AzGroupDelete 'Object 4' (401)
  2757. AzGroupDelete 'Object 2' (401)
  2758. AzGroupDelete 'Object 5' (401)
  2759. AzGroupDelete 'Object 3' (401)
  2760. AzGroupDelete 'Object 6' (401)
  2761. Scope->Group->Group - Test linking 'Group' objects to the object named 'Group A' using propid '402'.
  2762. Scope->Group->Group - 'Create some objects to link the object to'
  2763. AzGroupCreate 'Object 1'
  2764. AzCloseHandle
  2765. AzGroupCreate 'Object 2'
  2766. AzCloseHandle
  2767. AzGroupCreate 'Object 3'
  2768. AzCloseHandle
  2769. Scope->Group->Group - 'Reference an object that doesn't exist'
  2770. AzGroupGetProperty (402)
  2771. [INVPARM] AzpGroupSetProperty: invalid propid 402
  2772. AzGroupSetProperty (402) (ERROR_INVALID_PARAMETER)
  2773. AzGroupAddProperty 'random' (402) (ERROR_NOT_FOUND)
  2774. Scope->Group->Group - 'Add and remove several objects'
  2775. AzGroupAddProperty 'Object 2' (402)
  2776. AzGroupGetProperty (402)
  2777. 'Object 2'
  2778. AzGroupAddProperty 'Object 3' (402)
  2779. AzGroupGetProperty (402)
  2780. 'Object 2'
  2781. 'Object 3'
  2782. AzGroupAddProperty 'Object 1' (402)
  2783. AzGroupGetProperty (402)
  2784. 'Object 1'
  2785. 'Object 2'
  2786. 'Object 3'
  2787. AzGroupRemProperty 'Object 1' (402)
  2788. AzGroupGetProperty (402)
  2789. 'Object 2'
  2790. 'Object 3'
  2791. AzGroupRemProperty 'Object 2' (402)
  2792. AzGroupGetProperty (402)
  2793. 'Object 3'
  2794. Scope->Group->Group - 'Add an item that already exists'
  2795. AzGroupAddProperty 'Object 3' (402) (ERROR_ALREADY_EXISTS)
  2796. AzGroupGetProperty (402)
  2797. 'Object 3'
  2798. AzGroupRemProperty 'Object 3' (402)
  2799. AzGroupGetProperty (402)
  2800. Scope->Group->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  2801. AzGroupCreate 'Object 4'
  2802. AzCloseHandle
  2803. AzGroupCreate 'Object 5'
  2804. AzCloseHandle
  2805. AzGroupCreate 'Object 6'
  2806. AzCloseHandle
  2807. AzGroupAddProperty 'Object 1' (402)
  2808. AzGroupAddProperty 'Object 4' (402)
  2809. AzGroupAddProperty 'Object 2' (402)
  2810. AzGroupAddProperty 'Object 5' (402)
  2811. AzGroupAddProperty 'Object 3' (402)
  2812. AzGroupAddProperty 'Object 6' (402)
  2813. AzGroupGetProperty (402)
  2814. 'Object 1'
  2815. 'Object 2'
  2816. 'Object 3'
  2817. 'Object 4'
  2818. 'Object 5'
  2819. 'Object 6'
  2820. AzGroupDelete 'Object 1' (402)
  2821. AzGroupDelete 'Object 4' (402)
  2822. AzGroupDelete 'Object 2' (402)
  2823. AzGroupDelete 'Object 5' (402)
  2824. AzGroupDelete 'Object 3' (402)
  2825. AzGroupDelete 'Object 6' (402)
  2826. AzCloseHandle
  2827. Scope->Group - 'Test linking to groups that are children of the same application as this group.'
  2828. AzGroupOpen 'Group A'
  2829. Scope->Group->Group - Test linking 'Group' objects to the object named 'Group A' using propid '401'.
  2830. Scope->Group->Group - 'Create some objects to link the object to'
  2831. AzGroupCreate 'Object 1'
  2832. AzCloseHandle
  2833. AzGroupCreate 'Object 2'
  2834. AzCloseHandle
  2835. AzGroupCreate 'Object 3'
  2836. AzCloseHandle
  2837. Scope->Group->Group - 'Reference an object that doesn't exist'
  2838. AzGroupGetProperty (401)
  2839. [INVPARM] AzpGroupSetProperty: invalid propid 401
  2840. AzGroupSetProperty (401) (ERROR_INVALID_PARAMETER)
  2841. AzGroupAddProperty 'random' (401) (ERROR_NOT_FOUND)
  2842. Scope->Group->Group - 'Add and remove several objects'
  2843. AzGroupAddProperty 'Object 2' (401)
  2844. AzGroupGetProperty (401)
  2845. 'Object 2'
  2846. AzGroupAddProperty 'Object 3' (401)
  2847. AzGroupGetProperty (401)
  2848. 'Object 2'
  2849. 'Object 3'
  2850. AzGroupAddProperty 'Object 1' (401)
  2851. AzGroupGetProperty (401)
  2852. 'Object 1'
  2853. 'Object 2'
  2854. 'Object 3'
  2855. AzGroupRemProperty 'Object 1' (401)
  2856. AzGroupGetProperty (401)
  2857. 'Object 2'
  2858. 'Object 3'
  2859. AzGroupRemProperty 'Object 2' (401)
  2860. AzGroupGetProperty (401)
  2861. 'Object 3'
  2862. Scope->Group->Group - 'Add an item that already exists'
  2863. AzGroupAddProperty 'Object 3' (401) (ERROR_ALREADY_EXISTS)
  2864. AzGroupGetProperty (401)
  2865. 'Object 3'
  2866. AzGroupRemProperty 'Object 3' (401)
  2867. AzGroupGetProperty (401)
  2868. Scope->Group->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  2869. AzGroupCreate 'Object 4'
  2870. AzCloseHandle
  2871. AzGroupCreate 'Object 5'
  2872. AzCloseHandle
  2873. AzGroupCreate 'Object 6'
  2874. AzCloseHandle
  2875. AzGroupAddProperty 'Object 1' (401)
  2876. AzGroupAddProperty 'Object 4' (401)
  2877. AzGroupAddProperty 'Object 2' (401)
  2878. AzGroupAddProperty 'Object 5' (401)
  2879. AzGroupAddProperty 'Object 3' (401)
  2880. AzGroupAddProperty 'Object 6' (401)
  2881. AzGroupGetProperty (401)
  2882. 'Object 1'
  2883. 'Object 2'
  2884. 'Object 3'
  2885. 'Object 4'
  2886. 'Object 5'
  2887. 'Object 6'
  2888. AzGroupDelete 'Object 1' (401)
  2889. AzGroupDelete 'Object 4' (401)
  2890. AzGroupDelete 'Object 2' (401)
  2891. AzGroupDelete 'Object 5' (401)
  2892. AzGroupDelete 'Object 3' (401)
  2893. AzGroupDelete 'Object 6' (401)
  2894. Scope->Group->Group - Test linking 'Group' objects to the object named 'Group A' using propid '402'.
  2895. Scope->Group->Group - 'Create some objects to link the object to'
  2896. AzGroupCreate 'Object 1'
  2897. AzCloseHandle
  2898. AzGroupCreate 'Object 2'
  2899. AzCloseHandle
  2900. AzGroupCreate 'Object 3'
  2901. AzCloseHandle
  2902. Scope->Group->Group - 'Reference an object that doesn't exist'
  2903. AzGroupGetProperty (402)
  2904. [INVPARM] AzpGroupSetProperty: invalid propid 402
  2905. AzGroupSetProperty (402) (ERROR_INVALID_PARAMETER)
  2906. AzGroupAddProperty 'random' (402) (ERROR_NOT_FOUND)
  2907. Scope->Group->Group - 'Add and remove several objects'
  2908. AzGroupAddProperty 'Object 2' (402)
  2909. AzGroupGetProperty (402)
  2910. 'Object 2'
  2911. AzGroupAddProperty 'Object 3' (402)
  2912. AzGroupGetProperty (402)
  2913. 'Object 2'
  2914. 'Object 3'
  2915. AzGroupAddProperty 'Object 1' (402)
  2916. AzGroupGetProperty (402)
  2917. 'Object 1'
  2918. 'Object 2'
  2919. 'Object 3'
  2920. AzGroupRemProperty 'Object 1' (402)
  2921. AzGroupGetProperty (402)
  2922. 'Object 2'
  2923. 'Object 3'
  2924. AzGroupRemProperty 'Object 2' (402)
  2925. AzGroupGetProperty (402)
  2926. 'Object 3'
  2927. Scope->Group->Group - 'Add an item that already exists'
  2928. AzGroupAddProperty 'Object 3' (402) (ERROR_ALREADY_EXISTS)
  2929. AzGroupGetProperty (402)
  2930. 'Object 3'
  2931. AzGroupRemProperty 'Object 3' (402)
  2932. AzGroupGetProperty (402)
  2933. Scope->Group->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  2934. AzGroupCreate 'Object 4'
  2935. AzCloseHandle
  2936. AzGroupCreate 'Object 5'
  2937. AzCloseHandle
  2938. AzGroupCreate 'Object 6'
  2939. AzCloseHandle
  2940. AzGroupAddProperty 'Object 1' (402)
  2941. AzGroupAddProperty 'Object 4' (402)
  2942. AzGroupAddProperty 'Object 2' (402)
  2943. AzGroupAddProperty 'Object 5' (402)
  2944. AzGroupAddProperty 'Object 3' (402)
  2945. AzGroupAddProperty 'Object 6' (402)
  2946. AzGroupGetProperty (402)
  2947. 'Object 1'
  2948. 'Object 2'
  2949. 'Object 3'
  2950. 'Object 4'
  2951. 'Object 5'
  2952. 'Object 6'
  2953. AzGroupDelete 'Object 1' (402)
  2954. AzGroupDelete 'Object 4' (402)
  2955. AzGroupDelete 'Object 2' (402)
  2956. AzGroupDelete 'Object 5' (402)
  2957. AzGroupDelete 'Object 3' (402)
  2958. AzGroupDelete 'Object 6' (402)
  2959. AzCloseHandle
  2960. AzCloseHandle
  2961. AzCloseHandle
  2962. AzCloseHandle
  2963. Scope->Role - Perform tests of 'Role' objects that are children of 'Scope' objects
  2964. Scope->Role - 'Scope generic Child object test'
  2965. AzInitialize '.\TestFile' (1)
  2966. AzApplicationCreate 'MyApp'
  2967. AzScopeCreate 'Scope 1'
  2968. DupHandle
  2969. GoSub
  2970. Scope->Role - 'Gen object test'
  2971. AzRoleCreate 'Name1'
  2972. AzCloseHandle
  2973. AzRoleEnum (ERROR_INVALID_HANDLE)
  2974. AzRoleEnum
  2975. 1:
  2976. DupHandle
  2977. AzCloseHandle
  2978. AzCloseHandle (ERROR_INVALID_HANDLE)
  2979. AzCloseHandle (ERROR_INVALID_HANDLE)
  2980. AzRoleEnum
  2981. 1:
  2982. AzRoleGetProperty (1)
  2983. 'Name1'
  2984. AzRoleGetProperty (2)
  2985. ''
  2986. AzCloseHandle
  2987. AzRoleCreate 'Name2'
  2988. AzRoleEnum
  2989. 1:
  2990. AzRoleGetProperty (1)
  2991. 'Name1'
  2992. AzRoleGetProperty (2)
  2993. ''
  2994. AzCloseHandle
  2995. 2:
  2996. AzRoleGetProperty (1)
  2997. 'Name2'
  2998. AzRoleGetProperty (2)
  2999. ''
  3000. AzCloseHandle
  3001. AzCloseHandle
  3002. Scope->Role - 'Delete an object and make sure it doesn't get enumerated'
  3003. AzRoleCreate 'Name3'
  3004. AzRoleDelete 'Name3'
  3005. AzCloseHandle
  3006. AzRoleEnum
  3007. 1:
  3008. AzRoleGetProperty (1)
  3009. 'Name1'
  3010. AzRoleGetProperty (2)
  3011. ''
  3012. AzCloseHandle
  3013. 2:
  3014. AzRoleGetProperty (1)
  3015. 'Name2'
  3016. AzRoleGetProperty (2)
  3017. ''
  3018. AzCloseHandle
  3019. Scope->Role - 'Create an object whose name equals that of a deleted object'
  3020. AzRoleCreate 'Name3'
  3021. AzCloseHandle
  3022. AzRoleEnum
  3023. 1:
  3024. AzRoleGetProperty (1)
  3025. 'Name1'
  3026. AzRoleGetProperty (2)
  3027. ''
  3028. AzCloseHandle
  3029. 2:
  3030. AzRoleGetProperty (1)
  3031. 'Name2'
  3032. AzRoleGetProperty (2)
  3033. ''
  3034. AzCloseHandle
  3035. 4:
  3036. AzRoleGetProperty (1)
  3037. 'Name3'
  3038. AzRoleGetProperty (2)
  3039. ''
  3040. AzCloseHandle
  3041. Scope->Role - 'Delete an object that isn't on the tail end of the enum list'
  3042. AzRoleDelete 'Name2'
  3043. AzRoleEnum
  3044. 1:
  3045. AzRoleGetProperty (1)
  3046. 'Name1'
  3047. AzRoleGetProperty (2)
  3048. ''
  3049. AzCloseHandle
  3050. 4:
  3051. AzRoleGetProperty (1)
  3052. 'Name3'
  3053. AzRoleGetProperty (2)
  3054. ''
  3055. AzCloseHandle
  3056. Scope->Role - 'Basic get/set property tests'
  3057. AzRoleCreate 'Name4'
  3058. AzRoleGetProperty (1)
  3059. 'Name4'
  3060. AzRoleGetProperty (2)
  3061. ''
  3062. AzRoleSetProperty 'WasName4' (1)
  3063. AzRoleSetProperty 'Nam4 Desc' (2)
  3064. AzRoleGetProperty (1)
  3065. 'WasName4'
  3066. AzRoleGetProperty (2)
  3067. 'Nam4 Desc'
  3068. AzRoleEnum
  3069. 1:
  3070. AzRoleGetProperty (1)
  3071. 'Name1'
  3072. AzRoleGetProperty (2)
  3073. ''
  3074. AzCloseHandle
  3075. 4:
  3076. AzRoleGetProperty (1)
  3077. 'Name3'
  3078. AzRoleGetProperty (2)
  3079. ''
  3080. AzCloseHandle
  3081. 5:
  3082. AzRoleGetProperty (1)
  3083. 'WasName4'
  3084. AzRoleGetProperty (2)
  3085. 'Nam4 Desc'
  3086. AzCloseHandle
  3087. AzCloseHandle
  3088. Scope->Role - 'Open test'
  3089. AzRoleOpen 'Name1'
  3090. AzRoleGetProperty (1)
  3091. 'Name1'
  3092. AzCloseHandle
  3093. AzRoleOpen 'NameBad' (ERROR_NOT_FOUND)
  3094. AzCloseHandle
  3095. AzCloseHandle
  3096. AzCloseHandle
  3097. Scope->Role - 'Test creating two objects with the same name'
  3098. AzInitialize '.\TestFile' (1)
  3099. AzApplicationCreate 'MyApp'
  3100. AzScopeCreate 'Scope 1'
  3101. AzRoleCreate 'Name1'
  3102. AzRoleCreate 'Name1' (ERROR_ALREADY_EXISTS)
  3103. AzCloseHandle
  3104. AzCloseHandle
  3105. AzCloseHandle
  3106. AzCloseHandle
  3107. Scope->Role - 'Role objects that are children of an application'
  3108. AzInitialize '.\TestFile' (1)
  3109. AzApplicationCreate 'MyApp'
  3110. AzScopeCreate 'Scope 1'
  3111. AzRoleCreate 'Role A'
  3112. Scope->Role - 'Test linking to groups that are children of the same scope object as the role object.'
  3113. Scope->Role->Group - Test linking 'Group' objects to the object named 'Role A' using propid '500'.
  3114. Scope->Role->Group - 'Create some objects to link the object to'
  3115. AzGroupCreate 'Object 1'
  3116. AzCloseHandle
  3117. AzGroupCreate 'Object 2'
  3118. AzCloseHandle
  3119. AzGroupCreate 'Object 3'
  3120. AzCloseHandle
  3121. Scope->Role->Group - 'Reference an object that doesn't exist'
  3122. AzRoleGetProperty (500)
  3123. [INVPARM] ObCommonSetProperty: non set property routine
  3124. AzRoleSetProperty (500) (ERROR_INVALID_PARAMETER)
  3125. AzRoleAddProperty 'random' (500) (ERROR_NOT_FOUND)
  3126. Scope->Role->Group - 'Add and remove several objects'
  3127. AzRoleAddProperty 'Object 2' (500)
  3128. AzRoleGetProperty (500)
  3129. 'Object 2'
  3130. AzRoleAddProperty 'Object 3' (500)
  3131. AzRoleGetProperty (500)
  3132. 'Object 2'
  3133. 'Object 3'
  3134. AzRoleAddProperty 'Object 1' (500)
  3135. AzRoleGetProperty (500)
  3136. 'Object 1'
  3137. 'Object 2'
  3138. 'Object 3'
  3139. AzRoleRemProperty 'Object 1' (500)
  3140. AzRoleGetProperty (500)
  3141. 'Object 2'
  3142. 'Object 3'
  3143. AzRoleRemProperty 'Object 2' (500)
  3144. AzRoleGetProperty (500)
  3145. 'Object 3'
  3146. Scope->Role->Group - 'Add an item that already exists'
  3147. AzRoleAddProperty 'Object 3' (500) (ERROR_ALREADY_EXISTS)
  3148. AzRoleGetProperty (500)
  3149. 'Object 3'
  3150. AzRoleRemProperty 'Object 3' (500)
  3151. AzRoleGetProperty (500)
  3152. Scope->Role->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  3153. AzGroupCreate 'Object 4'
  3154. AzCloseHandle
  3155. AzGroupCreate 'Object 5'
  3156. AzCloseHandle
  3157. AzGroupCreate 'Object 6'
  3158. AzCloseHandle
  3159. AzRoleAddProperty 'Object 1' (500)
  3160. AzRoleAddProperty 'Object 4' (500)
  3161. AzRoleAddProperty 'Object 2' (500)
  3162. AzRoleAddProperty 'Object 5' (500)
  3163. AzRoleAddProperty 'Object 3' (500)
  3164. AzRoleAddProperty 'Object 6' (500)
  3165. AzRoleGetProperty (500)
  3166. 'Object 1'
  3167. 'Object 2'
  3168. 'Object 3'
  3169. 'Object 4'
  3170. 'Object 5'
  3171. 'Object 6'
  3172. AzGroupDelete 'Object 1' (500)
  3173. AzGroupDelete 'Object 4' (500)
  3174. AzGroupDelete 'Object 2' (500)
  3175. AzGroupDelete 'Object 5' (500)
  3176. AzGroupDelete 'Object 3' (500)
  3177. AzGroupDelete 'Object 6' (500)
  3178. Scope->Role - 'Test linking to groups that are children of the same application as the role object.'
  3179. Scope->Role->Group - Test linking 'Group' objects to the object named 'Role A' using propid '500'.
  3180. Scope->Role->Group - 'Create some objects to link the object to'
  3181. AzGroupCreate 'Object 1'
  3182. AzCloseHandle
  3183. AzGroupCreate 'Object 2'
  3184. AzCloseHandle
  3185. AzGroupCreate 'Object 3'
  3186. AzCloseHandle
  3187. Scope->Role->Group - 'Reference an object that doesn't exist'
  3188. AzRoleGetProperty (500)
  3189. [INVPARM] ObCommonSetProperty: non set property routine
  3190. AzRoleSetProperty (500) (ERROR_INVALID_PARAMETER)
  3191. AzRoleAddProperty 'random' (500) (ERROR_NOT_FOUND)
  3192. Scope->Role->Group - 'Add and remove several objects'
  3193. AzRoleAddProperty 'Object 2' (500)
  3194. AzRoleGetProperty (500)
  3195. 'Object 2'
  3196. AzRoleAddProperty 'Object 3' (500)
  3197. AzRoleGetProperty (500)
  3198. 'Object 2'
  3199. 'Object 3'
  3200. AzRoleAddProperty 'Object 1' (500)
  3201. AzRoleGetProperty (500)
  3202. 'Object 1'
  3203. 'Object 2'
  3204. 'Object 3'
  3205. AzRoleRemProperty 'Object 1' (500)
  3206. AzRoleGetProperty (500)
  3207. 'Object 2'
  3208. 'Object 3'
  3209. AzRoleRemProperty 'Object 2' (500)
  3210. AzRoleGetProperty (500)
  3211. 'Object 3'
  3212. Scope->Role->Group - 'Add an item that already exists'
  3213. AzRoleAddProperty 'Object 3' (500) (ERROR_ALREADY_EXISTS)
  3214. AzRoleGetProperty (500)
  3215. 'Object 3'
  3216. AzRoleRemProperty 'Object 3' (500)
  3217. AzRoleGetProperty (500)
  3218. Scope->Role->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  3219. AzGroupCreate 'Object 4'
  3220. AzCloseHandle
  3221. AzGroupCreate 'Object 5'
  3222. AzCloseHandle
  3223. AzGroupCreate 'Object 6'
  3224. AzCloseHandle
  3225. AzRoleAddProperty 'Object 1' (500)
  3226. AzRoleAddProperty 'Object 4' (500)
  3227. AzRoleAddProperty 'Object 2' (500)
  3228. AzRoleAddProperty 'Object 5' (500)
  3229. AzRoleAddProperty 'Object 3' (500)
  3230. AzRoleAddProperty 'Object 6' (500)
  3231. AzRoleGetProperty (500)
  3232. 'Object 1'
  3233. 'Object 2'
  3234. 'Object 3'
  3235. 'Object 4'
  3236. 'Object 5'
  3237. 'Object 6'
  3238. AzGroupDelete 'Object 1' (500)
  3239. AzGroupDelete 'Object 4' (500)
  3240. AzGroupDelete 'Object 2' (500)
  3241. AzGroupDelete 'Object 5' (500)
  3242. AzGroupDelete 'Object 3' (500)
  3243. AzGroupDelete 'Object 6' (500)
  3244. Scope->Role - 'Test linking to SIDs.'
  3245. Scope->Role->Sid - Test linking 'Sid' objects to the object named 'Role A' using propid '501'.
  3246. Scope->Role->Sid - 'Add and remove several links to sids'
  3247. AzRoleAddProperty '' (501)
  3248. AzRoleGetProperty (501)
  3249. 'S-1-1000-2'
  3250. AzRoleAddProperty '' (501)
  3251. AzRoleGetProperty (501)
  3252. 'S-1-1000-2'
  3253. 'S-1-1000-3'
  3254. AzRoleAddProperty '' (501)
  3255. AzRoleGetProperty (501)
  3256. 'S-1-1000-1'
  3257. 'S-1-1000-2'
  3258. 'S-1-1000-3'
  3259. AzRoleRemProperty '' (501)
  3260. AzRoleGetProperty (501)
  3261. 'S-1-1000-2'
  3262. 'S-1-1000-3'
  3263. AzRoleRemProperty '' (501)
  3264. AzRoleGetProperty (501)
  3265. 'S-1-1000-3'
  3266. Scope->Role->Sid - 'Add a link that already exists'
  3267. AzRoleAddProperty '' (501) (ERROR_ALREADY_EXISTS)
  3268. AzRoleGetProperty (501)
  3269. 'S-1-1000-3'
  3270. AzRoleRemProperty '' (501)
  3271. AzRoleGetProperty (501)
  3272. Scope->Role->Sid - 'Try more than 4 since reference buckets come in multiples of 4'
  3273. AzRoleAddProperty '' (501)
  3274. AzRoleAddProperty '' (501)
  3275. AzRoleAddProperty '' (501)
  3276. AzRoleAddProperty '' (501)
  3277. AzRoleAddProperty '' (501)
  3278. AzRoleAddProperty '' (501)
  3279. AzRoleGetProperty (501)
  3280. 'S-1-1000-1'
  3281. 'S-1-1000-2'
  3282. 'S-1-1000-3'
  3283. 'S-1-1000-4'
  3284. 'S-1-1000-5'
  3285. 'S-1-1000-6'
  3286. Scope->Role - 'Test linking to groups that are children of the same admin manager as the role object.'
  3287. Scope->Role->Group - Test linking 'Group' objects to the object named 'Role A' using propid '500'.
  3288. Scope->Role->Group - 'Create some objects to link the object to'
  3289. AzGroupCreate 'Object 1'
  3290. AzCloseHandle
  3291. AzGroupCreate 'Object 2'
  3292. AzCloseHandle
  3293. AzGroupCreate 'Object 3'
  3294. AzCloseHandle
  3295. Scope->Role->Group - 'Reference an object that doesn't exist'
  3296. AzRoleGetProperty (500)
  3297. [INVPARM] ObCommonSetProperty: non set property routine
  3298. AzRoleSetProperty (500) (ERROR_INVALID_PARAMETER)
  3299. AzRoleAddProperty 'random' (500) (ERROR_NOT_FOUND)
  3300. Scope->Role->Group - 'Add and remove several objects'
  3301. AzRoleAddProperty 'Object 2' (500)
  3302. AzRoleGetProperty (500)
  3303. 'Object 2'
  3304. AzRoleAddProperty 'Object 3' (500)
  3305. AzRoleGetProperty (500)
  3306. 'Object 2'
  3307. 'Object 3'
  3308. AzRoleAddProperty 'Object 1' (500)
  3309. AzRoleGetProperty (500)
  3310. 'Object 1'
  3311. 'Object 2'
  3312. 'Object 3'
  3313. AzRoleRemProperty 'Object 1' (500)
  3314. AzRoleGetProperty (500)
  3315. 'Object 2'
  3316. 'Object 3'
  3317. AzRoleRemProperty 'Object 2' (500)
  3318. AzRoleGetProperty (500)
  3319. 'Object 3'
  3320. Scope->Role->Group - 'Add an item that already exists'
  3321. AzRoleAddProperty 'Object 3' (500) (ERROR_ALREADY_EXISTS)
  3322. AzRoleGetProperty (500)
  3323. 'Object 3'
  3324. AzRoleRemProperty 'Object 3' (500)
  3325. AzRoleGetProperty (500)
  3326. Scope->Role->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  3327. AzGroupCreate 'Object 4'
  3328. AzCloseHandle
  3329. AzGroupCreate 'Object 5'
  3330. AzCloseHandle
  3331. AzGroupCreate 'Object 6'
  3332. AzCloseHandle
  3333. AzRoleAddProperty 'Object 1' (500)
  3334. AzRoleAddProperty 'Object 4' (500)
  3335. AzRoleAddProperty 'Object 2' (500)
  3336. AzRoleAddProperty 'Object 5' (500)
  3337. AzRoleAddProperty 'Object 3' (500)
  3338. AzRoleAddProperty 'Object 6' (500)
  3339. AzRoleGetProperty (500)
  3340. 'Object 1'
  3341. 'Object 2'
  3342. 'Object 3'
  3343. 'Object 4'
  3344. 'Object 5'
  3345. 'Object 6'
  3346. AzGroupDelete 'Object 1' (500)
  3347. AzGroupDelete 'Object 4' (500)
  3348. AzGroupDelete 'Object 2' (500)
  3349. AzGroupDelete 'Object 5' (500)
  3350. AzGroupDelete 'Object 3' (500)
  3351. AzGroupDelete 'Object 6' (500)
  3352. Scope->Role->Operation - Test linking 'Operation' objects to the object named 'Role A' using propid '502'.
  3353. Scope->Role->Operation - 'Create some objects to link the object to'
  3354. AzOperationCreate 'Object 1'
  3355. AzCloseHandle
  3356. AzOperationCreate 'Object 2'
  3357. AzCloseHandle
  3358. AzOperationCreate 'Object 3'
  3359. AzCloseHandle
  3360. Scope->Role->Operation - 'Reference an object that doesn't exist'
  3361. AzRoleGetProperty (502)
  3362. [INVPARM] ObCommonSetProperty: non set property routine
  3363. AzRoleSetProperty (502) (ERROR_INVALID_PARAMETER)
  3364. AzRoleAddProperty 'random' (502) (ERROR_NOT_FOUND)
  3365. Scope->Role->Operation - 'Add and remove several objects'
  3366. AzRoleAddProperty 'Object 2' (502)
  3367. AzRoleGetProperty (502)
  3368. 'Object 2'
  3369. AzRoleAddProperty 'Object 3' (502)
  3370. AzRoleGetProperty (502)
  3371. 'Object 2'
  3372. 'Object 3'
  3373. AzRoleAddProperty 'Object 1' (502)
  3374. AzRoleGetProperty (502)
  3375. 'Object 1'
  3376. 'Object 2'
  3377. 'Object 3'
  3378. AzRoleRemProperty 'Object 1' (502)
  3379. AzRoleGetProperty (502)
  3380. 'Object 2'
  3381. 'Object 3'
  3382. AzRoleRemProperty 'Object 2' (502)
  3383. AzRoleGetProperty (502)
  3384. 'Object 3'
  3385. Scope->Role->Operation - 'Add an item that already exists'
  3386. AzRoleAddProperty 'Object 3' (502) (ERROR_ALREADY_EXISTS)
  3387. AzRoleGetProperty (502)
  3388. 'Object 3'
  3389. AzRoleRemProperty 'Object 3' (502)
  3390. AzRoleGetProperty (502)
  3391. Scope->Role->Operation - 'Try more than 4 since reference buckets come in multiples of 4'
  3392. AzOperationCreate 'Object 4'
  3393. AzCloseHandle
  3394. AzOperationCreate 'Object 5'
  3395. AzCloseHandle
  3396. AzOperationCreate 'Object 6'
  3397. AzCloseHandle
  3398. AzRoleAddProperty 'Object 1' (502)
  3399. AzRoleAddProperty 'Object 4' (502)
  3400. AzRoleAddProperty 'Object 2' (502)
  3401. AzRoleAddProperty 'Object 5' (502)
  3402. AzRoleAddProperty 'Object 3' (502)
  3403. AzRoleAddProperty 'Object 6' (502)
  3404. AzRoleGetProperty (502)
  3405. 'Object 1'
  3406. 'Object 2'
  3407. 'Object 3'
  3408. 'Object 4'
  3409. 'Object 5'
  3410. 'Object 6'
  3411. AzOperationDelete 'Object 1' (502)
  3412. AzOperationDelete 'Object 4' (502)
  3413. AzOperationDelete 'Object 2' (502)
  3414. AzOperationDelete 'Object 5' (502)
  3415. AzOperationDelete 'Object 3' (502)
  3416. AzOperationDelete 'Object 6' (502)
  3417. Scope->Role->Scope - Test linking 'Scope' objects to the object named 'Role A' using propid '503'.
  3418. Scope->Role->Scope - 'Create some objects to link the object to'
  3419. AzScopeCreate 'Object 1'
  3420. AzCloseHandle
  3421. AzScopeCreate 'Object 2'
  3422. AzCloseHandle
  3423. AzScopeCreate 'Object 3'
  3424. AzCloseHandle
  3425. Scope->Role->Scope - 'Reference an object that doesn't exist'
  3426. AzRoleGetProperty (503)
  3427. [INVPARM] ObCommonSetProperty: non set property routine
  3428. AzRoleSetProperty (503) (ERROR_INVALID_PARAMETER)
  3429. AzRoleAddProperty 'random' (503) (ERROR_NOT_FOUND)
  3430. Scope->Role->Scope - 'Add and remove several objects'
  3431. AzRoleAddProperty 'Object 2' (503)
  3432. AzRoleGetProperty (503)
  3433. 'Object 2'
  3434. AzRoleAddProperty 'Object 3' (503)
  3435. AzRoleGetProperty (503)
  3436. 'Object 2'
  3437. 'Object 3'
  3438. AzRoleAddProperty 'Object 1' (503)
  3439. AzRoleGetProperty (503)
  3440. 'Object 1'
  3441. 'Object 2'
  3442. 'Object 3'
  3443. AzRoleRemProperty 'Object 1' (503)
  3444. AzRoleGetProperty (503)
  3445. 'Object 2'
  3446. 'Object 3'
  3447. AzRoleRemProperty 'Object 2' (503)
  3448. AzRoleGetProperty (503)
  3449. 'Object 3'
  3450. Scope->Role->Scope - 'Add an item that already exists'
  3451. AzRoleAddProperty 'Object 3' (503) (ERROR_ALREADY_EXISTS)
  3452. AzRoleGetProperty (503)
  3453. 'Object 3'
  3454. AzRoleRemProperty 'Object 3' (503)
  3455. AzRoleGetProperty (503)
  3456. Scope->Role->Scope - 'Try more than 4 since reference buckets come in multiples of 4'
  3457. AzScopeCreate 'Object 4'
  3458. AzCloseHandle
  3459. AzScopeCreate 'Object 5'
  3460. AzCloseHandle
  3461. AzScopeCreate 'Object 6'
  3462. AzCloseHandle
  3463. AzRoleAddProperty 'Object 1' (503)
  3464. AzRoleAddProperty 'Object 4' (503)
  3465. AzRoleAddProperty 'Object 2' (503)
  3466. AzRoleAddProperty 'Object 5' (503)
  3467. AzRoleAddProperty 'Object 3' (503)
  3468. AzRoleAddProperty 'Object 6' (503)
  3469. AzRoleGetProperty (503)
  3470. 'Object 1'
  3471. 'Object 2'
  3472. 'Object 3'
  3473. 'Object 4'
  3474. 'Object 5'
  3475. 'Object 6'
  3476. AzScopeDelete 'Object 1' (503)
  3477. AzScopeDelete 'Object 4' (503)
  3478. AzScopeDelete 'Object 2' (503)
  3479. AzScopeDelete 'Object 5' (503)
  3480. AzScopeDelete 'Object 3' (503)
  3481. AzScopeDelete 'Object 6' (503)
  3482. AzCloseHandle
  3483. AzCloseHandle
  3484. AzCloseHandle
  3485. AzCloseHandle
  3486. NameShare - 'Certain objects can't share names'
  3487. AzInitialize '.\TestFile' (1)
  3488. AzApplicationCreate 'MyApp'
  3489. NameShare - 'Create some tasks and ops as a starting point'
  3490. AzTaskCreate 'Task 1'
  3491. AzCloseHandle
  3492. AzOperationCreate 'Op 1'
  3493. AzCloseHandle
  3494. NameShare - 'Task and operations can't share names'
  3495. AzTaskCreate 'Op 1' (ERROR_ALREADY_EXISTS)
  3496. AzOperationCreate 'Task 1' (ERROR_ALREADY_EXISTS)
  3497. NameShare - 'Create some groups as a starting point'
  3498. AzGroupCreate 'Group Adm'
  3499. AzCloseHandle
  3500. AzGroupCreate 'Group App'
  3501. AzCloseHandle
  3502. NameShare - 'Create an app group that conflicts with an adm group, etc'
  3503. AzGroupCreate 'Group Adm' (ERROR_ALREADY_EXISTS)
  3504. AzGroupCreate 'Group App' (ERROR_ALREADY_EXISTS)
  3505. NameShare - 'Create a scope group'
  3506. AzScopeCreate 'Scope 1'
  3507. AzGroupCreate 'Group Scp'
  3508. AzCloseHandle
  3509. NameShare - 'Create a scope group that conflicts with an adm group, etc'
  3510. AzGroupCreate 'Group Adm' (ERROR_ALREADY_EXISTS)
  3511. AzGroupCreate 'Group App' (ERROR_ALREADY_EXISTS)
  3512. NameShare - 'Create an app/adm group that conflicts with a scope group'
  3513. AzGroupCreate 'Group Scp' (ERROR_ALREADY_EXISTS)
  3514. AzGroupCreate 'Group Scp' (ERROR_ALREADY_EXISTS)
  3515. AzCloseHandle
  3516. AzCloseHandle
  3517. AzCloseHandle
  3518. Persist - 'Ensure objects persist across a close'
  3519. AzInitialize '.\TestFile' (1)
  3520. AzApplicationCreate 'MyApp'
  3521. AzTaskCreate 'Task 1'
  3522. AzOperationCreate 'Op 1'
  3523. AzCloseHandle
  3524. AzCloseHandle
  3525. AzCloseHandle
  3526. AzCloseHandle
  3527. Persist - 'See if they're still there'
  3528. AzInitialize '.\TestFile'
  3529. AzApplicationEnum
  3530. 1:
  3531. AzApplicationGetProperty (1)
  3532. 'MyApp'
  3533. AzCloseHandle
  3534. AzApplicationOpen 'MyApp'
  3535. AzTaskEnum
  3536. 1:
  3537. AzTaskGetProperty (1)
  3538. 'Task 1'
  3539. AzCloseHandle
  3540. AzTaskOpen 'Task 1'
  3541. AzOperationEnum
  3542. 1:
  3543. AzOperationGetProperty (1)
  3544. 'Op 1'
  3545. AzCloseHandle
  3546. AzOperationOpen 'Op 1'
  3547. AzCloseHandle
  3548. AzCloseHandle
  3549. AzCloseHandle
  3550. AzCloseHandle
  3551. Tests completed successfully!