This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Mango; | |
using Mango.Templates.Minge; | |
namespace MangoProject { | |
public class MangoProject : MangoApp { | |
public override void OnStartup () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "base.html" %} | |
{% block title %}About Mango{% endblock %} | |
{% block content %} | |
{{ message }} | |
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | |
<html> <head> | |
<title></title> | |
</head> | |
<body> | |
<h1>{% block title %}{% endblock %}</h1> | |
{% block content %} | |
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Mango; | |
using Mango.Templates.Minge; | |
namespace MangoProject { | |
// | |
// A mango application is made of MangoModules and MangoApps | |
// There really isn't any difference between a Module and an App |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Mango; | |
using Mango.Templates.Minge; | |
namespace MangoProject { | |
// | |
// A mango application is made of MangoModules and MangoApps | |
// There really isn't any difference between a Module and an App | |
// except that the server will load the MangoApp first. A mango | |
// application can only have one MangoApp, but as many MangoModules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Test()] | |
public void TestCtorInvalidMethod () | |
{ | |
string name = "tester"; | |
string [] patterns = new string [] { "foo", "bar" }; | |
string [] methods = new string [] { "GET", "PUT", "SKULLFUCK" }; | |
Assert.Throws<ArgumentException> (() => new RouteHandler (name, patterns, methods)); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jackson@linux-is9q:~/Projects/mono/moon> git pull --rebase | |
refusing to pull with rebase: your working tree is not up-to-date | |
jackson@linux-is9q:~/Projects/mono/moon> git pull | |
Already up-to-date. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/main/src/addins/NUnit/NUnitRunner/NUnitTestRunner.cs b/main/src/addins/NUnit/NUnitRunner/NUnitTestRunner.cs | |
index 8980ec3..a481ebf 100644 | |
--- a/main/src/addins/NUnit/NUnitRunner/NUnitTestRunner.cs | |
+++ b/main/src/addins/NUnit/NUnitRunner/NUnitTestRunner.cs | |
@@ -153,7 +153,7 @@ namespace MonoDevelop.NUnit.External | |
public bool Pass (ITest test) | |
{ | |
- if ((test is global::NUnit.Core.TestCase) && test.TestName.FullName == name) | |
+ if (IsTestFixture (test) && test.TestName.FullName == name) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// if the textblock is in a managed control like the grid, | |
// its legal to set FontWeights with an int. | |
// | |
Grid grid = XamlReader.Load (@"<Grid xmlns=""http://schemas.microsoft.com/winfx/2006/xaml/presentation"" | |
xmlns:x=""http://schemas.microsoft.com/winfx/2006/xaml""> | |
<TextBlock x:Name=""the_box"" FontWeight=""600"" /> | |
</Grid>") as Grid; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.NullReferenceException: Object reference not set to an instance of an object | |
at System.Windows.FrameworkElementExtensions.IsInVisualTree (System.Windows.FrameworkElement thisObject) [0x00000] in <filename unknown>:0 | |
at Microsoft.Pivot.Internal.Controls.NestableButton.OnUnloaded (System.Object sender, System.Windows.RoutedEventArgs e) [0x00000] in <filename unknown>:0 | |
at Mono.Events+<CreateRoutedEventHandlerDispatcher>c__AnonStoreyB.<>m__9 (IntPtr sender, IntPtr calldata, IntPtr closure) [0x00007] in Events.cs:135 | |
at Mono.Events+<SafeDispatcher>c__AnonStorey2+<SafeDispatcher>c__AnonStorey3.<>m__27 () [0x00000] in Events.cs:70 | |
at Mono.Events.SafeAction (System.Action action) [0x00000] in Events.cs:56 |