コード例 #1
0
        public void RunAssetValidatorOnProjectAssetsOnly()
        {
            var result = AssetValidatorCI.RunValidation(SceneValidationMode.None,
                                                        OutputFormat.None,
                                                        doValidateProjectAssets: true);

            Assert.True(result.isSuccessful, result.message);
        }
コード例 #2
0
        public void RunAssetValidatorOnProjectAssets_BuildAndAssetBundleScenes()
        {
            var loggerFileName = string.Format("asset_validator_results_{0:h_mm_ss_MM_dd_yyyy}", DateTime.Now);
            var result         = AssetValidatorCI.RunValidation(SceneValidationMode.AllBuildAndAssetBundleScenes,
                                                                OutputFormat.Html,
                                                                doValidateProjectAssets: true,
                                                                fileName: loggerFileName);

            Assert.True(result.isSuccessful, result.message);
        }