define(function(require,exports,module){var SpecRunnerUtils=brackets.getModule("spec/SpecRunnerUtils"),CSSAtRuleCodeHints=require("main");describe("CSS '@' rules Code Hinting",function(){var defaultContent="@ { \n} \n \n@m ",testDocument,testEditor;function setupTest(content,languageId){var mock=SpecRunnerUtils.createMockEditor(content,languageId);testDocument=mock.doc,testEditor=mock.editor}function tearDownTest(){SpecRunnerUtils.destroyMockEditor(testDocument),testEditor=null,testDocument=null}function expectHints(provider,implicitChar,returnWholeObj){expect(provider.hasHints(testEditor,implicitChar)).toBe(!0);var hintsObj=provider.getHints();return expect(hintsObj).toBeTruthy(),returnWholeObj?hintsObj:hintsObj.hints}function expectNoHints(provider,implicitChar){expect(provider.hasHints(testEditor,implicitChar)).toBe(!1)}function verifyListsAreIdentical(hintList,values){var i;for(expect(hintList.length).toBe(values.length),i=0;i