source: src/lib/util/state/statetest.in@ 97a6bc

Last change on this file since 97a6bc was 5d30c1, checked in by Frederik Heber <heber@…>, 13 years ago

Initial commit based on 3.0.0alpha (here claimed as 2.4).

  • simply added all files.
  • Property mode set to 100644
File size: 887 bytes
RevLine 
[5d30c1]1% -*- KeyVal -*-
2
3x = 1
4y = 3.0
5
6test: (
7 object_a<A>: (
8 a = 4
9 )
10 object_b<B>: (
11 A: a = 111
12 b = 121
13 )
14 object_d<D>: (
15 B: (
16 A: a = 11
17 b = 12
18 )
19 C: (
20 c = 13
21 )
22 di = 14
23 df = 4.1
24 dd = 8.2
25 dc = d
26 da = $:test:object_b
27 db = $:test:object_b
28 )
29 object = $object_d
30 )
31
32
33test2: (
34 statein<StateInBin>: (
35 file = "statetest.a.out"
36 )
37 proxy1<SavableStateProxy>: (
38 statein = $..:statein
39 object = "D"
40 override: (
41 di = 10
42 df = 4.111
43 dd = 8.222
44 dc = X
45 d = 9.22
46 da: (
47 d = 3.45
48 a = 9
49 )
50 )
51 )
52 proxy2<SavableStateProxy>: (
53 statein = $..:statein
54 object = "D"
55 % note that this override is ignored, since proxy1's overrides are used
56 % because it is read first
57 override: (
58 d = 11
59 )
60 )
61)
Note: See TracBrowser for help on using the repository browser.