source: examples/python_tests/alumni3_rt1/alumni3.save @ 34e667d

mei_rt2mei_rt2_fix_1
Last change on this file since 34e667d was f824a9e, checked in by Mei <mei@…>, 12 years ago

1) add more doc to python_tests

  • Property mode set to 100644
File size: 1.1 KB
Line 
1% Restoring file /usr/local/lib/Yap/startup.yss
2
3...final principal set...
4(pBob,keyid,y)
5(pJan,keyid,y)
6(pJoe,keyid,y)
7(pMark,keyid,y)
8(pMaryann,keyid,y)
9(pStateU,keyid,y)
10
11...final policy attribute set...
12pStateU.diploma('mathmatics',1961) <- pBob
13pStateU.diploma('mathmatics',1965) <- pMark
14pStateU.diploma('psychology',1960) <- pJan
15pStateU.diploma('psychology',1962) <- pMaryann
16pStateU.diploma('zoology',1961) <- pJoe
17pStateU.foundingAlumni <- pStateU.diploma(D:['psychology','mathmatics'],Year:[1963,1961,1960])
18
19===good============ stateU.foundingAlumni <- Bob
20YAP query succeed
21pStateU.foundingAlumni <- pStateU.diploma(D:['psychology','mathmatics'],Year:[1963,1961,1960])
22pStateU.diploma('mathmatics',1961) <- pBob
23
24===bad============ stateU.foundingAlumni <- Mark
25YAP query failed
26
27===bad============ stateU.foundingAlumni <- Joe
28YAP query failed
29
30===bad============ stateU.foundingAlumni <- Maryann
31YAP query failed
32
33===good============ stateU.foundingAlumni <- Jan
34YAP query succeed
35pStateU.foundingAlumni <- pStateU.diploma(D:['psychology','mathmatics'],Year:[1963,1961,1960])
36pStateU.diploma('psychology',1960) <- pJan
Note: See TracBrowser for help on using the repository browser.