All files / run/cloud_picture/domain_layer/repo POConfigCPRepo.bs.js

100% Statements 27/27
100% Branches 0/0
100% Functions 10/10
100% Lines 27/27

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92    31x 31x     238x       225x 225x                   238x       88x 88x                   238x       88x 88x                   238x       88x 88x                   246x       91x 91x                 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x    
'use strict';
 
var CPRepo$Wonderjs = require("../../infrastructure_layer/data/container/CPRepo.bs.js");
var POConfigCPRepoDp$Wonderjs = require("../../infrastructure_layer/dependency/repo/POConfigCPRepoDp.bs.js");
 
function getTransformCount(param) {
  return POConfigCPRepoDp$Wonderjs.getTransformCount(undefined);
}
 
function setTransformCount(transformCount) {
  var init = CPRepo$Wonderjs.getPOConfig(undefined);
  return CPRepo$Wonderjs.setPOConfig({
              transformCount: transformCount,
              geometryPointCount: init.geometryPointCount,
              geometryCount: init.geometryCount,
              pbrMaterialCount: init.pbrMaterialCount,
              directionLightCount: init.directionLightCount
            });
}
 
function getPBRMaterialCount(param) {
  return POConfigCPRepoDp$Wonderjs.getPBRMaterialCount(undefined);
}
 
function setPBRMaterialCount(pbrMaterialCount) {
  var init = CPRepo$Wonderjs.getPOConfig(undefined);
  return CPRepo$Wonderjs.setPOConfig({
              transformCount: init.transformCount,
              geometryPointCount: init.geometryPointCount,
              geometryCount: init.geometryCount,
              pbrMaterialCount: pbrMaterialCount,
              directionLightCount: init.directionLightCount
            });
}
 
function getGeometryPointCount(param) {
  return POConfigCPRepoDp$Wonderjs.getGeometryPointCount(undefined);
}
 
function setGeometryPointCount(geometryPointCount) {
  var init = CPRepo$Wonderjs.getPOConfig(undefined);
  return CPRepo$Wonderjs.setPOConfig({
              transformCount: init.transformCount,
              geometryPointCount: geometryPointCount,
              geometryCount: init.geometryCount,
              pbrMaterialCount: init.pbrMaterialCount,
              directionLightCount: init.directionLightCount
            });
}
 
function getGeometryCount(param) {
  return POConfigCPRepoDp$Wonderjs.getGeometryCount(undefined);
}
 
function setGeometryCount(geometryCount) {
  var init = CPRepo$Wonderjs.getPOConfig(undefined);
  return CPRepo$Wonderjs.setPOConfig({
              transformCount: init.transformCount,
              geometryPointCount: init.geometryPointCount,
              geometryCount: geometryCount,
              pbrMaterialCount: init.pbrMaterialCount,
              directionLightCount: init.directionLightCount
            });
}
 
function getDirectionLightCount(param) {
  return POConfigCPRepoDp$Wonderjs.getDirectionLightCount(undefined);
}
 
function setDirectionLightCount(directionLightCount) {
  var init = CPRepo$Wonderjs.getPOConfig(undefined);
  return CPRepo$Wonderjs.setPOConfig({
              transformCount: init.transformCount,
              geometryPointCount: init.geometryPointCount,
              geometryCount: init.geometryCount,
              pbrMaterialCount: init.pbrMaterialCount,
              directionLightCount: directionLightCount
            });
}
 
exports.getTransformCount = getTransformCount;
exports.setTransformCount = setTransformCount;
exports.getPBRMaterialCount = getPBRMaterialCount;
exports.setPBRMaterialCount = setPBRMaterialCount;
exports.getGeometryPointCount = getGeometryPointCount;
exports.setGeometryPointCount = setGeometryPointCount;
exports.getGeometryCount = getGeometryCount;
exports.setGeometryCount = setGeometryCount;
exports.getDirectionLightCount = getDirectionLightCount;
exports.setDirectionLightCount = setDirectionLightCount;
/* CPRepo-Wonderjs Not a pure module */