Lines Matching refs:pTest

82 bool testRelToAbs(RelToAbsTest const * pTest, std::size_t nSize)  in testRelToAbs()  argument
89 if (pTest[i].m_pBase) in testRelToAbs()
91 aBase.SetURL(pTest[i].m_pBase); in testRelToAbs()
96 pTest[i].m_pBase ? pTest[i].m_pBase : ""); in testRelToAbs()
101 aBase.GetNewAbsURL(pTest[i].m_pRel, &aAbs); in testRelToAbs()
104 if (!(aTheAbs.Equals(pTest[i].m_pAbs) in testRelToAbs()
105 || pTest[i].m_pAlt && aTheAbs.Equals(pTest[i].m_pAlt))) in testRelToAbs()
107 printf(" BAD GetNewAbsURL %s -> %s (%s)\n", pTest[i].m_pRel, in testRelToAbs()
108 aTheAbs.GetBuffer(), pTest[i].m_pAbs); in testRelToAbs()
115 UniString(pTest[i].m_pRel, RTL_TEXTENCODING_ISO_8859_1))), in testRelToAbs()
117 if (!(aTheAbs.Equals(pTest[i].m_pAbs) in testRelToAbs()
118 || pTest[i].m_pAlt && aTheAbs.Equals(pTest[i].m_pAlt))) in testRelToAbs()
120 printf(" BAD GetAbsURL %s -> %s (%s)\n", pTest[i].m_pRel, in testRelToAbs()
121 aTheAbs.GetBuffer(), pTest[i].m_pAbs); in testRelToAbs()
162 bool testSetFSys(SetFSysTest const * pTest, std::size_t nSize) in testSetFSys() argument
168 if (pTest[i].m_pPath) in testSetFSys()
169 aPath = String::CreateFromAscii(pTest[i].m_pPath); in testSetFSys()
175 INetURLObject aUrl1(aPath, pTest[i].m_eStyle); in testSetFSys()
177 aUrl2.setFSysPath(aPath, pTest[i].m_eStyle); in testSetFSys()
179 equalsAscii(pTest[i].m_pUrl) in testSetFSys()
181 equalsAscii(pTest[i].m_pUrl)) in testSetFSys()
184 toString(pTest[i].m_eStyle), pTest[i].m_pUrl); in testSetFSys()
192 toString(pTest[i].m_eStyle), in testSetFSys()
195 pTest[i].m_pUrl); in testSetFSys()