public void Combine_06() { Assert.Throws <ArgumentOutOfRangeException>(() => { var created = BCFv21Container.GetAbsolutePath("123456", "../../example.jpg"); }); }
public void Combine_07() { var created = BCFv21Container.GetAbsolutePath("123456", "789/example.jpg"); Assert.Equal("123456/789/example.jpg", created); }
public void OnlyBasePath_02() { var created = BCFv21Container.GetAbsolutePath("SomePath/SomeOther", null); Assert.Equal("SomePath/SomeOther", created); }
public void Combine_05b() { var created = BCFv21Container.GetAbsolutePath("123456/789/abc/def", "../../../example.jpg"); Assert.Equal("123456/example.jpg", created); }
public void EmptyOnEmptyInput_03() { var created = BCFv21Container.GetAbsolutePath(string.Empty, null); Assert.True(string.IsNullOrWhiteSpace(created)); }