summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/tests/unit/test_bug677864.js
blob: f92d15fe66003a2b572299b87d3db00895b5e911 (plain)
1
2
3
4
5
6
7
8
9
function check_cl(iface, desc) {
    Assert.equal(iface.QueryInterface(Ci.nsIClassInfo).classDescription, desc);
}

function run_test() {
    check_cl(Ci, 'XPCComponents_Interfaces');
    check_cl(Cc, 'XPCComponents_Classes');
    check_cl(Cr, 'XPCComponents_Results');
}