Home | History | Annotate | Download | only in test

Lines Matching defs:hdmx_table

38   HorizontalDeviceMetricsTablePtr hdmx_table =
41 EXPECT_FALSE(hdmx_table == NULL);
43 EXPECT_EQ(hdmx_table->Version(), HDMX_VERSION);
44 EXPECT_EQ(hdmx_table->NumRecords(), HDMX_NUM_RECORDS);
45 EXPECT_EQ(hdmx_table->RecordSize(), HDMX_RECORD_SIZE);
48 EXPECT_EQ(hdmx_table->PixelSize(i), HDMX_PIXEL_SIZE[i]);
49 EXPECT_EQ(hdmx_table->MaxWidth(i), HDMX_MAX_WIDTH[i]);
52 EXPECT_EQ(hdmx_table->Width(0, 0), HDMX_MAX_WIDTH[0]);
53 EXPECT_EQ(hdmx_table->Width(0, 19), HDMX_MAX_WIDTH[0]);
54 EXPECT_EQ(hdmx_table->Width(0, 623), HDMX_MAX_WIDTH[0]);
55 EXPECT_EQ(hdmx_table->Width(1, 0), HDMX_MAX_WIDTH[1]);
56 EXPECT_EQ(hdmx_table->Width(1, 19), HDMX_MAX_WIDTH[1]);
57 EXPECT_EQ(hdmx_table->Width(1, 623), HDMX_MAX_WIDTH[1]);
58 EXPECT_EQ(hdmx_table->Width(2, 0), HDMX_MAX_WIDTH[2]);
59 EXPECT_EQ(hdmx_table->Width(2, 19), HDMX_MAX_WIDTH[2]);
60 EXPECT_EQ(hdmx_table->Width(2, 623), HDMX_MAX_WIDTH[2]);
61 EXPECT_EQ(hdmx_table->Width(3, 0), HDMX_MAX_WIDTH[3]);
62 EXPECT_EQ(hdmx_table->Width(3, 19), HDMX_MAX_WIDTH[3]);
63 EXPECT_EQ(hdmx_table->Width(3, 623), HDMX_MAX_WIDTH[3]);
66 EXPECT_EQ(hdmx_table->PixelSize(4), -1);
67 EXPECT_EQ(hdmx_table->PixelSize(-1), -1);
68 EXPECT_EQ(hdmx_table->MaxWidth(4), -1);
69 EXPECT_EQ(hdmx_table->MaxWidth(-1), -1);
70 EXPECT_EQ(hdmx_table->Width(0, 624), -1);
71 EXPECT_EQ(hdmx_table->Width(1, -1), -1);
72 EXPECT_EQ(hdmx_table->Width(-1, 0), -1);
73 EXPECT_EQ(hdmx_table->Width(-1, -1), -1);