private void LoadData()
        {
            using (new StCursor(Cursors.WaitCursor, new TimeSpan(0, 0, 0, 0)))
            {
                _listOfJenisPengeluaran = _bll.GetAll();
            }

            ResetButton();
        }
        public void GetAllTest()
        {
            var index = 4;
            var oList = _bll.GetAll();
            var obj   = oList[index];

            Assert.IsNotNull(obj);
            Assert.AreEqual("1619f95e-eac3-40e9-ba8a-af2230d3c470", obj.jenis_pengeluaran_id);
            Assert.AreEqual("Biaya Lain Lain Penjualan", obj.nama_jenis_pengeluaran);
        }
Exemple #3
0
        public void GetAllTest()
        {
            var index = 1;
            var oList = _bll.GetAll();
            var obj   = oList[index];

            Assert.IsNotNull(obj);
            Assert.AreEqual("40bc64d4-9671-4220-a119-dfeb1c0adbc0", obj.jenis_pengeluaran_id);
            Assert.AreEqual("Biaya Ambil Jagung", obj.nama_jenis_pengeluaran);
        }