Lines Matching refs:margins
76 " 'margins': {"
216 " 'margins': {"
273 MarginsCapability margins;
288 EXPECT_FALSE(margins.LoadFrom(description));
319 MarginsCapability margins;
352 margins.AddDefaultOption(Margins(NO_MARGINS, 0, 0, 0, 0), true);
353 margins.AddOption(Margins(STANDARD_MARGINS, 100, 200, 300, 400));
354 margins.AddOption(Margins(CUSTOM_MARGINS, 1, 2, 3, 4));
378 margins.SaveTo(&description);
399 MarginsCapability margins;
413 EXPECT_TRUE(margins.LoadFrom(description));
448 EXPECT_TRUE(margins.Contains(Margins(NO_MARGINS, 0, 0, 0, 0)));
449 EXPECT_TRUE(margins.Contains(Margins(STANDARD_MARGINS, 100, 200, 300, 400)));
450 EXPECT_TRUE(margins.Contains(Margins(CUSTOM_MARGINS, 1, 2, 3, 4)));
451 EXPECT_EQ(Margins(NO_MARGINS, 0, 0, 0, 0), margins.GetDefault());
484 MarginsTicketItem margins;
498 EXPECT_FALSE(margins.LoadFrom(description));
520 MarginsTicketItem margins;
538 margins.set_value(Margins(CUSTOM_MARGINS, 7, 6, 3, 1));
554 margins.SaveTo(&description);
572 MarginsTicketItem margins;
587 EXPECT_TRUE(margins.LoadFrom(description));
603 EXPECT_EQ(margins.value(), Margins(CUSTOM_MARGINS, 7, 6, 3, 1));