// Copyright (c) Microsoft Corporation.  All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information.
// <reference path="ms-appx://$(TargetFramework)/js/WinJS.js" />
// <reference path="ms-appx://$(TargetFramework)/js/en-us/ui.strings.js" />
///<reference path="../../typings/typings.d.ts" />
///<reference path="../TestLib/liveToQ/liveToQ.d.ts" />
///<reference path="../TestLib/winjs.dev.d.ts" />

declare var strings;

module WinJSTests {
    "use strict";

    export class StringsValidation {

        testStrings() {
            Object.keys(strings).forEach(function (k) {
                // Comments are generally _foo.comment strings, validate them differently than other strings.
                if (k.indexOf('.comment') < 0) {
                    var s = WinJS.Resources.getString(k);
                    LiveUnit.Assert.areEqual(s.value, strings[k], k + " is not set correctly");
                } else 

            });
        }
    }
}

LiveUnit.registerTestClass("WinJSTests.StringsValidation");
{
                    var original = k.replace('_', "").replace(".comment", "")
                LiveUnit.Assert.isTrue(strings[original], "real string exists to match comment")
            }