Ejemplo n.º 1
0
        public void Initialize()
        {
            if (AssetManager.Instance.findAssetsByClass("PlayerProfilingAsset").Count == 0)
            {
#warning change bridge implementation (in UnitTestPlayerProfiler/Bridge.cs) for testing (IDataStoragePath and ILog - logging behaviour)
                //Adding the bridge
                AssetManager.Instance.Bridge = new Bridge();

                //creating the asset
                PlayerProfilingAsset ppa = PlayerProfilingAsset.Instance;
            }
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            AssetManager am = AssetManager.Instance;

            am.Bridge = new Bridge();

            PlayerProfilingAsset ppa = PlayerProfilingAsset.Instance;

            TestPlayProfilingAsset tppa = new TestPlayProfilingAsset();

            tppa.performAllTests();

            Console.WriteLine("Press enter to exit...");
            Console.ReadLine();
        }