I'm trying to create some tests for my annotator, and the tests aren't working. This seems to be because PsiShortNamesCache is returning no items even when I search for something common (like "List"). This is roughly what I'm doing to initialise my fixture (my code is in Clojure so this is not exact but I think this is the important bit):
factory = IdeaTestFixtureFactory.getFixtureFactory()
builder = factory.createLightFixtureBuilder(new DefaultLightProjectDescriptor())
fixture = builder.getFixture()
testFixture = factory.createCodeInsightFixture(fixture, new LightTempDirTestFixtureImpl(true))
Am I missing a step necessary to index the SDK classes? I thought that registering the DefaultLightProjectDescriptor would take care of that.