Ejemplo n.º 1
0
                public void PullsVersionAttributeInstead()
                {
                    var task = new Build.NuSpecUpdateTask();
                    task.SpecFile = this.FileName;
                    task.SourceAssemblyFile = "RestSharp.Tests.dll";
                    task.Execute();

                    Assert.Equal("1.0.0.0", task.Version);
                }                
Ejemplo n.º 2
0
                public void PullsVersionAttributeInstead()
                {
                    var task = new Build.NuSpecUpdateTask();

                    task.SpecFile           = this.FileName;
                    task.SourceAssemblyFile = "RestSharp.Tests.dll";
                    task.Execute();

                    Assert.Equal("1.0.0.0", task.Version);
                }
Ejemplo n.º 3
0
                public void PullsVersionAttributeInstead()
                {
                    Build.NuSpecUpdateTask task = new Build.NuSpecUpdateTask
                    {
                        SpecFile           = FileName,
                        SourceAssemblyFile = "RestSharp.Tests.dll"
                    };

                    task.Execute();

                    Assert.AreEqual("1.0.0.0", task.Version);
                }
Ejemplo n.º 4
0
                public void PullsVersionAttributeInstead()
                {
                    Build.NuSpecUpdateTask task = new Build.NuSpecUpdateTask
                                                  {
                                                      SpecFile = FileName,
                                                      SourceAssemblyFile = "RestSharp.Tests.dll"
                                                  };

                    task.Execute();

                    Assert.AreEqual("1.0.0.0", task.Version);
                }
Ejemplo n.º 5
0
                public void ReturnsFalse()
                {
                    Build.NuSpecUpdateTask task = new Build.NuSpecUpdateTask();

                    Assert.False(task.Execute());
                }
Ejemplo n.º 6
0
                public void ReturnsFalse()
                {
                    Build.NuSpecUpdateTask task = new Build.NuSpecUpdateTask();

                    Assert.False(task.Execute());
                }