Lines Matching refs:context
46 TaskContext context; in TEST_F() local
47 context.SetParameter("test_features", ""); in TEST_F()
48 context.SetParameter("test_embedding_names", ""); in TEST_F()
49 context.SetParameter("test_embedding_dims", ""); in TEST_F()
51 ASSERT_TRUE(tefe.Init(&context)); in TEST_F()
56 TaskContext context; in TEST_F() local
60 context.SetParameter("test_features", spec); in TEST_F()
61 context.SetParameter("test_embedding_names", "trigram;quadgram"); in TEST_F()
62 context.SetParameter("test_embedding_dims", "16;24"); in TEST_F()
64 ASSERT_TRUE(tefe.Init(&context)); in TEST_F()
73 TaskContext context; in TEST_F() local
77 context.SetParameter("test_features", spec); in TEST_F()
78 context.SetParameter("test_embedding_names", "trigram"); in TEST_F()
79 context.SetParameter("test_embedding_dims", "16;16"); in TEST_F()
81 ASSERT_FALSE(tefe.Init(&context)); in TEST_F()
85 TaskContext context; in TEST_F() local
89 context.SetParameter("test_features", spec); in TEST_F()
90 context.SetParameter("test_embedding_names", "trigram;quadgram"); in TEST_F()
91 context.SetParameter("test_embedding_dims", "16;16;32"); in TEST_F()
93 ASSERT_FALSE(tefe.Init(&context)); in TEST_F()
97 TaskContext context; in TEST_F() local
101 context.SetParameter("test_features", spec); in TEST_F()
102 context.SetParameter("test_embedding_names", "trigram;quadgram"); in TEST_F()
103 context.SetParameter("test_embedding_dims", "16;16"); in TEST_F()
105 ASSERT_FALSE(tefe.Init(&context)); in TEST_F()
109 TaskContext context; in TEST_F() local
113 context.SetParameter("test_features", spec); in TEST_F()
114 context.SetParameter("test_embedding_names", "trigram;foo"); in TEST_F()
115 context.SetParameter("test_embedding_dims", "16;16"); in TEST_F()
117 ASSERT_FALSE(tefe.Init(&context)); in TEST_F()
121 TaskContext context; in TEST_F() local
125 context.SetParameter("test_features", spec); in TEST_F()
126 context.SetParameter("test_embedding_names", "trigram;script"); in TEST_F()
127 context.SetParameter("test_embedding_dims", "8;16"); in TEST_F()
129 ASSERT_TRUE(tefe.Init(&context)); in TEST_F()