def _CreateExpectations(cls): assert cls._webgl_version == 1 or cls._webgl_version == 2 if cls._webgl_version == 1: return webgl_conformance_expectations.WebGLConformanceExpectations( conformance_path, url_prefixes=url_prefixes_to_trim) else: return webgl2_conformance_expectations.WebGL2ConformanceExpectations( conformance_path, url_prefixes=url_prefixes_to_trim)
def _CreateExpectations(cls): assert cls._webgl_version == 1 or cls._webgl_version == 2 if cls._webgl_version == 1: return webgl_conformance_expectations.WebGLConformanceExpectations( webgl_conformance.conformance_path) else: return webgl2_conformance_expectations.WebGL2ConformanceExpectations( webgl_conformance.conformance_path)
def _CreateExpectations(self): assert self._webgl_version == 1 or self._webgl_version == 2 if self._webgl_version == 1: return webgl_conformance_expectations.WebGLConformanceExpectations( conformance_path) else: return webgl2_conformance_expectations.WebGL2ConformanceExpectations( conformance_path)
def testWebGL2ExpectationsHaveNoCollisions(self): exps = webgl2_conformance_expectations.WebGL2ConformanceExpectations() self.checkConformanceHasNoCollisions(exps)