// TEST CODE
var result = internalStorage.AvaliableSpace;
- Assert.IsTrue(result > 0, "Availlable space should be greater than 0");
- Debug(string.Format("Availlable space: {0}", result));
+ Assert.IsTrue(result > 0, "Available space should be greater than 0");
+ Debug(string.Format("Available space: {0}", result));
+ }
+
+ [Test]
+ [Category("P1")]
+ [Description("Checkes if storage.AvailableSpace has positive value")]
+ [Property("SPEC", "Tizen.System.Storage.AvailableSpace A")]
+ [Property("SPEC_URL", "-")]
+ [Property("CRITERIA", "PRO")]
+ [Property("AUTHOR", "Pureum Jung, pr.jung@samsung.com")]
+ public static void AvailableSpace_READ_ONLY()
+ {
+ // PRECONDITION
+ Assert.IsNotNull(internalStorage, "PRECONDITION: Failed to get internal storage for testing.");
+
+ // TEST CODE
+ var result = internalStorage.AvailableSpace;
+ Assert.IsTrue(result > 0, "Available space should be greater than 0");
+ Debug(string.Format("Available space: {0}", result));
}
[Test]