(self)
| 77 | return value |
| 78 | |
| 79 | def checkDbms(self): |
| 80 | if not conf.extensiveFp and Backend.isDbmsWithin(CACHE_ALIASES): |
| 81 | setDbms(DBMS.CACHE) |
| 82 | |
| 83 | self.getBanner() |
| 84 | |
| 85 | return True |
| 86 | |
| 87 | infoMsg = "testing %s" % DBMS.CACHE |
| 88 | logger.info(infoMsg) |
| 89 | |
| 90 | result = inject.checkBooleanExpression("$LISTLENGTH(NULL) IS NULL") |
| 91 | |
| 92 | if result: |
| 93 | infoMsg = "confirming %s" % DBMS.CACHE |
| 94 | logger.info(infoMsg) |
| 95 | |
| 96 | result = inject.checkBooleanExpression("%EXTERNAL %INTERNAL NULL IS NULL") |
| 97 | |
| 98 | if not result: |
| 99 | warnMsg = "the back-end DBMS is not %s" % DBMS.CACHE |
| 100 | logger.warning(warnMsg) |
| 101 | |
| 102 | return False |
| 103 | |
| 104 | setDbms(DBMS.CACHE) |
| 105 | |
| 106 | self.getBanner() |
| 107 | |
| 108 | return True |
| 109 | else: |
| 110 | warnMsg = "the back-end DBMS is not %s" % DBMS.CACHE |
| 111 | logger.warning(warnMsg) |
| 112 | |
| 113 | return False |
nothing calls this directly
no test coverage detected