Lines Matching refs:contextFactory
40 ContextFactory* contextFactory = new ContextFactory(10);
41 contextFactory->produce("/");
42 contextFactory->produce("ab/c");
43 ASSERT_TRUE(2 == contextFactory->size());
44 delete contextFactory;
48 ContextFactory* contextFactory = new ContextFactory(10);
49 LDContext* context1 = contextFactory->produce("/");
50 contextFactory->produce("ab/c");
51 ASSERT_TRUE(2 == contextFactory->size());
52 LDContext* context2 = contextFactory->produce("/");
54 delete contextFactory;
58 ContextFactory* contextFactory = new ContextFactory(10);
59 LDContext* context1 = contextFactory->produce("abc/def");
60 contextFactory->produce("ab/c");
61 ASSERT_TRUE(2 == contextFactory->size());
62 LDContext* context2 = contextFactory->produce("ttt/../abc/def");
64 delete contextFactory;