(file) Return to schema.mof CVS log (file) (dir) Up to [OMI] / omi / unittest / genoptions

File: [OMI] / omi / unittest / genoptions / Attic / schema.mof (download)
Revision: 1.1.1.1 (vendor branch), Wed May 30 21:47:39 2012 UTC (12 years, 1 month ago) by mike
Branch: TOG
CVS Tags: OMI_1_0_2_Branch, OMI_1_0_2, OMI_1_0_1_PRE, OMI_1_0_1, OMI_1_0_0
Changes since 1.1: +0 -0 lines
Initial Import

// test file for qualifiers
// this mof file declares dirretne types of qualifiers and test 
// progam verifies if they are actually in  schema.c

// test checks that (based on options):
// standard qualifiers are generated 
// boolean qualifiers are generated (TestQ_B, counter)
// Description is generated
// custom string qualifier is generated (TestQ_S)

Qualifier TestQ_B : boolean = true, 
    Scope(class, association, indication, method, property), 
    Flavor(EnableOverride, Restricted);

Qualifier TestQ_S : string = "SSS", 
    Scope(class, association, indication, method, property), 
    Flavor(EnableOverride, Restricted);

[Description ( "DDD" )]
class Test 
{
    [Key, TestQ_B(false), TestQ_S("123")] uint32 kv;
    
    [static] uint64 Foo([out, emBeddedObject] string embeddedProperty, [counter]uint32 c);
};



ViewCVS 0.9.2