Lines Matching refs:info

52 void printInfo(const JavaInfo& info);
81 JavaInfo info(OUSTR("file:///d:/java/j2sdk1.4.1_01")); in test_constructor1() local
85 printInfo(info); in test_constructor1()
107 JavaInfo info= JavaInfo(OUString(), 0); in test_constructor2() local
115 JavaInfo info= JavaInfo(OUString(), JavaInfo::Accessibility); in test_constructor2() local
116 arRet[i++]= info.supportsAccessibility(); in test_constructor2()
123 JavaInfo info(OUString(OUSTR(JAVA_VERSION)), JavaInfo::EqualVersion); in test_constructor2() local
124 arRet[i++]= info.compareVersions(a) == 0; in test_constructor2()
130 JavaInfo info(OUString(OUSTR(JAVA_VERSION)), 0); in test_constructor2() local
131 arRet[i++]= info.compareVersions(a) == 0; in test_constructor2()
138 … JavaInfo info(OUString(OUSTR(JAVA_VERSION)), JavaInfo::EqualVersion | JavaInfo::GreaterVersion); in test_constructor2() local
139 arRet[i++]= info.compareVersions(a) >= 0; in test_constructor2()
145 … JavaInfo info(OUString(OUSTR(JAVA_VERSION)), JavaInfo::EqualVersion | JavaInfo::SmallerVersion); in test_constructor2() local
146 arRet[i++]= info.compareVersions(a) <= 0; in test_constructor2()
152 JavaInfo info(OUString(OUSTR(JAVA_VERSION)), JavaInfo::SmallerVersion); in test_constructor2() local
153 arRet[i++]= info.compareVersions(a) < 0; in test_constructor2()
159 JavaInfo info(OUString(OUSTR(JAVA_VERSION)), JavaInfo::GreaterVersion); in test_constructor2() local
160 arRet[i++]= info.compareVersions(a) > 0; in test_constructor2()
167 … JavaInfo info(OUString(OUSTR(JAVA_VERSION)), JavaInfo::EqualVersion | JavaInfo::SmallerVersion in test_constructor2() local
169 arRet[i++]= info.compareVersions(a) <= 0 && info.supportsAccessibility(); in test_constructor2()
175 … JavaInfo info(OUString(OUSTR(JAVA_VERSION)), JavaInfo::GreaterVersion | JavaInfo::Accessibility); in test_constructor2() local
176 arRet[i++]= info.compareVersions(a) > 0 && info.supportsAccessibility(); in test_constructor2()
296 JavaInfo info= JavaInfo::createBestInfo(false); in test_createBestInfo() local
297 printInfo(info); in test_createBestInfo()
340 JavaInfo info(OUString(OUSTR("1.3.1")), JavaInfo::GreaterVersion | JavaInfo::EqualVersion ); in test_getJarFilePath() local
341 OUString s= info.getJarFilePath(OUSTR("javaplugin.jar")); in test_getJarFilePath()
349 void printInfo(const JavaInfo& info) in printInfo() argument
351 OUString usVersion= info.getVersion(); in printInfo()
353 OUString usHome= info.getInstallationLocation(); in printInfo()
355 OUString usType= info.getType(); in printInfo()
357 OUString usLib= info.getRuntimeLibLocation(); in printInfo()
359 OUString usLibLocation= info.getLibLocations(); in printInfo()
361 sal_Bool baccess= info.supportsAccessibility(); in printInfo()