Exemplo n.º 1
0
        public void JobsManagerBase_IsUsingSdk_WhenMarkerPresents()
        {
            string markerPath = Path.Combine(_jobDataDir, "webjobssdk.marker");

            File.Create(markerPath).Close();
            Assert.True(JobsManagerBase.IsUsingSdk(_jobDataDir));
        }
Exemplo n.º 2
0
 public void JobsManagerBase_IsNotUsingSdk_WhenMarkerAbsents()
 {
     Assert.False(JobsManagerBase.IsUsingSdk(_jobDataDir));
 }