Lines Matching refs:e
30 FqInstance e; in TEST_F() local
31 ASSERT_TRUE(e.setTo("android.hardware.foo@1.0::IFoo/instance")); in TEST_F()
32 EXPECT_EQ("android.hardware.foo@1.0::IFoo/instance", e.string()); in TEST_F()
33 ASSERT_TRUE(e.hasPackage()); in TEST_F()
34 EXPECT_EQ("android.hardware.foo", e.getPackage()); in TEST_F()
35 ASSERT_TRUE(e.hasVersion()); in TEST_F()
36 EXPECT_EQ(1u, e.getMajorVersion()); in TEST_F()
37 EXPECT_EQ(0u, e.getMinorVersion()); in TEST_F()
38 EXPECT_EQ((std::make_pair<size_t, size_t>(1u, 0u)), e.getVersion()); in TEST_F()
39 ASSERT_TRUE(e.hasInterface()); in TEST_F()
40 EXPECT_EQ("IFoo", e.getInterface()); in TEST_F()
41 ASSERT_TRUE(e.hasInstance()); in TEST_F()
42 EXPECT_EQ("instance", e.getInstance()); in TEST_F()
46 FqInstance e; in TEST_F() local
47 ASSERT_TRUE(e.setTo("@1.0::IFoo/instance")); in TEST_F()
48 EXPECT_EQ("@1.0::IFoo/instance", e.string()); in TEST_F()
49 ASSERT_FALSE(e.hasPackage()); in TEST_F()
50 ASSERT_TRUE(e.hasVersion()); in TEST_F()
51 EXPECT_EQ((std::make_pair<size_t, size_t>(1u, 0u)), e.getVersion()); in TEST_F()
52 ASSERT_TRUE(e.hasInterface()); in TEST_F()
53 EXPECT_EQ("IFoo", e.getInterface()); in TEST_F()
54 ASSERT_TRUE(e.hasInstance()); in TEST_F()
55 EXPECT_EQ("instance", e.getInstance()); in TEST_F()
59 FqInstance e; in TEST_F() local
60 ASSERT_TRUE(e.setTo("IFoo/instance")); in TEST_F()
61 EXPECT_EQ("IFoo/instance", e.string()); in TEST_F()
62 ASSERT_FALSE(e.hasPackage()); in TEST_F()
63 ASSERT_FALSE(e.hasVersion()); in TEST_F()
64 ASSERT_TRUE(e.hasInterface()); in TEST_F()
65 EXPECT_EQ("IFoo", e.getInterface()); in TEST_F()
66 ASSERT_TRUE(e.hasInstance()); in TEST_F()
67 EXPECT_EQ("instance", e.getInstance()); in TEST_F()
71 FqInstance e; in TEST_F() local
76 ASSERT_TRUE(e.setTo(testString)); in TEST_F()
77 EXPECT_EQ(testString, e.string()); in TEST_F()
78 ASSERT_FALSE(e.hasInstance()); in TEST_F()
83 FqInstance e; in TEST_F() local
84 ASSERT_TRUE(e.setTo("Type")); in TEST_F()
85 EXPECT_EQ("Type", e.string()); in TEST_F()
86 ASSERT_FALSE(e.hasInstance()); in TEST_F()
90 FqInstance e; in TEST_F() local
91 ASSERT_TRUE(e.setTo("android.hardware.foo", 1, 0, "IFoo", "default")); in TEST_F()
92 EXPECT_EQ("android.hardware.foo@1.0::IFoo/default", e.string()); in TEST_F()
93 ASSERT_TRUE(e.setTo("android.hardware.foo", 1, 0, "IFoo")); in TEST_F()
94 EXPECT_EQ("android.hardware.foo@1.0::IFoo", e.string()); in TEST_F()
95 ASSERT_TRUE(e.setTo("android.hardware.foo", 1, 0)); in TEST_F()
96 EXPECT_EQ("android.hardware.foo@1.0", e.string()); in TEST_F()
97 ASSERT_TRUE(e.setTo(1, 0, "IFoo", "default")); in TEST_F()
98 EXPECT_EQ("@1.0::IFoo/default", e.string()); in TEST_F()
99 ASSERT_TRUE(e.setTo(1, 0, "IFoo")); in TEST_F()
100 EXPECT_EQ("@1.0::IFoo", e.string()); in TEST_F()
101 ASSERT_TRUE(e.setTo("IFoo", "default")); in TEST_F()
102 EXPECT_EQ("IFoo/default", e.string()); in TEST_F()