mirror of
https://github.com/RaindropViewer/RaindropViewer.git
synced 2026-07-27 22:11:39 +00:00
ImagingTests: OneTimeSetUp + OneTimeTearDown
This commit is contained in:
committed by
alexiscatnip
parent
3308e2d410
commit
a824604dcf
@@ -18,13 +18,19 @@ namespace Tests.Raindrop
|
||||
public static string _inputImageSubPath = "test/menhara.jp2";
|
||||
|
||||
[OneTimeSetUp]
|
||||
public void setup()
|
||||
public void OneTimeSetUp()
|
||||
{
|
||||
BetterStreamingAssets.Initialize(); //fuck, this is easy to forget.
|
||||
instance = new RaindropInstance(new GridClient());
|
||||
clientDir = instance.ClientDir;
|
||||
}
|
||||
|
||||
[OneTimeTearDown]
|
||||
public void OneTimeTearDown()
|
||||
{
|
||||
instance.CleanUp();
|
||||
}
|
||||
|
||||
//can read the image data from path.
|
||||
[Test]
|
||||
public void readBytes_ImagePath()
|
||||
|
||||
Reference in New Issue
Block a user