Exemplo n.º 1
0
        public static void RunAll()
        {
            SemanticUIElements.RegisterToBuilder();
            SplitJsElements.RegisterToBuilder();
            CodeMirrorElements.RegisterToBuilder();
            ViewerJsElements.RegisterToBuilder();
            SwiperElements.RegisterToBuilder();

            CastTest.Register();
            RandomValueTest.Register();
            JsonSerializerTest.Register();
            RangeTest.Register();

            QUnit.QUnit.Test(nameof(BindingTests), BindingTests);

            QUnit.QUnit.Test(nameof(BindingInfoTest2), BindingInfoTest2.RunAll);

            QUnit.QUnit.Test(nameof(BuilderTest), BuilderTest);

            QUnit.QUnit.Test(nameof(ContentControlTest), ContentControlTest.AssingStringValueToContent);

            QUnit.QUnit.Test(nameof(RunOldTests), RunOldTests);

            ComboTest.RegisterAll();
        }
Exemplo n.º 2
0
        public static void Init()
        {
            SemanticUIElements.RegisterToBuilder();
            SplitJsElements.RegisterToBuilder();
            CodeMirrorElements.RegisterToBuilder();
            UIBuilder.Register("XmlEditor", () => new XmlEditor());
            ViewerJsElements.RegisterToBuilder();
            SwiperElements.RegisterToBuilder();

            jQuery.Ready(RenderUIEditor);
        }