keepass2android/src/Kp2aUnitTests/ProgressDialogStub.cs

35 lines
513 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Text;
using keepass2android;
namespace Kp2aUnitTests
{
class ProgressDialogStub : IProgressDialog
{
public void SetTitle(string title)
{
}
public void SetMessage(string resourceString)
{
Kp2aLog.Log("Progress message: " + resourceString);
}
public void Dismiss()
{
Dismissed = true;
}
public void Show()
{
Showed = true;
}
protected bool Showed { get; set; }
public bool Dismissed { get; set; }
}
}