Exemple #1
0
 // SetUp
 public ProxyFileTest()
 {
     parentPath       = Path.Combine(Path.GetTempPath(), DynaFile.ToNamespacePath(ClassName));
     parentPathFile   = new DirectoryInfo(parentPath);
     pathToSource     = Path.Combine(Path.GetTempPath(), $"{DynaFile.ToFullPath(ClassName)}.cs");
     pathToSourceFile = new FileInfo(pathToSource);
 }
Exemple #2
0
        public void TestToPackagePath()
        {
            var path = DynaFile.ToNamespacePath("Vlingo.Actors.Startable");

            Assert.Equal($"Vlingo{Path.DirectorySeparatorChar}Actors", path);
        }